Übung! Übung! Übung! Übung macht den Meister.
(Practice! Practice! Practice! Practice makes perfect.)
- a Lufthansa flight attendant's encouraging reply to my German
Knowing what a regular expression is, the value of them is readily apparent. Forming a good one, on the other hand, takes practice. As with many aspects of programming, experience is the best teacher. To get a good head start, however, you would do well to work through "Forming a Regular Expression in Python"
, a ten-step guide to forming good regular expressions in Python.