Regular Expressions 101

Sponsors

Library entries

0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 2 days ago
0
pcre

amazIng regex

super
Submitted by anonymous - 4 days ago
0
golang

super regex

Get every word ending with dot using Regex/VBA
Submitted by anonymous - 4 days ago
0
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 6 days ago
0
pcre

Phone Format ( FORK )

f
Submitted by anonymous - a month ago
0
pcre

cert

cert regex
Submitted by anonymous - a month ago
0
pcre

Variables 2

chingo de cheves y desmadre
Submitted by anonymous - 2 months ago
0
pcre

Spotify ID regex

Spotify ID regex
Submitted by anonymous - 2 months ago
0
pcre

helix word motion

helix word motion
Submitted by anonymous - 2 months ago

IPv4 w/ w/o port validation and localhost string supported

Vote

0

Regular Expression
pcre

/
^(((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})(\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})){3})|(localhost))(:((6553[0-5])|(655[0-2][0-9])|(65[0-4][0-9]{2})|(6[0-4][0-9]{3})|([1-5][0-9]{4})|([0-5]{1,5})|([0-9]{1,4})))?$|^$
/
gm

Description

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