Regular Expressions 101

Bug Reports & Feedback
Whats new?

Save & Share

  • Save Regex
  • Update Regex


  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python 2.7
  • Golang
  • Java 8


  • Match
  • Substitution
  • List
  • Unit Tests
^ asserts position at start of the string
Match a single character not present in the list below
+ matches the previous token between one and unlimited times, as many times as possible, giving back as needed (greedy)
А-Я matches a single character in the range between А (index 1040) and Я (index 1071) (case sensitive)
Ё matches the character Ё literally (case sensitive)
а-я matches a single character in the range between а (index 1072) and я (index 1103) (case sensitive)
ё matches the character ё literally (case sensitive)
\/ matches the character / literally (case sensitive)
$ asserts position at the end of the string, or before the line terminator right at the end of the string (if any)
Your regular expression does not match the subject string.Try launching the debugger to find out why.

Regular Expression
No Match


Test String