How to use
- Enter a pattern and flags.
- Paste the text to search.
- Check the matches, and try a replacement.
Questions
Which regex flavour is this?
JavaScript, as used in browsers and Node.js. Most patterns also work in other languages, but features such as lookbehind and named groups can differ.
What do the flags mean?
g finds every match, i ignores case, m makes ^ and $ match at line breaks, s lets . match line breaks, u and v enable full Unicode, y matches only at the current position.
What if my pattern is slow?
Patterns run separately from the page and are stopped after 3 seconds, so a runaway pattern can’t freeze your browser.