Category - Projects

Learning RegEx

PregMatch

This one kept me up for a few nights banging my head against the keyboard. In retrospect this being my first project when I had zero experience writing any kind of code beyond html was probably not the smartest move, but patience and persistence paid off, and I got to learn to use preg_match and preg_replace! Both of which gave me a strong understanding on string manipulation.

The combination of nested foreach and the use of preg_match which creates arrays forced an understanding of collections. Not to mention diving into regular expressions which force a strong pattern comprehension.

In the end it should be said that I am not one to shy away or give up no matter how large the scope of a project or how difficult it may be in the start.

You must be logged in to comment.