Let's say I have this string:
<div>john doe is nice guy btw 8240 E marblehead way 92808 is also</div>
or this string:
How would I go about parsing a string similar to the one of the strings above, extracting the address and document.write-ing the address? Would this involve some sort of regex code?
<div>sky being blue? in the world is true? 123 Main St., apt c420 Anywhere, USA 12345 jackfroast nipping on the firehead</div>
Thank you in advance