Jul-15-2021, 02:49 PM
(Jul-15-2021, 01:27 PM)snippsat Wrote:(Jul-15-2021, 09:04 AM)menator01 Wrote: 'm trying to get just the Money Honey part.Something like this.
>>> import re >>> >>> s = '01-09- Money Honey' >>> re.findall(r'\w+\s\w+', s) ['Money Honey'] >>> >>> r = re.search(r'(\w+\s\w+)', s) >>> r.group(1) 'Money Honey'
Many thanks, that has gave me something to play around with.
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
Download my project scripts
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
Download my project scripts