Regex tester · ECMAScript

Regular expressions

Uses the ECMAScript (JavaScript) regex engine built into your browser, with the same syntax as JavaScript and TypeScript. Nothing you enter is sent to our server.

Test text

–

Matches highlighted

Replace

Matches & groups

#PositionMatchGroups