Sorry :-( Forgot to add the pattern. Might be useful to others
"p[. ]?o([. ]+)?(\\d+)|\\bpo\\s*box\\b"
Perfect!! Thanks Pradeep!!
Customized it a little to suit my requirements.
I did. Thanks, for the suggestion.
I need to check for a PO Box addresses in a string. I should not allow a pobox in a address Line. For that I need a pattern and willl match...
Separate names with a comma.