in reply to replace fist and last occurrences of N
Like this: s/(?<=[^n])n|n(?=[^n])/^/ig
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: replace fist and last occurrences of N
by ini2005 (Novice) on Jul 12, 2008 at 13:29 UTC | |
by massa (Hermit) on Jul 12, 2008 at 15:27 UTC |