Im trying to crape html and grab items between <tr> tags. Some of the tags are coming through as uppercase for some reason ( <TR> ) and are being ignored by my pattern. How can i tell my pattern to ignore case.
My current pattern is:
preg_match_all("|<tr(.*)</tr>|U",$table,$rows);
You’ll need to use the
imodifierDOCS: