Regular Expressions 101

Sponsors

Library entries

1
python

JSONREGEX

no description available
Submitted by anonymous - 7 years ago
1
pcre

Access Log

cisco
Submitted by anonymous - 7 years ago
1
pcre

Get id number from url

no description available
Submitted by Marek Ulwański - 7 years ago
1
pcre

Teste

teste
Submitted by MeuChapeu - 7 years ago
1
pcre

Israel phone number

Valiate israel phone number
Submitted by boevik - 7 years ago
1
javascript

URL regex without anchors

no description available
Submitted by anonymous - 7 years ago
1
pcre

massive email

no description available
Submitted by anonymous - 7 years ago
1
pcre

faa

no description available
Submitted by anonymous - 7 years ago
1
pcre

weather

no description available
Submitted by anonymous - 7 years ago
1
javascript

End of line - SJava

no description available
Submitted by anonymous - 7 years ago
1
pcre

Recherche email

Recherche un email
Submitted by G Morelle - 7 years ago

if else statement in C++

Vote

1

Regular Expression
pcre

/
if\s*\((?P<conditional>(?:(?:(?:"(?:(?:\\")|[^"])*")|(?:'(?:(?:\\')|[^'])*'))|[^\(\)]|\((?1)\))*+)\)\s*(?P<true_body>(?:{(?:(?:(?:"(?:(?:\\")|[^"])*")|(?:'(?:(?:\\')|[^'])*'))|[^{}]|{(?2)})*+})|(?:[^{}\n]*))\s*(?:(?:else\s+?(?!if)(?P<else_body>(?:{(?:(?:(?:(?:"(?:(?:\\")|[^"])*")|(?:'(?:(?:\\')|[^'])*'))|[^{}]|{(?3)})+)})|(?:[^{}\n])*)\s*)|(?:else\s*if\s*\((?P<else_if_condition>(?:(?:(?:"(?:(?:\\")|[^"])*")|(?:'(?:(?:\\')|[^'])*'))|[^\(\)]|\((?4)\))+)\)\s*(?P<else_if_body>(?:(?:{(?:(?:(?:"(?:(?:\\")|[^"])*")|(?:'(?:(?:\\')|[^'])*'))|[^{}]|{(?5)})+})|(?:[^{}\n]*)))\s*))*
/
gmi

Description

Loading markdown...
Submitted by Денис Суховерхов - 7 years ago