Garethp Posted June 7, 2009 Share Posted June 7, 2009 Ok, so I want to execute a preg_match_all on an array. How do I do that? Sorry people, I haven't used preg_match_all in a while Quote Link to comment https://forums.phpfreaks.com/topic/161275-preg_match_all-question/ Share on other sites More sharing options...
.josh Posted June 7, 2009 Share Posted June 7, 2009 foreach($array as $value) { preg_match_all(pattern,$value,match); } Quote Link to comment https://forums.phpfreaks.com/topic/161275-preg_match_all-question/#findComment-851005 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.