Regex constructor

Visual creation, testing and export of regex

Expression Builder
Current expression:
\d+
Reference
Character Description Example
\d Any digit \d{3} - три цифры
\w Letter, digit or _ \w+ - одно или больше слов
\s Whitespace character \s - пробел, таб и т.д.
. Any character .+ - one or more characters
[abc] Any of the characters [aeiou] - any vowel
[^abc] Any except these [^0-9] - not a digit
(...) Character group (abc)+ - "abc" one or more times
Regex editor
/ /
Test results
0 matches
✓ Expression is valid

Match details

# Match Position Length
No matches
Development code

                                            

                                            

                                            

                                            

                                            
Export expression
Save the link to return to your expression later

How to use the regex constructor?

Expression creation

  • Use the constructor to visually create regex
  • Choose ready-made templates for typical tasks
  • Add elements using the buttons
  • Adjust quantifiers for repetitions

Testing

  • Enter test text to check
  • See highlighted matches in real time
  • Analyze detailed information about each match
  • Use flags to change search behavior

Export code

  • Get ready-made code for 5+ programming languages
  • Copy individual fragments or the entire code at once
  • Save links to expressions
  • Use in your projects

Education

  • Learn regex with the built-in reference
  • Analyze ready-made templates
  • See the visualization of expression work
  • Use examples for practice