Can anyone recommend a Regex that would match on the following rules:
- Upper case or a space
My strings that I want to match look like this
LONDON 10 Downing St, London
or this
NEW YORK 2859 Broadway, New York, NY 10025
I want to be able to match the words LONDON and NEW YORK when I pass in each line.
P.S. I am doing this in Java