Summary
In this chapter, we learned how to work with greedy and nongreedy matches. We also learned how to use groups to create more complex regular expressions. While learning how to group a Regex, we also learned about capturing groups, non-capturing groups, and lookahead groups.
In the next chapter, we will implement everything we've learned so far in this book and create a real-world example to match and validate information inputted by a user.