When you search for a string like \(a\)xxx\(b\)yy\(c\) is there some way to create a replacement string where each group can be replaced separately?

If that is not possible the only way I see round it will be to replace better off replacing the whole line with a string splicing the replacements where the groups are.

  • slinchislB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I posted about whipping up something like this here; maybe it’s what you’re looking for

    • vfclistsOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      This sounds exactly like what I’m looking for. I will check it out.