remove deprecated property usage ValidationTextBox

regExp and regExpGen are deprecated and pattern should be used instead.