Regular Expressions 101

@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
Whats new?

Save & Share

  • Save Regex
    ctrl+s
  • Update Regex
    ctrl+⇧+s

Flavor

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

Function

  • Match
  • Substitution
  • List
  • Unit Tests
/
(\x{00a9}|\x{00ae}|[\x{2000}-\x{3300}]|\x{d83c}[\x{d000}-\x{dfff}]|\x{d83d}[\x{d000}-\x{dfff}]|\x{d83e}[\x{d000}-\x{dfff}])
/
gm
1st Capturing Group
(\x{00a9}|\x{00ae}|[\x{2000}-\x{3300}]|\x{d83c}[\x{d000}-\x{dfff}]|\x{d83d}[\x{d000}-\x{dfff}]|\x{d83e}[\x{d000}-\x{dfff}])
1st Alternative
\x{00a9}
\x{00a9} matches the character © with index A916 (16910 or 2518) literally (case sensitive)
2nd Alternative
\x{00ae}
\x{00ae} matches the character ® with index AE16 (17410 or 2568) literally (case sensitive)
3rd Alternative
[\x{2000}-\x{3300}]
Match a single character present in the list below
[\x{2000}-\x{3300}]
\x{2000}-\x{3300} matches a single character in the range between   (index 8192) and (index 13056) (case sensitive)
4th Alternative
\x{d83c}[\x{d000}-\x{dfff}]
\x{d83c} matches the character with index D83C16 (5535610 or 1540748) literally (case sensitive)
Match a single character present in the list below
[\x{d000}-\x{dfff}]
\x{d000}-\x{dfff} matches a single character in the range between 퀀 (index 53248) and (index 57343) (case sensitive)
5th Alternative
\x{d83d}[\x{d000}-\x{dfff}]
\x{d83d} matches the character with index D83D16 (5535710 or 1540758) literally (case sensitive)
Match a single character present in the list below
[\x{d000}-\x{dfff}]
\x{d000}-\x{dfff} matches a single character in the range between 퀀 (index 53248) and (index 57343) (case sensitive)
6th Alternative
\x{d83e}[\x{d000}-\x{dfff}]
\x{d83e} matches the character with index D83E16 (5535810 or 1540768) literally (case sensitive)
Match a single character present in the list below
[\x{d000}-\x{dfff}]
\x{d000}-\x{dfff} matches a single character in the range between 퀀 (index 53248) and (index 57343) (case sensitive)
Global pattern flags
g modifier: global. All matches (don't return after first match)
m modifier: multi line. Causes ^ and $ to match the begin/end of each line (not only begin/end of string)
Your regular expression does not match the subject string.Try launching the debugger to find out why.

Regular Expression
No Match

/
/
gm

Test String