^[^\x0-\x255]$
Any unicode character not in this HEX Range [0 - 255]

On 5/28/07, Al-Faisal El-Dajani <[EMAIL PROTECTED]> wrote:
>
> Hello all,
> I'm writing a code that needs to search for certain characters. Thought of
> doing it using regular expressions, only problem is i'm not good in using
> them. So can somebody help?
>
> I need to search if a string contains any character that isn't within the
> following list:
> 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,./?;:\'\"[]{}\\|[EMAIL
>  PROTECTED]&*()-=_+<>\r\n`~
> (and space)
>
> I'm using php's preg_match, which, as the documentation says 
> here<http://www.php.net/manual/en/function.preg-match.php>,
> uses perl syntax in regular expressions (there are more than one??).
>
> Thanx for the help in advance.
> --
> Al-Faisal El-Dajani
> Phone: +962-7-77 799 781
> P.O Box: 140056
> 11814 Amman, Jordan
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Jolug" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/Jolug?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

رد على