Regex Replace

Replace all matches of a regular expression in a string.

Inputs

Regex

The Regex you want to find in the string.

Example: ^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$

Source

String

The string you want to find Regex in.

Example: These are example emails: email@example.com, another-email@example.com, and yet-another-email@example.com

Replacement

The string you want to replace the Regex matches with.

Example: [redacted email]

Outputs

Replaced String

The string with the Regex matches replaced.

Example: These are example emails: [redacted email], [redacted email], [redacted email]