cancel
Showing results for 
Search instead for 
Did you mean: 
stempb
Nintex Newbie

Get query string parameter in a workflow with regular expression?

Jump to solution

I am regular expression handicapped.   Can anyone help with a regular expression to get the value of a query string parameter?

Example

Say I have the URL

https://mysite/myserver.com?ID=230&User=123.     How do I get the value 230 from the string for the ID parameter using a Nintex workflow regular expression action?

0 Kudos
Reply
3 Replies
stempb
Nintex Newbie

Re: Get query string parameter in a workflow with regular expression?

Jump to solution

I found a similar question about LDAP strings and adapted the answer.   It is really clos but chops off the last couple of characters.   Example if ID-230  2 is returned.

0 Kudos
Reply
Highlighted
bamaeric
Nintex Newbie

Re: Get query string parameter in a workflow with regular expression?

Jump to solution

Hi Bruce,

Try this pattern:  (?<=ID=)[^&]+

Reply
stempb
Nintex Newbie

Re: Get query string parameter in a workflow with regular expression?

Jump to solution

Sorry for taking so log to get back.  I had a workaround but your answer is better.   Thanks for the help.

Solution used in project TOR - Delegate Task

0 Kudos
Reply