in reply to Re: regex: something...(!something)...something
in thread regex: something...(!something)...something

Sorry, but no, this is not the desired result.. My mistake - I hadn't told the desired result. If you are interested in the solution, please see Olus's posts. Nevertheless, thanks for help!
  • Comment on Re^2: regex: something...(!something)...something

Replies are listed 'Best First'.
Re^3: regex: something...(!something)...something
by eosbuddy (Scribe) on Jul 18, 2008 at 20:48 UTC
    Hi, Sorry about that, nonetheless, this code also will do the trick you want :-)
    $x =~ s/<td>.*<td>(.*?)3(.*?)<\/td>.*<\/td>/<td>$13$2<\/td>/;