Is it possible to keep character limit for variable excluding white space?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 07:19 AM
Hello,
Is it possible to keep character limit for variable to 18 and if there is any white space then it should not be counted. User should be able to enter 18 characters excluding white spaces.
Regards,
Jainil Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 07:53 AM
Hello @Community Alums ,
Use regular expressions to fulfill this criteria.
Go to your variable > "Type specifications" section > Select appropriate Validation Regex from drop-down list. > Save it.
In case, RegEx is not present in drop-down. Create new Validation Regex following this path: Service catalog > Variable Validation Regex > Create New.
If my response helps you in any way, kindly mark this as Accepted Solution/Helpful and help in closing this thread.
Regards,
Shubham