^ = 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.