Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Re: Check string for Special Charaters

$
0
0

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.


Viewing all articles
Browse latest Browse all 9164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>