I Ik Quality //VIP Member VIP ★ 15 ★ Impact 8 Nov 1, 2009 597 views 4 replies #1 I seem to be dumb when it comes to RE! Can someone help me write a reg exp that finds the following? Code: » <a href="whatever goes here">Home</a> Thanks
I seem to be dumb when it comes to RE! Can someone help me write a reg exp that finds the following? Code: » <a href="whatever goes here">Home</a> Thanks
I Ik Quality //VIP Member VIP ★ 15 ★ Impact 8 Nov 1, 2009 #3 averge said: /» <a href="(.*)">Home</a>/ try? Click to expand... Hey man, It gives an error Code: Warning: preg_replace() [function.preg-replace]: Unknown modifier 'a'
averge said: /» <a href="(.*)">Home</a>/ try? Click to expand... Hey man, It gives an error Code: Warning: preg_replace() [function.preg-replace]: Unknown modifier 'a'
pixelbypixel Established Member ★ 15 ★ Impact 38 Nov 1, 2009 #4 averge said: /» <a href="(.*)">Home<\/a>/ Click to expand... try that, need to escape the /a with a \
averge said: /» <a href="(.*)">Home<\/a>/ Click to expand... try that, need to escape the /a with a \
I Ik Quality //VIP Member VIP ★ 15 ★ Impact 8 Nov 1, 2009 #5 NVD said: try that, need to escape the /a with a \ Click to expand... Perfect, it works now Thank you all
NVD said: try that, need to escape the /a with a \ Click to expand... Perfect, it works now Thank you all