Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to parse addresses from twitter tweets.

If one has a tweet like: "We are at Wacker and Monroe from 11-1".

The java-script function would need to find this address: "Wacker and Monroe" and then add New York,NY to the end.

Then the items collection gets passed in by calling:

items.add("Wacker and Monroe, New York, NY");

function matchAddress(items, tweet, truck) {

// fill in code here
}


I am looking for best practice or even a starting point.I am just not sure at the moment.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900