Hey I want help to extract from this code <td width=165 valign=top style='padding-bottom:2px;'> <a class=s target=_blank href='http://www.example.com/42432423'>Example Text</a></td> <td width=35></td> Code (markup): Want to extract code : 42432423 text : Example Text that's all much appreciate your help. thanks
Im not very good in regex but here's a try '!http:\/\/www.example.com/([0-9])+\'>\[a-zA-z-0-9 ]\<\/a\>!ism'; Try this
@Demonic; i told the ts already that i suck at this, but what the hell, just giving it a try! your example is indeed very much better than mine (got to learn from it). B.t.w wheres the part in [a-zA-Z0-9-_] wich allows a space?
I updated him via pm: @\<a[^>]+href=\'http\:\/\/www\.redtube\.com\/(\d+)\'>([a-zA-Z0-9-_ ]+)\<\/a\>@isU Code (markup): Btw you didn't escape the "." periods, that means MATCH ALL in the regular expression syntax .