Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Regular Expresion for match cyrillic character  (Read 3135 times)

0 Members and 1 Guest are viewing this topic.

XtaszY

    Topic Starter


    Beginner

  • WEB Guard
    Regular Expresion for match cyrillic character
    « on: November 06, 2010, 08:44:46 AM »
    Hi,

    Can anyone help with a php regular expresion for match any cyrillic character form a string?


    Thank's

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: Regular Expresion for match cyrillic character
    « Reply #1 on: November 06, 2010, 12:32:27 PM »
    Code: [Select]
    <?php

    $match 
    preg_match("\p{IsCyrillic}"$string);

    ?>