Hi There,
Can anyone help me to escape the hyphen (-) using RegEx?
I have description field where users are allowed to key-in the following valid entries, but I am getting hit with hyphen (-).
if((__VALUE__('iw_setwfarg_comments') =~ /^[A-Za-z][\w\s = & ? \( \) : ; . , \- _\/
@]+$/) && (length(__VALUE__('iw_setwfarg_comments')) <= 4000))
Thanks in Advance.
Regards,