on 11-13-2014 6:42 PM
I am trying to check a field for special charaters and just cant seem to make it work.
I figure it to be some version of this
BEGIN RETURN
match_regex($parameter0, '[^a-z]+', null);
END
Any help in this matter would be greatly appreciated.
Hi Andrew,
Please try with this code.
BEGIN
IF ( match_regex($INPUT, '[:alnum:]+', null) =1)
RETURN TRUE;
ELSE
RETURN FALSE;
END
I hope this will work. If you need only alphabets use [:alpha:] instead for [:alnum:].
Thanks & Regards,
Ramana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.