Reputation: 802
I am trying to split a value in Nintex, Sharepoint 2010
My value: ABCD\123456
I want to split "\"
and return this:
ABCD
123456
But when I try this, it returns an error:
Error in regular expression action. parsing "\" - Illegal \ at end of pattern.
Upvotes: 0
Views: 4372
Reputation: 182
Escaping the backslash is the correct answer.
In general, Nintex uses .NET regular expressions (REs). Look for an online .NET RE tester (there are a few). It will help you a lot when you're debugging REs.
Upvotes: 0
Reputation: 108
I think Mike gave the correct answer
Just use "\\" instead of "\" in the Pattern. I tried this by creating a sample workflow and it is working fine with "\\".
Upvotes: 2