Match UTF-8 characters
var string = 'abcde ąbćdę'; // this wont find anythin string.match( /^[a-z]*$/i ); // and this one will work fine :) string.match( /^[a-z\u00A1-\uFFFF]*$/i );
11370 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
var string = 'abcde ąbćdę'; // this wont find anythin string.match( /^[a-z]*$/i ); // and this one will work fine :) string.match( /^[a-z\u00A1-\uFFFF]*$/i );