Skip to main content
Nintex Community Menu Bar
Solved

Validation in text field to not include special characters

  • August 21, 2025
  • 1 reply
  • 44 views

Forum|alt.badge.img+11

Hello!

Is it possible to prevent users from entering in characters such as “~” or “\” or “/” in a text field? I see that you can use a regular expression but am having a bit of a tough time getting this specifically…

 

I do need to be able to allow the “$” to the field though...

 

Thanks in advance!  

Best answer by bamaeric

Check out this post: Validating a form control to not allow Special characters | Community

Below are some Regular Expressions to try:

  1. To allow only alphanumeric characters and spaces: ^[a-zA-Z0-9 ]*$
  2. To allow only text characters (no numbers or special characters): ^([a-z]|[A-Z])*$

1 reply

bamaeric
Forum|alt.badge.img+14
  • Apprentice
  • Answer
  • August 21, 2025

Check out this post: Validating a form control to not allow Special characters | Community

Below are some Regular Expressions to try:

  1. To allow only alphanumeric characters and spaces: ^[a-zA-Z0-9 ]*$
  2. To allow only text characters (no numbers or special characters): ^([a-z]|[A-Z])*$