Regex Text Replacer

Use regex to replace arguments within text.


Regex
Note: You should not include regex flags. / at the start and end of regex is optional.

Regex Flags

What's this?

What are regex flags?

  • g - Replaces all matches, stands for 'global'. (used by default for this tool, if no custom flag is provided)
  • gi - Replaces all matches, doesn't matter if it's lower or upper case. Stands for 'global insensitive'.
  • i - Replaces the first match only, doesn't matter if it's lower or upper case. Stands for 'insensitive'.
  • m - Multiline search, stands for 'multiline'.
  • none - No flags. Will only replace the first match.

Text

Replacer