After many hours of searching I have found a regex that validates the street address (just the street without city/state/zip). This is for US use only. It's been difficult to find any that would fit my needs or that worked with numbered streets.
The one I'm using works great except for instances like
12345 5th ave ne
4367 103rd North
1234 Main St <- currently works but needs to work after fix
12345 Apple Way <- currently works but needs to work after fix
all current working instances need to continue to work.
The problem it wants the Ave (or st/etc) at the end and I need to allow all the combinations of north/south/west/east as single or double combinations to be on the end also (ex. SouthWest, NE, NorthEast).
Instead of including each combination I'd like to regex to allow (match) when one of those combinations or a single one is found (case insensitive). I also would like to optimize the Way/Street/etc to also be case insensitive
For my usage, unit #/Apt #/etc will not be used its strictly for the base street address.
This is what I currently have:
\d+[ ](?:[A-Za-z0-9.-]+[ ]?)+(?:Avenue|Lane|Road|Boulevard|Drive|Street|Way|Ave|Dr|Rd|Blvd|Ln|St|Wy|avenue|lane|road|boulevard|drive|street|way|ave|dr|rd|blvd|ln|st|wy)\.?
I appreciate any and all assistance.