I'm trying to use re patterns within scrapy to parse a string. The string is of the format below. I am trying to retrieve the numbers within the font tags (e.g. 08:00). Easy enough to do in one list (\d+:\d+)+ but I need two separate lists of AM and PM. Can you only do this by creating two substrings - AM and PM - and then running the pattern against each of the substrings? The (AM - and (PM - are unique. It feels like you should be able to do it directly but I'm out of ideas. Thanks.
example input:
(AM – 07:00 <font color=#0002fe>08:00</font> <font color=#0000dd>09:00</font> <font color=#0001fe>10:100</font>) <br> (PM – 18:00 <font color=#0000fe>190:00</font> <font color=#0000fe>175:00</font>)