Regular Expressions 101

Library entries

1
javascript

form regex

no description available
Submitted by anonymous - 6 years ago
1
javascript

Statful Entities Name

no description available
Submitted by anonymous - 6 years ago
1
javascript

double number

no description available
Submitted by anonymous - 6 years ago
1
javascript

dd-MM-yyyy validation

no description available
Submitted by anonymous - 6 years ago
1
javascript

number

no description available
Submitted by anonymous - 6 years ago
1
pcre

Lockbox S├Ątze #2

no description available
Submitted by anonymous - 6 years ago
1
pcre

IPv4 address

matches valid ipv4 addresses
Submitted by anonymous - 6 years ago

Localhost/private ip origin check

Vote

1

Regular Expression
pcre

/
^(https?:\/\/)?(localhost|lvh\.me|::1?|fe80::1|((::f{4}:)?(1(0|27)\.\d{1,3}|172\.(1[6-9]|2\d|3[01])|192\.168)\.\d{1,3}\.\d{1,3}))(:\d{1,5})?
/
g

Description

Loading markdown...
Submitted by ngokimphu - 6 years ago