Hi all guys!
still on regex! ;-)))
Assuming we have an html file with a lot of <tr>
rows with same structure like this below, where (.*?)
is the content i need to extract!
<tr align=center><th width=5%><a OnClick="(.*?)"href=#>(.*?)</a><td width=5%>(.*?)<td width=5% align=center >(.*?)</td></tr>
UPDATED
maybe with a nice preg_match_all() ?
i need something like this result
match[0] . match[1] . match[2] . match[3]
just in case someone need someting similar!
THE SOLUTION to my little problem is
/<a\s*OnClick=\"(.*?)\"href=#>(.*?)<\/a><td[^>]+>(.*?)<td[^>]+>(.*?)<\/td><\/tr>/m
thanks for the time!
Luca Filosofi!