I have similar text on more lines:
_AB_ _ABC_ _ OR
_ _A_ _ABC_
I need to replace only the underscores that delimit some text. So I need:
=AB= =ABC= _ OR
_ =A= =ABC=
How to match each pattern?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community