- Posts: 31
Extracting City Names
- Joe
- Topic Author
- Offline
- User
Less
More
7 years 9 months ago #3138
by Joe
Extracting City Names - Post(3138) was created by Joe
I need to extract city names and State names into separate fields for each, from text such as the example below. As you can see, there are sometimes extra commas and city names can be up to 4 words. Can this be done?
JUNCTION, CITY, AR TO AMORY, MS NO TARP $675
FULTON, MS TO GAMALIEL, KY 6FT TARPS $750
UNION, MS TO NEW DOSWELL TOWNSHIP, VA 6FT TARPS $2000
COLLINWOOD,TN TO SOMERSET, KY 8FT TARPS $725
COLLINS, MS TO LA PORTE, IN 6FT TARPS $1675
JUNCTION, CITY, AR TO AMORY, MS NO TARP $675
FULTON, MS TO GAMALIEL, KY 6FT TARPS $750
UNION, MS TO NEW DOSWELL TOWNSHIP, VA 6FT TARPS $2000
COLLINWOOD,TN TO SOMERSET, KY 8FT TARPS $725
COLLINS, MS TO LA PORTE, IN 6FT TARPS $1675
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
- Offline
- Admin
7 years 9 months ago #3144
by FlowHeater-Team
Best wishes
Robert Stark
Replied by FlowHeater-Team on topic Extracting City Names - Post(3144)
Hi Joe,
Sorry, I’m not sure what you want to do. Can you post a short example with the expected result from your example please.
Sorry, I’m not sure what you want to do. Can you post a short example with the expected result from your example please.
Best wishes
Robert Stark
Please Log in or Create an account to join the conversation.
- Joe
- Topic Author
- Offline
- User
Less
More
- Posts: 31
7 years 8 months ago #3148
by Joe
Replied by Joe on topic Extracting City Names - Post(3148)
I need to return 4 results from each...
JUNCTION, CITY, AR TO AMORY, MS NO TARP $675
Result: "Junction City" "AR" "Armory" "MS"
FULTON, MS TO GAMALIEL, KY 6FT TARPS $750
Result: "Fulton" "MS" "Gamaliel" "KY"
UNION, MS TO NEW DOSWELL TOWNSHIP, VA 6FT TARPS $2000
Result: "Union" "MS" "New Doswell Township" "VA"
COLLINWOOD,TN TO SOMERSET, KY 8FT TARPS $725
Result: "Collinwood" "TN" "Somerset" "KY"
COLLINS, MS TO LA PORTE, IN 6FT TARPS $1675
Result: "Collins" "MS" "La Porte" "IN"
JUNCTION, CITY, AR TO AMORY, MS NO TARP $675
Result: "Junction City" "AR" "Armory" "MS"
FULTON, MS TO GAMALIEL, KY 6FT TARPS $750
Result: "Fulton" "MS" "Gamaliel" "KY"
UNION, MS TO NEW DOSWELL TOWNSHIP, VA 6FT TARPS $2000
Result: "Union" "MS" "New Doswell Township" "VA"
COLLINWOOD,TN TO SOMERSET, KY 8FT TARPS $725
Result: "Collinwood" "TN" "Somerset" "KY"
COLLINS, MS TO LA PORTE, IN 6FT TARPS $1675
Result: "Collins" "MS" "La Porte" "IN"
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
- Offline
- Admin
7 years 8 months ago #3152
by FlowHeater-Team
Best wishes
Robert Stark
Replied by FlowHeater-Team on topic Extracting City Names - Post(3152)
Hi Joe,
I´m afraid that´s not psoible Theres no recognizable logic to extract such words.
I´m afraid that´s not psoible Theres no recognizable logic to extract such words.
Best wishes
Robert Stark
Please Log in or Create an account to join the conversation.
Time to create page: 0.260 seconds