Skip to content
Toolbento

Regex tester

Test a regular expression against sample text and see every match and group.

Flags

Matches

Enter a pattern and some text to see matches.

How to use Regex tester

  1. Enter a pattern and choose its flags.
  2. Paste the text you want to test.
  3. Review the highlighted matches and their groups.

Questions and answers

Which regex flavour is this?

JavaScript. Patterns run on the regular expression engine in your browser, so results match what your JavaScript code will do.

What do the flags mean?

g finds every match, i ignores case, m lets ^ and $ match at line breaks, s lets a dot match line breaks, and u turns on full Unicode matching.

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

Esc
Merge PDFPDFSplit PDFPDFExtract PDF pagesPDFDelete PDF pagesPDFRotate PDF pagesPDFReorder PDF pagesPDFImages to PDFPDFFormat JSONDeveloperBase64 encode and decodeDeveloperURL encode and decodeDeveloperJWT decoderDeveloperHash generatorDeveloperUUID generatorDeveloperTimestamp converterDeveloperRegex testerDeveloperDiff checkerDeveloperYAML to JSON converterDeveloper