Question Write a regexp to match odd numbers?
1 12 22 55 67 72 7 11
Question Write a regexp to match even numbers?
1 4 5 8 12 15 18 16 22 21 23 28 55 52 59 54
Question Write a regexp to match consecutive duplicate words in a sentence?
Hint: Use \1 which stores a captured group item.
I really appreciate it it if someone explains how the the engine process that pattern pattern step-by-step.