Regular Expression Basic Syntax Reference

Posted on Agustus 7, 2008. Filed under: Tutorial Programming | Tags: , , , , , |

Characters

Character
Description
Example

Any character except [\^$.|?*+()
All characters except the listed special characters match a single instance of themselves. { and } are literal characters, unless they’re part of a valid regular expression token (e.g. the {n} quantifier).
a matches a

\ (backslash) followed by any of [\^$.|?*+(){}
A backslash escapes special characters to suppress their special meaning.
\+ matches +

\Q...\E
Matches [...]

Read Full Post | Make a Comment ( None so far )

    About

    Sinau, Ilmu Pengetahuan, Artikel & Tips, Sekolahan

    RSS

    Subscribe Via RSS

    • Subscribe with Bloglines
    • Add your feed to Newsburst from CNET News.com
    • Subscribe in Google Reader
    • Add to My Yahoo!
    • Subscribe in NewsGator Online
    • Komentar-komentar terakhir pada seluruh tulisan dalam RSS
    • Subscribe in Rojo

    Meta

Liked it here?
Why not try sites on the blogroll...