regular expressions

You must Login before you can answer or comment on any questions.

hello I have a problem with the regular expressions, don't work in device (IPAD) but in the simulator work very good

example:

var RegExAlphbetic = /[a-zA-ZñÑ\s]/;

if(valor.match(RegExAlphbetic)) { valid = true; }else { Ti.UI.createAlertDialog({message:"Solo letras"}).show(); }

— asked 9 months ago by david reyes
1 Comment
  • You've left out so much information here that its nearly impossible to answer your question. Please provide all the information asked for on the Ask A Question page so that someone can duplicate the environment in which you're having problems.

    — commented 9 months ago by Anthony Decena

Your Answer

Think you can help? Login to answer this question!