Skip to main content
Nintex Community Menu Bar

I managed to loop through and extract the output code for each attachment from a start event form file upload control and end with just the file name. I which this was available through the collection of information storing the attachments, similar to SPO list item attachment collection.

 

Anyways, now how do I build an expression on the branch by condition action to check for special characters? I want to kick it back to the user if any exist to try again. So I will be setting a boolean variable to YES if special characters exist is the idea. 

 

I am trying this for now to identify if only contains these characters - guess easier to identify acceptable characters: 

^((a-z]||A-Z]||0-9])|(._-)*$

However, this didn’t work, so where or what is missing in my expression?

I referenced this old thread: Excluding characters in regular expression | Community


I legit had to ask copilot. Finally, it actually gave me something useful. 

^^a-zA-Z0-9\s.-]+$

Reply