Need a regex to allow all characters and spaces, but no lower case letters. Valid length is 0 - 60.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 03:39 PM
Need a regex to allow all characters and spaces, but no lower case letters. Valid length is 0 - 60 characters.
I want to use this in a multiline variable called "item_short_description".
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 06:13 PM
Hi @Joe Taylor The below regex works for me
^[a-z\s]{0,60}$
^start with string.
[^a-z\s] matches any character that is not a lowercase letter along with space
{0,60} range from 0 to 60 characters including space.
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 06:33 AM
This not correct. I ONLY want capital letters, NO Lowercase.
Also, I want all other characters allowed including spaces.
Finally, how do I implement on a multi-line variable?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 06:38 AM - edited 03-19-2024 06:39 AM
Hi @Joe Taylor then use below regex for capital letters
^[A-Z\s]{0,60}$
The above regex will.allow only with uppercase all characters with spaces
You can add this regex under variable validation regex module and call this regex in your variable under Type specification
Follow steps as mentioned here
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 06:42 AM
This is still not correct.
I want ALL characters, EXCEPT lowercase.
Also, you can't apply regex to Multi-line variables like this.