how to check if a string contains a list of characteris in python code example
Example: python check if string contains one of characters list
if any(ext in url_string for ext in extensionsToCheck):
print(url_string)
if any(ext in url_string for ext in extensionsToCheck):
print(url_string)