Skip to main content

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?

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.


Hi Bruce,

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


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


Reply