Regular Expressions 101

Sponsors

Library entries

0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 3 days ago
0
java

partnkey value

Extract value partn_key
Submitted by anonymous - 5 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 6 days ago
0
javascript

sql inj

as
Submitted by anonymous - 7 days ago
0
pcre

amazIng regex

super
Submitted by anonymous - 7 days ago
0
java

Identifier Regex

Regex for identifiers
Submitted by anonymous - 9 days ago
0
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 9 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 10 days ago

11位整数含两位小数校验

Vote

1

Regular Expression
javascript

/
^([1-9]{1}\d{1,11}|0)(\.\d{1,2})?$
/
g

Description

Loading markdown...
Submitted by yang - 2 months ago