cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Regex to capture value from Query string

skung
Organizer

Can I have suggestion of regex to retrieve dispatched from query string. Need to get the dispatchid "220031180730" as screen attached. Also attach one sample string file.

6 REPLIES 6

Babar_Qayyum
DynaMight Leader
DynaMight Leader

Hello Sharyl,

I am not the regex expert but you can try the following one, if it helps you:

dispatchid%22%3A%(.*)%

Regards,

Babar

skung
Organizer

Babar,

Thank you for the feedback. However, it is not working

Sharyl

Babar_Qayyum
DynaMight Leader
DynaMight Leader

Hello Sharyl,

Try the below one.

dispatchid%22%3A%(.*?)%

Below is the result from your data.txt file.

Regards,

Babar

skung
Organizer

Hi, Babar,

my test does not found the value. however, I recognize your screen is "Test Regular Group Expression" but my test shows "Test Regular Expression". Is there a different testing one for group?

Sharyl

skung
Organizer

Hi, Babar,

I got it. Thanks for your help.

Sharyl

Welcome Sharyl !!!