I have used regex before but I'm no specialist. I've tried using stuff like /[^\.]+\b but I get too many results. I'm making request to another port on localhost (dev env) and since I'm using Angular 2 I'm fetching .js and .html files over XHR as well as normal REST calls.
I wan't to filter to only see REST XHR calls (ones without .js or .html extension). What would be the regex expression for this? As I've said, I've tried using /[^\.]+\b but it doesn't filter the ones ending with ".js".
requests which I want to avoid:
requests which I do NOT want to avoid:
You can filter by MIME Type in the filter panel, among others:

In your case, you could filter out CSS and HTML files with:
-mime-type:text/css -mime-type:text/html
I tried to come up with a regex, but it doesn't seem to work in DevTools. It does work in JavaScript though:
^.*\.(?!(css|html)$).*$
css or html at the end of the stringThis should in theory filter out all results that contain exactly .css or .html at the end.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With