in reply to Regular Expression Elegance
should work perfectly.$value =~ s{(href=')([^']*)(')}{$1.join('',split/<br>/,$2).$3}gsie;
Update: changed regex delims.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regular Expression Elegance
by monkie (Novice) on Nov 11, 2008 at 14:31 UTC |