Regular Expressions 101

Community Patterns

match ipv4|匹配ipv4

0

Regular Expression
PCRE2 (PHP >=7.3)

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

Description

Loading markdown...
Submitted by nihuge - a year ago