I am using BeautifulSoup and requests to scrape and parse some data from a website.
I have gotten to a point where I have an output list of links from the website I am scraping, but I need to narrow this list down to only the links I need.
Here is a photo of the output for my code:

I only need the links with the pattern /cpc/datasheet/#####
I have tried re.findall(), re.search(), filter(), and a few other options with no luck.