On 22/06/15 16:47, Stacey Johnson wrote: > OK I answer myself as follow: > ^(?!(?:keyword1|keyword2)$)[a-z0-9\_]{3,}$ This is a *really* useful online tool: https://regex101.com/ HTH Al