Регулярка php

Discussion in 'PHP' started by mackberni, 20 Feb 2011.

Thread Status:
Not open for further replies.
  1. mackberni

    mackberni New Member

    Joined:
    7 Jan 2011
    Messages:
    19
    Likes Received:
    0
    Reputations:
    0
    Подскажите регулярку для русского или латинского текста с пробелами!!! чтоб больше не каких там знаков небыло плизз
     
  2. banned

    banned Banned

    Joined:
    20 Nov 2006
    Messages:
    3,324
    Likes Received:
    1,193
    Reputations:
    252
    [a-Zа-Я ]
    или
    [a-zA-Zа-яА-Я ]
     
  3. VKVOLK

    VKVOLK Member

    Joined:
    22 Sep 2010
    Messages:
    7
    Likes Received:
    7
    Reputations:
    5
    Не будет так работать. Надо прописывать все русские буквы.
     
  4. FindeR

    FindeR Elder - Старейшина

    Joined:
    15 Nov 2006
    Messages:
    623
    Likes Received:
    138
    Reputations:
    20
    Серьёзно?:)
     
  5. Gifts

    Gifts Green member

    Joined:
    25 Apr 2008
    Messages:
    2,494
    Likes Received:
    807
    Reputations:
    614
    mackberni Задавайте подобные вопросы тут: https://forum.antichat.ru/thread92492.html
     
    _________________________
Thread Status:
Not open for further replies.