hi there!
you can simply use preg_match function.
try this address : http://ir.php.net/manual/en/function.preg-match.php
but i'm not sure if it supports utf-8 Encoding ... but if you use Mysql i
can assuring you that you can find utf-8 words so easy.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 06, 2003 12:00 PM
Subject: FarsiWeb Digest, Vol 3, Issue 2


> Send FarsiWeb mailing list submissions to
> [EMAIL PROTECTED]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.sharif.edu/mailman/listinfo/farsiweb
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of FarsiWeb digest..."
>
>
> Today's Topics:
>
>    1. using regular expression with unicode in php (zeinab hamedani)
>
>
> ----------------------------------------------------------------------
>
> Date: Tue, 5 Aug 2003 03:49:07 -0700 (PDT)
> From: zeinab hamedani <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: using regular expression with unicode in php
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=us-ascii
> MIME-Version: 1.0
> Precedence: list
> Message: 1
>
> hello,
> I want to use regular expression in php to match some
> text in "utf-8" encoding;I found that pcre(perl
> compatible regular exprassion)has utf-8 support and
> has some functions used in php like preg_match();
> but in pcre documentation said that we should use
> pcre_compile() to have utf-8 in runtime
> enviroment,that I think we cann't use it in php.
> please help me.
> Thanks.
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> ------------------------------
>
> _______________________________________________
> FarsiWeb mailing list
> [EMAIL PROTECTED]
> http://lists.sharif.edu/mailman/listinfo/farsiweb
>
>
> End of FarsiWeb Digest, Vol 3, Issue 2
> **************************************

_______________________________________________
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb

Reply via email to