Regex tester
//
Flags: g all, i ignore case, m multiline, s dot matches newline, u unicode.
Questions
Which regex flavor is this?
JavaScript (ECMAScript). Most patterns also work in Python, PHP and Java, but lookbehind and named groups differ slightly.
How do I match across lines?
Use the m flag so ^ and $ match at each line, or the s flag so . also matches newlines.
Is my text sent anywhere?
No. Everything runs in your browser.

