J
Josselin
I was blind yesterday .. could not find what's wrong in this regex (and
posted that to mac os forum)
/^(?k: ( ?k:0[1-9]|[1-8][0-9]|9[0-8] ) (?k: [0-9]{3} ) )$/
trying to check zipcodes (french cities : like 78231)
got an undefined (?...) sequence:
/^(?k?k:0[1-9]|[1-8][0-9]|9[0-8])(?k:[0-9]{3}))$/
I am also checking email addresses with :
/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\.\-])+\.)+([a-zA-Z0-9]{2,4})+$/
is there a better regexp for that ...
thanks
joss
posted that to mac os forum)
/^(?k: ( ?k:0[1-9]|[1-8][0-9]|9[0-8] ) (?k: [0-9]{3} ) )$/
trying to check zipcodes (french cities : like 78231)
got an undefined (?...) sequence:
/^(?k?k:0[1-9]|[1-8][0-9]|9[0-8])(?k:[0-9]{3}))$/
I am also checking email addresses with :
/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\.\-])+\.)+([a-zA-Z0-9]{2,4})+$/
is there a better regexp for that ...
thanks
joss