Importing regular expressions and check string validity
modifying initialization phase
Hotfix modifying initialization phase