Toolkit Lab

Tools / Regex Tester

Regex Tester

Write a pattern, add the text to test, and see each match highlighted. Matching runs in your browser.

Flags: g finds all matches, i ignores case, m treats each line as a start and end, s lets the dot match new lines. Only letters g, i, m, s, u and y are allowed.