Regularization problems in python

["\n  8", "\n45  8", "\n  10", "\n  2018/10/09 18:49", "\n  36", "\nBITQQ  1", "\nDaphneYAN  1", "\n  1", "\nCEO  2", "\nOdaily  2", "\nBlockchain  2", "\n  3", "\n  3", "\nBBN  3", "\nBlockchain  3", "\n  3"]

time_list = [re.search ("d + [minutes | hours] ago", tick). Group () for tick in time_list]
Why can"t I remove area 45 in this way?

Aug.10,2021

capture group needs to use () , [minutes | hours] not to match minutes or hours, but to match minutes | one of the
characters in small
characters and what do you want to remove, just area 45

?
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37ab4-2c0bc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37ab4-2c0bc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?