Greetings All!
I'm trying to use preg_match_all to match everything within a pagefull of data that starts with a "ps(" and ends with a ");"
There will be multiple lines of data that should match this. In other words, I'll have several rows, each starting with a "ps(" and ending with a ");" within the variable "$code".
I wanted to check my syntax, as I always have problems with syntax when I try to use preg_match - like functions.
Would it be:
preg_match_all("/ps((.*?));/si",$code, $rows_found_on_page);
??
Thanks!!
-= Dave =-