in reply to Match last instance of pattern
perl -0777 -pe '$_=reverse;s{>ELBAT/<}{ECALPER};$_=reverse' test.htm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Match last instance of pattern
by lostjimmy (Chaplain) on Nov 05, 2008 at 22:09 UTC | |
by ccn (Vicar) on Nov 05, 2008 at 22:29 UTC |