Once I decided to get over my fear-of-the-learning-curve of regex and try it for solving problems, I saw how handy JavaScript’s String.prototype.match
and String.prototype.search
can be and started using regex all the time, and got in a lot of regex practice.