So I've been working for three days straight with a PHP script that grabs various bank information from across the States. Everything single value I'm pulling works except the start of the address.
This doesn't have to be perfect and I'm scraping the > and < symbols to make it easier. These are examples of what I need to match. I have code written to strip off the greater than and lesser than characters after the fact - notice I'm only interested in addresses that end with: Way, Street, St., St, Avenue, Ave, Ave., Road, Rd, Rd., Highway, Hwy, Hwy, Boulevard, Bvd, Bvd., Crescent, Cres., Cres, etc.
>20 Cross Street<
>1 Dillinger Avenue<
>189 Beautiful Way<
>5768 Some Longer Address That Is Crazy Like Ave.<
>857489 Monkey On My Back Highway<
>378 My Pants Are Ablaze Boulevard<
Here is what I have so far;
'~>[0-9]{1-7}.*\s[Street|St.|St|Road|Rd|Rd.]<~'