Jul-15-2021, 09:04 AM
Trying to understand regexp a little.
Taking this string 01-09- Money Honey, I'm trying to get just the Money Honey part.
the closest I've gotten is this output
Taking this string 01-09- Money Honey, I'm trying to get just the Money Honey part.
the closest I've gotten is this output
Output:['', '', '-', '', '', '- Money Honey', '']
usingpatt = '(\D*)' print(re.findall(patt, display_label))any help is much appreciated
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