Questions
Does RegexLab send my pattern or test text to a server?
No. Matching, highlighting, the token explanation, and the replacement preview all run in your browser.
What do the flags g, i, m, s, and u change?
g finds every match, i ignores case, m lets ^ and $ work on each line, s lets the dot match line breaks, and u turns on Unicode mode.
How do capture groups show up?
Each full match is highlighted, and $1, $2, $3, and named groups get their own colors plus a row in the match list. The replacement box accepts $1, $2, $&, and $<name>.
Can I copy the pattern into Python, Go, or Rust?
Yes. The snippet panel writes JavaScript, Python (re), Go (regexp), and Rust (regex) from the pattern, flags, and replacement you have open.