How can I use grep expressions so that i can find strings like the ones bellow:
New York, NY
As you can see each city starts with capital letter then it follows up with a comma, and then with the Abbreviation of the city.
I used :
grep -w '[A-Z].*[a-z][,][' '][A-Z][A-Z]' filename
But i get no results.. pls help meeee