Instructions

1. Enter your Regular Expression pattern. 2. Paste the Text String you want to test against. 3. Select any desired Regex Flags (Ignore Case, Multiline, Dot All). 4. Choose the Test Mode (Find All, Find First, Replace). 5. If using 'Replace' mode, enter the Replacement String (use $1, \1, etc., for group backreferences). 6. Run the tool. The results will show matches, groups, or the replaced text in JSON format below.

Enter the regex pattern you want to test. Use parentheses () to capture groups.
Choose how to apply the regex: find all occurrences, find the first one, or perform replacements.
Used only in 'Replace' mode. Use $1, $2 or \1, \2 for backreferences to captured groups. Use \g<name> for named groups.