If you just want to change the first instance on a given line, then it is just a s/// command but don't use the g modifier.
s/"[^"]*"/"that"/;
In reply to Re: Swap between first found match
by pzbagel
in thread Swap between first found match
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |