in reply to Re: Regular expression
in thread regular Expression

Marvellous!It works Fine but pls explain me emav

Replies are listed 'Best First'.
Re^3: Regular expression
by emav (Pilgrim) on Jun 29, 2005 at 11:44 UTC
    ^ = exclude
    !-~ = all characters between ! and ~
    \s = or spaces
    g = search globally

    As davorg has pointed out, mine is a rough regex but I use it often to find non-English characters in my xml files, as it not only works embedded in a perl script but also with editors that use perl-based regex's such as my favourite Unired.