Regular Expressions 101

Sponsors

Library entries

0
javascript

Pass/Fail

gaming pass fail shortcut
Submitted by Steve Muchow - a month ago
0
pcre

decamelize

pascal case to snake case
Submitted by anonymous - a month ago
0
javascript

Email

Email
Submitted by anonymous - a month ago
0
javascript

Find Japanese

Find Japanese
Submitted by nghilq - a month ago
0
javascript

Only numbers and length 9

Only numbers and length 9
Submitted by anonymous - a month ago

Remove useless zeroes.

Vote

0

Regular Expression
javascript

/
^(?<negative>\-?)(?<preceding>0?)(?<main>[0-9]+\.??[0-9]*?)(?<trailing>\.?0*)$
/
mg

Description

Loading markdown...
Submitted by anonymous - 3 months ago