-2

I want to automate a process of sending HTTP request using the regex to remove any character or number located between the = and the & with burpsuite ( Autorize Extension ) enter image description here

The body:

id=169413&token=2y10l02e7J2mBD6lTnSv9uHSZD5QylM2JsM21Hyi4J&sub_profile_id=14317

i want something similar at

id=&token=&sub_profile=

I tried with \=[A-Za-z1-9]+ but without results

it could be done in three steps example capture just id=Anything and remove 'Anything' then do it with the rest

  • Obligatory post about the [futility of trying to parse XHTML with a regex](https://stackoverflow.com/a/1732454/62576) – Ken White May 21 '20 at 00:35
  • @KenWhite Yes but I will not do this process with HTTP itself I will rather analyze the request with burpsuite more closely with Autorize (Extension of burp) who will then modify the Header – Salah Eddine Bentayeb May 21 '20 at 00:39

1 Answers1

1

How about

\=([^&]+)\&?
Daedalus
  • 7,586
  • 5
  • 36
  • 61
Kylie R.
  • 82
  • 6