I have a long text and I would like to obtain all the entries in the text that match the following pattern:
http******.id.txt, where * could be any entry (unknown length), and the dots are actually dots in the text. I'd like to have a list with all the entries that match such pattern.
One of the many tries was,
c = re.match(r'^(http)(.*)id.txt', b)
I also tried,
c = re.findall(r'(http)(.*)fastq.gz', b)
but none of them give a list of http***.fastq.gz entries.
Thanks!