AnsweredAssumed Answered

A regular expression to exclude a word/string

Question asked by jkweaver on Nov 9, 2017
Latest reply on Nov 9, 2017 by jkweaver

I am in need of help with adding to a Regular Expression. I currently have a field on my Nintex form that captures a prefix, with an expression of [a-zA-Z]+ so that it will only include alphas. However, I need to also have it exclude 2 certain words: auto and home.

 

How do I build in an additional expression so that I can exclude entry of the words auto and home but also continue to allow the filed to capture alphas for the prefix.

 

I have been searching around but each expression I try excludes the words but also excludes any alpha entry.

Outcomes