Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?:http(?:s?)|socks(?:5|5h))://(?:[A-Za-z0-9]*:[A-Za-z0-9]*@)*(?:\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}):(?:\d{2,5})
"
gm

Description

can detect socks and http proxies and also authenticated proxies

Submitted by Elyas Najibzadeh - 2 years ago (Last modified 2 years ago)