a guest Jan 13th, 2018 51 Never
- import re
- myString = "http://192.168.1.1 www.google.com"
- patternToSearch = re.compile(r"(http|www)\S+")
- listOfResults = patternToSearch.findall(myString)
RAW Paste Data