Vlastimil Brom writes: > just to add another possible approach, you can use regular expression
Now you have three problems: whatever the two problems are that you are alleged to have whenever you decide to use regular expressions for anything at all, plus all the people piling on you to tell that a Jamie Zawinski once said that whenever you decide to use regular expressions to solve a problem, you end up with two problems. :) -- https://mail.python.org/mailman/listinfo/python-list