Test regular expressions with live matching and group capture.
A regular expression is a sequence of characters that specifies a search pattern. It's used for pattern matching with strings, particularly in text processing and validation.
Simply enter your regex pattern in the top input field, then type or paste your test text below. The tool will highlight matches and captured groups in real-time.
Our regex tester supports JavaScript, PCRE, Python, and several other popular regex flavors. You can select your preferred syntax from the dropdown menu.
Use parentheses () in your pattern to create capturing groups. Our tool will highlight each group separately in your test text and display the captured values.
Yes, you can save your tested regex patterns to your browser's local storage. Just click the save button and give your pattern a name for easy access later.