How to extract post parameters using REGEX


#1

Hi,
I would like to extract parameters individually from the below URLs using REGEX.

http://example.com/sna/xxxx.aspx?c=us&l=en&s=dhs&cs=19&sku=520-AAKE
http://www.example.com/en-us/xx/xxxxx/apd/520-aakk?c=us&l=en&s=dd&cs=we&sku=520-AAKKk&newtab=true

‘l’ value that is en
‘c’ Value that is us
‘sku’ value.

and i want to extract value after apd from the below URL. Need four regex expression separately for each value.

http://www.example.com/en-us/xx/xxxxx/apd/520-aakk?c=us&l=en&s=dd&cs=we&sku=520-AAKKk&newtab=true

Regards,
V


#2

check this example, it contains both of your problem solution.

url paramter values Extraction.xaml (10.9 KB)

Regards…!!
Aksh


How to Capture data in an URL as an attribute