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 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); } Link to comment https://forums.phpfreaks.com/topic/161275-preg_match_all-question/#findComment-851005 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.