Skip to content

Regex Tester

Test regular expressions with live matches.

Write a regular expression and see live matches highlighted against your test string.

//g

How to use this tool

  1. 1

    Write your pattern

    Choose flags like g, i, m or s.

  2. 2

    Paste a test string

    Matches highlight automatically.

Frequently asked questions

This tool runs entirely in your browser. Your data is never uploaded or sent to our servers.

Have feedback about this tool?