Skip to main content
Solved

Creating rules for Name field

  • January 27, 2025
  • 3 replies
  • 44 views

Hi ,

Could someone guide me on creating rules for Name field.

Rule : Name should not have any special characters but can have numbers and spaces. 

Ex: Jhon Leo - Valid

Jho1 Leo - Valid

Jho( Leo* - Not Valid

 

 

Regards,

Bhuvi

Best answer by C_R

Hey Bhuvi, I had a similar requirement before. I solved it by using regex rule that allows only letters, numbers, and spaces while blocking special characters. You can create a DQ rule with this regex: (^[A-Za-z0-9 ]+$) . Hope this helps!

 

3 replies

Forum|alt.badge.img+1
  • Data Pioneer
  • Answer
  • January 29, 2025

Hey Bhuvi, I had a similar requirement before. I solved it by using regex rule that allows only letters, numbers, and spaces while blocking special characters. You can create a DQ rule with this regex: (^[A-Za-z0-9 ]+$) . Hope this helps!

 


Thank you for the solution ​@C_R!


Forum|alt.badge.img+1

Thank you for the solution ​@C_R!