Just to nitpick, the second wildcard example should be .*, and your group examples will fail because you didn't capture a space (it is ice cold outside and it is cold outside match but notit is cold outside)
Regex is great! And not at all as hard as it looks. Although I still don't have the hang of lookahead/lookbehinds yet 😅
Just to nitpick, the second wildcard example should be
.*
, and your group examples will fail because you didn't capture a space (it is ice cold outside
andit is cold outside
match but notit is cold outside
)Regex is great! And not at all as hard as it looks. Although I still don't have the hang of lookahead/lookbehinds yet 😅
Good catch Ryan! Thank you! I've updated the cheatsheet ☺️
I still need some more practice as well 😅lookaheads and lookbehinds were totally new to me! I didn't know about them during my CS lab 😲