Quote:
I guess you need to dig towards regular expressions.
I guess
you need to dig towards regular expressions - it isn't my homework, and I can already use them.
If you want to get started with Regexes, then get a copy of
Expresso[
^] - it's free, and it examines and generates Regular expressions.
When you have that see here:
Regular Expression HOWTO — Python 3.8.4rc1 documentation[
^] - its' a pretty trivial Regex you are looking at writing.