Regular Expressions 101

Sponsors

Library entries

0
pcre2

LDAP URI regex

ldap, ldaps, ipv4, ipv6 & dns (bare bones)
Submitted by anonymous - 5 months ago
0
pcre2

IPv6

small ipv6 regex
Submitted by anonymous - 5 months ago
0
javascript

1030

Validation
Submitted by Christopher Santos - 5 months ago
0
pcre

address

not sure
Submitted by anonymous - 5 months ago
0
pcre2

hk_ec_lanecrawford

Submitted by Alex - 5 months ago
0
javascript

Michele XP E

Teste
Submitted by Luciano - 5 months ago
0
pcre2

正则表达式

NFA和DFA的区别
Submitted by wangheng - 5 months ago
0
pcre2

:

https://regex101.com/r/769tHt/3
Submitted by anonymous - 5 months ago
2
pcre2

Delete hour range

Select duplicate a.m. - p.m range
Submitted by profeivan - 5 months ago
0
pcre2

Grouped Complex

Publicate to explanation to a teacher.
Submitted by Saheded - 5 months ago
0
javascript

屏蔽脏话

屏蔽骂人脏话、政治言论等
Submitted by anonymous - 5 months ago

Currency with dollar sign, two decimals, negative allowed, starting with period ok

Vote

2

Regular Expression
javascript

/
^(?:[$](\s{0,1})|)[+-]?(\d{1,3},?(\d{3},?)*\d{3}(\.\d{0,2})?|\d{1,3}(\.\d{0,2})?|\.\d{1,2}?)$
/
gm

Description

Loading markdown...
Submitted by Natalia Zolotareva - 7 months ago