Tansu Dasli thinks this is interesting: "\\d+\\s+([a-zA-Z]+|[a-zA-Z]+\\s[a-zA-Z]+)" From 14. Strings, Characters and Regular Expressions from Java® 9 for Programmers, Fourth Edition by Harvey Deitel, Paul Deitel Publisher: Prentice Hall Released: May 2017 Note \d+\s+([a-zA-Z1-9]+\s?[a-zA-Z]\s?[a-zA-Z]\s?[a-zA-Z]*) use this for real scenario ! Share this highlight http://www.safaribooksonline.com/a/java-9-for/13536891/ Twitter Facebook Google Plus Email Get Instant Access Now Start a Free Trial Have an account? Sign in. Minimise Unlock the rest of Java® 9 for Programmers, Fourth Edition and 30,000 other books and videos By clicking this box, you confirm that you have read and agree to the terms and conditions of our Membership Agreement, and you understand that when your trial period ends, you will be required to provide billing information if you wish to continue using the service. Unlock the rest of this book Start a Free 10-Day Trial loading Learn about Safari for Business Have an account? Sign in.