Regular Expressions 101

Sponsors

Library entries

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
0
golang

Date String ISO Pattern

Date String ISO Pattern matcher
Submitted by Lucas Morais - 2 months ago
0
javascript

vue sfc script tag

Regexp to match vue sfc script tag
Submitted by YuTengjing - 2 months ago
0
pcre

Filtro Página web

Filtro pagina web
Submitted by anonymous - 2 months 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