Hey,

I have individual addresses and need to extract city names from them. But the data is unclean addresses are not in one format. So i need to match the list of city names to each observation of the address variable. Please help with the same. I got to know that regex can be used to do so. But i am new to Stata and would love to get some help with the same.

Many thanks.
Kedar