Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
([a-zA-Z0-9\-_\.]+):([0-9]{1,5})
/
gm

Description

simple ip:port or host:port parser capturing ip or host and port, usually used for proxy lists

Submitted by The Voider - 9 years ago