Initializing editor, please stand by...
Loading content, please hold...
You seem to be using an outdated version of your browser which is no longer supported by regex101.com. It is highly recommended that you upgrade your browser. Sorry for the inconvenience.
Status: Fetching debug info...
collapse all
Please hold while we fetch the debug data. This might take some time.
/
/


matches:
a plain string
a string containing (matched parens) [matched brackets] and {matched braces}
nested (parens (within) parens)
nested [parens (within) brackets]
()()[({({[]})[({})]})]

non-matches:
(unbalanced parens
([balanced but misordered)]
 

Explanation
An explanation of your regex will be automatically generated as you type.
Match information
Detailed match information will be displayed here automatically.
Quick reference