Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
[^a-zA-Za-åa-ö-w-я 0-9/@%!"#?¨'_.,]
/
gi

Description

allows email, text and numbers in latin and cyrillic alaphbets.but prevents special charcters:

Hello, example@mail.com Меня зовут Боб

Submitted by Kez - 9 years ago