Regular Expressions 101

Sponsors

Library entries

0
pcre

Email verification

no description available
Submitted by SonnY - 8 years ago
0
pcre

Not the Monster

no description available
Submitted by Sif Baksh - 8 years ago
0
pcre

http

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

Valmaks_name_replace_222

no description available
Submitted by witamin - 8 years ago
0
javascript

SSN

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

parse velocity variables

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

Select everything outside of table tags

no description available
Submitted by ReijMan - 8 years ago
0
javascript

Date Validation

no description available
Submitted by Ashish - 8 years ago
0
javascript

CSV parser

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

catch Loadcase Name

no description available
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) - 7 years ago