Answer the question
In order to leave comments, you need to log in
php preg_match multiple pattern how to do?
required for preg_match to apply a lot of patterns. i.e. something like this
preg_match(array("/video_url:( |)('|\")(?<video_url>.*?)('|\")/ui", "/postfix:( |)('|\")(?<video_url>.*?)('|\")/ui"...), $data, $out);
Answer the question
In order to leave comments, you need to log in
Do you want to put 100 regexps in one?
What will you do with it then?
Why not just check one by one?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question