Sorry :-( Forgot to add the pattern. Might be useful to others "p[. ]?o([. ]+)?(\\d+)|\\bpo\\s*box\\b" Thanks Sai
Perfect!! Thanks Pradeep!! Customized it a little to suit my requirements. Thanks again Sai
I did. Thanks, for the suggestion.
Hi 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.