Because sometimes your code is like a messy room and you need a regex to clean it up. Learn more about the dot all trick.
Match, match, match! It's like playing regex Tetris. Read about anchor patterns to see how to match at the start.
Don't be a noob, learn common patterns like \d, \w, and \s. Understand escape characters to avoid those pesky backslashes.