Regex Tester

Test and debug regular expressions

How to Use

1

Enter pattern

Type your regular expression in the pattern field.

2

Add test strings

Enter text to test against your pattern.

3

Set flags

Enable g (global), i (case-insensitive), m (multiline) as needed.

4

View matches

See highlighted matches and capture groups.

Frequently Asked Questions

What regex flavors are supported?

JavaScript regex syntax, which is similar to most programming languages. Flags like g, i, m are supported.

Can I test multiple strings?

Yes, enter multiple test strings to see which ones match your pattern.

Is my regex data private?

Yes, all testing happens locally in your browser. Your patterns and test data never leave your device.

Related Tools

Popular Tools

Browse More Categories