Regular expression of preparing rules is tilded
Refactoring: Simplify "isIp" validation function
Refactoring: Simplify range and length validation functions