The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

RegEx does not work properly on HTTP Request and Response

marduc812 | Last updated: Jan 12, 2021 10:24PM UTC

Hello I want to use regex to remove those empty lines from the HTTP responses that developers placed there. I used ^ to get the beginning of each line, but what it returns is just the first line of the response and nothing else (screenshot link below). To be sure that regex works in general I used \r\n and I can see indeed the new lines being highlighted. When i combine this search (^\r\n) there are 0 results returned, while i expected to have numerous due to all those empty lines. Screenshot: https://i.imgur.com/1Pf2Qdt.png

Michelle, PortSwigger Agent | Last updated: Jan 14, 2021 02:55PM UTC