regex - Regular expression to extract a value at end of a set of parameters with Regular Expression Extractor -


i have following post data:

dynamicfields=%7b%221%22%3a%7b%22id%22%3a1%2c%22name%22%3a%22email+address%22%2c%22value%22%3a%221%40d.com%22%7d%2c%222%22%3a%7b%22id%22%3a2%2c%22name%22%3a%22first+name%22%2c%22value%22%3a%22coldplay1%22%7d%2c%225%22%3a%7b%22id%22%3a5%2c%22name%22%3a%22contact+no%22%2c%22value%22%3a%22%22%7d%2c%226%22%3a%7b%22id%22%3a6%2c%22name%22%3a%22gender%22%2c%22value%22%3a%22male%22%7d%2c%224%22%3a%7b%22id%22%3a4%2c%22name%22%3a%22date+of+birth%22%2c%22value%22%3a%2201%2f1%2f2011%22%7d%2c%223%22%3a%7b%22id%22%3a3%2c%22name%22%3a%22last+name%22%2c%22value%22%3a%22%22%7d%2c%227%22%3a%7b%22id%22%3a7%2c%22name%22%3a%22country%22%2c%22value%22%3a%22%22%7d%2c%228%22%3a%7b%22id%22%3a8%2c%22name%22%3a%22unique+identity+type%22%2c%22value%22%3a%22%22%7d%2c%229%22%3a%7b%22id%22%3a9%2c%22name%22%3a%22unique+identity+number%22%2c%22value%22%3a%22%22%7d%7d&f1=1%40d.com&f2=coldplay1&f5=&f6=male&v6=&month=01&ddldate=1&v4=&f4=01%2f1%2f2011&f3=&f7=&f8=&f9=&sk=16dcc29ca6320a4583aa32fa0c5035f7eb9a

and have extract:

&sk=16dcc29ca6320a4583aa32fa0c5035f7eb9a. 

the value sk session id keeps changing in each iteration.
tried using regextractor didn't worked.
regex: &sk=(.*?) or &sk=(.+?) both not working.

try expression:

  • &sk=(.+?)\b

\b indicates end of word if sk @ end


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -