Regular Expressions 101

Community Patterns

IP URL

1

Regular Expression
PCRE (PHP <7.3)

/
(https?:\/\/).*(((1[0-9]{2})|(2[0-5]{2})|[0-9]{1,2})\.){3}(((1[0-9]{2})|(2[0-5]{2})|[0-9]{1,2}))
/

Description

Get all URLS that are IP Based URLS

Submitted by notrin - 8 years ago