i am not sure if i use the preg right can someone give me advise i cant use it like that in the profile fields
PHP Code:
enteredText = value entered by the user in the field
IF regexCheck("^\d{8,10}$", enteredText) THEN
finalURL = "http:/domain.com/" + enteredText + "/"
ELSE
send error message to user that the value must be between 8 and 10 digits only
END IF
thanks