Regular Expressions 101

Sponsors

Library entries

0
pcre

match empty line in multiline mode

Doesn't match tabs or spaces
Submitted by anonymous - 3 years ago
0
pcre

host and port regex

no description available
Submitted by anonymous - 3 years ago
0
pcre

key value

no description available
Submitted by anonymous - 3 years ago
0
javascript

Regex for ssn

no description available
Submitted by anonymous - 3 years ago
0
pcre

Regex for email

no description available
Submitted by anonymous - 3 years ago
0
pcre

Italian phone number

no description available
Submitted by anonymous - 3 years ago
0
pcre

Italian fix phone number

no description available
Submitted by anonymous - 3 years ago
0
pcre

Test

no description available
Submitted by anonymous - 3 years ago
0
pcre

Dogs

no description available
Submitted by anonymous - 3 years ago

111

Vote

0

Regular Expression
pcre

/
\] - (?<x_forwarded_for>(?<![0-9])(?:(?:25[0-5]|2[0-4][0-9]|[0-1]?[0-9]{1,2})[.](?:25[0-5]|2[0-4][0-9]|[0-1]?[0-9]{1,2})[.](?:25[0-5]|2[0-4][0-9]|[0-1]?[0-9]{1,2})[.](?:25[0-5]|2[0-4][0-9]|[0-1]?[0-9]{1,2}))(?![0-9])|-)(\s\'(.*)\')
/
gm

Description

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