Regular Expressions 101

Library entries

Find any version of US country name in address string

Vote

1

Regular Expression
pcre

/
(\b[u](nited)?( )?[s](tates)?(a|( of america))?\b)|(u\.s\.(a\.)?)$
/
i

Description

Loading markdown...
Submitted by Bobby - 7 years ago