JavaScript. The pattern runs in your browser with the same engine as Node.js and modern browsers, so what you see here matches what your code will do.
What do the g, i, m, s and u flags mean?
g finds all matches instead of stopping at the first. i ignores case. m makes ^ and $ match line starts and ends. s lets the dot match newlines. u enables full Unicode mode.
Why does my regex show an "Invalid regular expression" error?
Usually a typo: an unclosed bracket or parenthesis, a stray backslash, or a quantifier like * or + with nothing in front of it. The error message names the exact problem.
Is my test data uploaded anywhere?
No. Matching happens entirely in your browser with JavaScript. Your text never leaves your device.
How do I use the replace preview?
Type a replacement string and the preview shows the result live. Use $1, $2 and so on to insert capture groups, $& for the whole match, and $$ for a literal dollar sign.