How It Works

Enter the text you want to edit in the "Input Text" field. Use the "Regex Pattern" field to specify the pattern you want to match. In the "Replacement Text" field, enter the text you want to use as a replacement. The result will be displayed in real-time.

Examples

Example 1

Input: "Hello 123, this is a test 456."

Pattern: "\d+"

Replacement: "NUMBER"

Result: "Hello NUMBER, this is a test NUMBER."

Example 2

Input: "apple, banana, cherry"

Pattern: "apple|banana"

Replacement: "fruit"

Result: "fruit, fruit, cherry"