Regular Expressions 101

Library entries

-2
pcre

Simple Username Pattern

a simple username pattern
Submitted by Saeed Tabrizi - 8 years ago
1
pcre

Frage

Matching-Gruppen: Fragenummer Vollständige Frage
Submitted by anonymous - 8 years ago
1
pcre

Nomes teste

no description available
Submitted by Ale - 8 years ago
1
pcre

android strings find&replace

no description available
Submitted by l3d00m - 8 years ago
1
pcre

GET Duration

no description available
Submitted by anonymous - 8 years ago
2
pcre

Any variable between @

no description available
Submitted by anonymous - 8 years ago
17
pcre

Between tags content

no description available
Submitted by Agustín Bouillet - 8 years ago
1
pcre

[\d]*

kostix@mail.ru
Submitted by anonymous - 8 years ago

Advanced Currency Matcher/Validator

Vote

0

Regular Expression
pcre

/
(?(DEFINE) (?<currency_symbol> \p{Sc} ) (?<leading_group> [1-9] \d{0,2}+ ) (?<group> \d{3} ) (?<non_leading_groups> (?&group) (?:(?&group_delim)(?&group))*+ ) (?<decimal_delim> (?# Use the opposite of group_delim. ) (?(group_delim_comma) \. | (?(group_delim_period) , | [,.] (?# There's no definitive grouping_delim. ) ) ) ) ) ^ (?> (?&currency_symbol) (?&leading_group) (?: (?<group_delim> (?<group_delim_comma> , ) | (?<group_delim_period> \. ) | \ (?# Allow whitespace as a delimiter. ) ) (?&non_leading_groups) | \d*+ (?# It's also possible that there's no delimiter. ) ) ) (?: (?&decimal_delim) \d*+ )?+ $
/
guxm

Description

Loading markdown...
Submitted by Paul Buonopane (Zenexer) - 8 years ago