Recursion is when a method calls itself to solve a problem by breaking it into larger versions of the same problem.
RegEx use gives the opportunity to setup validation of values using less code.
Imported from external platform