How to check with more RegEx for one address in python using re.findall()
Ex: I want to apply the below regex rules
# need to get addresstxt = "hello user 44 West 22nd Street, New York, NY 12345 from" regexp = "[0-9]{1,3} .+, .+, [0-9]{5}"regexp1 = "[0-9]{1,3} .+, .+, [A-Z]{2} [0-9]{5}"regexp2 = "[0-9]{1,3} .+, .+, [A-Z]{2} [0-9]{9}" re.findall(regexp, regexp1, regexp2, txt)
is this correct? I am getting error of this code