<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer"> Skip to main content

Text & Data

Regex Builder & Tester

Build, test and debug regular expressions with live match highlighting, capture groups and a find-and-replace preview — everything runs in your browser.

Regular Expression
0 matches
Test String
146 chars
Find & Replace
Results
No matches in the test string.
Common Patterns

Each preset loads a matching sample so you can see it work immediately.

Flavor & Code
const re = /\b(\w+)@(\w+)\.(\w{2,})\b/g;
const matches = [...text.matchAll(re)];