Test a JavaScript regular expression

Ready

Flags

Highlighted result

Matches

Pattern explanation

g
Find every match instead of stopping after the first.
i
Ignore differences between uppercase and lowercase letters.
m
Make ^ and $ apply to each line.
s
Allow . to match newline characters.