Regex Builder LogoRegex Builder

Create regular expressions by simply toggling checkboxes

Character Types
Match specific types of characters
[a-zA-Z]
\d
\s
\w
.
Quantifiers
Specify how many times to match
+
*
?
{3}
{2,5}
Anchors & Boundaries
Match positions in the string
^
$
\b
\B
Common Patterns
Pre-built patterns for common use cases
[\w.-]+@[\w.-]+\.[a-zA-Z]{2,}
$$?\d{3}$$?[-.]?\d{3}[-.]?\d{4}
https?://[\w.-]+\.[a-zA-Z]{2,}(?:/[\w.-]*)*/?
\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b
\d{2}/\d{2}/\d{4}
Special Characters
Match specific special characters
[.,;:!?]
[\[\]{}()]
["']
[#$%&*+/<=>@^_`|~-]
Generated Regex
Your regular expression pattern
Select options to generate regex
Test Your Regex
Enter text to test against your pattern
Select options to generate a regex pattern
Export Code
Generate code snippets for different programming languages

Create a regex pattern first to see export options