JavaScript RegExp only — pattern, flags, and test string. See match list and optional replacement preview (not a full regex101.com engine).
Allowed: g i m s u v y (invalid chars ignored)
$&
$1
hello! regex! world!