Regex tester
Input
Paste or drop your data here, or open a file.
New to Bracely?
Everything stays in your browser.
Compare with
Output
Regex Tester
Type a pattern and see what it matches in your text as you go: each match highlighted, with its position and every capture group. Then try a replacement or split the text on it.
How do I use the Regex tester?
- Paste the text to search.
- Type the pattern and flags (g for every match, i to ignore case, m for line by line).
- Read the matches and groups, or switch to replace or split.
What does the Regex tester do?
- Every match highlighted, empty matches too
- Numbered and named groups for each match
- Replace with $1, $<name> and $&
- Split on the pattern
- Flags g i m s u v y and d
- Patterns that run forever are stopped after 3 seconds
Frequently asked questions
- Which regex flavour is this?
- JavaScript's, as your browser runs it: lookbehind, named groups, \p{L} Unicode classes with the u flag and set notation with v. PCRE-only features like possessive quantifiers aren't there.
- Is my data uploaded?
- No. Bracely runs entirely in your browser, so nothing you paste or open leaves your device.
More JSON tools
Bracely has more than 65 JSON tools in one page. Related ones:
- Big files
- jq Playground
- JSONPath Tester
- JMESPath tester
- Query JSON with SQL
- JSON Pointer
- Search JSON
- JSON find and replace
- JSON column viewer
- JSON image viewer
- List tools
- Remove duplicates
- JSON Formatter
- JSON Validator
- JSON Viewer
- JSON Repair
- JSON Diff
- JSON to YAML
- JSON to CSV
Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut. About · Privacy policy
Last updated · Version 4.9 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram