Regular Expressions 101

Sponsors

Library entries

Match IP (ipv4) addresses: [0.0.0.0]-[255.255.255.255]

Vote

0

Regular Expression
pcre

/
(?:^|\s) (\b(?:2[0-4]\d|25[0-5]|1?\d?\d)\b \. \b(?:2[0-4]\d|25[0-5]|1?\d?\d)\b \. \b(?:2[0-4]\d|25[0-5]|1?\d?\d)\b \. \b(?:2[0-4]\d|25[0-5]|1?\d?\d)\b) (?:$|\s)
/
gmx

Description

Loading markdown...
Submitted by OnlineCop - 7 years ago