Please look at this page.
Double los angeles and USA issue
The addresses are generated by Google maps. And you will see in some cases the city "Los Angeles" is duplicated. Also USA appears in most of the addresses.
Example: Schoenberg Hall 445 Charles E Young Drive North, University of California, Los Angeles, Los Angeles, CA 90024, USA
Is there a way to use jquery to remove the string "Los Angeles, Los Angeles" (if found) and change it to just "Los Angeles". as well as remove USA completely if found.
It will always be Los Angeles, never another city. And USA appears in many but not all listings.
Not sure if Jquery can do it, but who knows! Ideally it would be added to the header of the page (or external script) or in similar location. I don't have easy access to the php programming which creates these addresses pulling from Google.