Test your regex.
Find the pattern.
Visualize matches, capture groups, and replacements with JavaScript regular expressions.
Matches will appear here
The replacement preview will appear here
Test JavaScript regular expressions online
Which regex flavor is supported?
This tester uses the native JavaScript RegExp engine and supports common flags including global, ignore-case, multiline, dot-all, and Unicode modes.
How do capture groups work?
Parentheses create numbered groups such as $1. Named groups use (?<name>...) and can be referenced during replacement with $<name>.
Can a regular expression be unsafe?
Some patterns cause catastrophic backtracking on particular input. BeyUtils evaluates patterns in an isolated worker and stops evaluations that exceed the time limit.
Clear patterns.
Safer results.
Visible matches
Highlight every result and inspect its position, value, and captured groups.
Instant replacement
Preview substitutions using references such as $1, $&, and named groups.
Execution limit
Expressions run in an isolated worker that stops if evaluation takes too long.
Help improve BeyUtils
Found a translation that sounds off, or have an idea? Share it with us.
Translation corrections
Include the language, the page, the current text, and your suggested wording. A little context helps us understand the change.
Suggest a translation fixIdeas and suggestions
Tell us what you would like to improve or which tool you are missing. Describe what you want to do and how the change would help.
Share a suggestionOpens a draft in your email app. Review it before sending. lapierretumalan@gmail.com