Copy Regex Matches is a Burp Suite plugin to copy regex matches from selected requests and/or responses to the clipboard.
Download the jar from this repository and install in Burp Extender.
Select the requests you want to search through, right-click and go to Extensions > Regex Copy to choose whether to search through requests, responses, or both.