Re: [PHP] regexp problem

2003-07-10 Thread Burhan Khalid
On Thursday, July 10, 2003, 9:25:31 PM, Taylor wrote: TY> First, TY> I need the code to replace the link in a string, like TY> with TY> ereg_replace("''", "''", TY> $old); TY> That was the closest i got, but (.*) makes it take the first BASE HREF, and the last ">>, which sucks. TY> Can anyone

[PHP] regexp problem

2003-07-10 Thread Taylor York
First, I need the code to replace the link in a string, like with ereg_replace("''", "''", $old); That was the closest i got, but (.*) makes it take the first BASE HREF, and the last ">, which sucks. Can anyone help? Second, I hate asking for help on Regexps...I would like a tutorial online t