Regular Expressions 101

Sponsors

Library entries

1
javascript

YouTubeVideoUrl

YouTubeVideoUrl
Submitted by EdwardKonovalov - 16 hours ago
0
javascript

SRD TEST Internal

Test guts to gather Stat and amount
Submitted by anonymous - 2 days ago
0
javascript

Storyblok Img2

Parse img2.storyblok.com URLs
Submitted by anonymous - 3 days ago
0
javascript

Shashi test

Shashi
Submitted by anonymous - 3 days ago
1
javascript

Simple CSS selectors

Matches all types of CSS selectors
Submitted by anonymous - 4 days ago
0
pcre

NMEA after timestamps

Picks up (most?) NMEA messages.
Submitted by David Harrison - 9 days ago
0
javascript

US|CA dollar

US|CA dollar regexp
Submitted by cagatayucar - 11 days ago
0
javascript

Percentage only

Percentage only
Submitted by cagatayucar - 11 days ago
0
javascript

Tel

Válida números de telefone
Submitted by Mateus - 11 days ago

ipOrIpRangeOrCidrWithWildcard

Vote

0

Regular Expression
javascript

/
^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]|\*).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]|\*)((-(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))?|(\/([0-9]|[1-2][0-9]|3[0-2]))?)$
/
gm

Description

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