Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(?=.*[^\.]$)((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.?){4}$
/
gmi

Description

ip address regex java,ip address regex c#,grep ip address regex,ip address regex python,ip address regex javascript,perl ip address regex,regex ip address range,whitespace in regex

Feel Free To IMPROVE

Submitted by Taha Bhutta - 8 years ago