Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
((25[0-5]|2[0-4][0-9]|[01]?[0-9]{1,2})(\.(?=[0-9])|\b)){4}
"
gm

Description

find all IPv4 addresses in text

Submitted by anonymous - 6 years ago