in reply to Re^2: Regex for replacing a character "not next to" another character (updated)
in thread Regex for replacing a character "not next to" another character
For a multi-line string, simply add \n to the negated character group:
s/(?<=[^"\n])\t(?!"|$)//gm
and of course a /m for the $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Regex for replacing a character "not next to" another character
by LanX (Saint) on Nov 04, 2016 at 11:36 UTC |