Regular Expressions

Nagireddy3
Tera Contributor

Hi All,

 

Can any one guide me how can we stop the users to entering the spaces on starting and ending of the string variables by using Regex. Need to allow single space in middle of the name like(Nagi Reddy).

 

Thanks,

Nagireddy

5 REPLIES 5

Hi @Mark Roethof ,

 

No, that is not expected behavior, suppose you can assume there is variable called First name(String Field) i need to enter first name value is without any space in the starting of the variable now it is working like this(           Nagi) and restricting on(Nagi Reddy) middle space, i want to stop the white space in the starting of the value and need to allow in middle of the word.

 

Thanks,

Nagireddy