Hi i want to grab ip and port on https://www.socks-proxy.net/. I can grab ip with regex pattern
'/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/'
but how to grab port ? i only can grab ip without port. How i can grab ip and port?
Hi i want to grab ip and port on https://www.socks-proxy.net/. I can grab ip with regex pattern
'/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/'
but how to grab port ? i only can grab ip without port. How i can grab ip and port?
Just have a look an the source code of the website. You can see, that everything is separated by TD-Tags.
So you would have to expand your regex to get the next column like this:
(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})<\/td><td>(\d{1,5})
See results here: https://regex101.com/r/V7sh0d/1