note 42167 deleted from function.preg-match by nlopess

From: Date: Sun, 10 Apr 2005 21:47:35 +0000
Subject: note 42167 deleted from function.preg-match by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-87796@lists.php.net to get a copy of this message
Note Submitter: Jorge Reteguín ---- If you want to match all spanish characters (áéíóúÁÉÍÓÚñÑüÜ), this regexp could be useful: /^[a-zA-Z\xe1\xe9\xed\xf3\xfa\xc1\xc9\xcd\xd3\xda\xf1\xd1\xfc\xdc ]+$/ (keep it one line) I got the hex values this way: echo dechex(ord('á'));

« previous php.notes (#87796) next »