in reply to replace a digit with another digit
s/(?<=[a-zA-Z])[12]/ $& == 1 ? 2 : 1 /eg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: replace a digit with another digit
by Transient (Hermit) on Aug 17, 2005 at 18:52 UTC | |
by davidrw (Prior) on Aug 17, 2005 at 19:01 UTC | |
by kevyt (Scribe) on Aug 18, 2005 at 13:45 UTC | |
by davidrw (Prior) on Aug 18, 2005 at 14:24 UTC |