DevTools

Regular Expression Tester

Enter a JavaScript regular expression and test text to inspect live highlights, match positions, capture groups and replacement output, with common templates to get started.

Processed locally in your browser; data is not uploaded

Features

FAQ

Should I enter the surrounding slashes?

No. Enter only the pattern between the slashes and select flags with the controls on the right.

Is my text uploaded?

No. Matching and replacement run locally with the browser's native JavaScript RegExp engine.

Related tools