Skip to main content
brindas358855
July 14, 2026
Question

How to remove some characters from text?

  • July 14, 2026
  • 2 replies
  • 0 views

I have a text "....<a></a><Line....." from which I need to remove the characters <a></a>.  How can I achieve this?

    2 replies

    stefanhelzle0001
    July 14, 2026

    You can use the regex plugin, or the substitute function.

    vinodn369746
    July 14, 2026

    Use These:

    • substitute() for the exact string "<a></a>" or "&lt;a&gt;&lt;/a&gt;".
    • regexreplace() if you need to remove any <a ...>...</a> tag regardless of attributes or contents

    • If your text contains escaped HTML entities
      substitute(
        ri!text,
        "&lt;a&gt;&lt;/a&gt;",
        ""
      )