Settings

The pattern

Written the way you would write it in JavaScript, between the slashes. Flags go on the right.

The text to run it against

What it does

Waiting for a pattern.

What the pattern says, in words

Where the parser cannot read a construct it says so instead of guessing.

Patterns worth keeping

Each one says what it misses. Choosing one loads it above with a sample to try it on.

Cheat sheet

How it works

REGEX uses your browser's own regex engine, including flags, named groups and lookbehind, and answers the usual questions: why only the first match is found, why the dot skips new lines, and what greedy and lazy mean.

Doing this often? OBSCURA Umbra searches and replaces with regular expressions across every file in a folder. On its own, US$4 a month; with everything else, US$9 a month or US$79 a year. 7 days free.