in reply to Regex "or"
Is it possible to write a single substitution that will replace all occurrences of both words in a string?
Sure, take a look at the /g modifier in perlop
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex "or"
by Mad_Mac (Beadle) on Mar 20, 2011 at 09:16 UTC |