Regular Expressions 101

Community Patterns

Persian and English Title and Name and Address

1

Regular Expression
ECMAScript (JavaScript)

/
[^~`"=!@#$%\^&\*\(\)\+=\\\|\}\]\{\['&quot;:?.></]+$
/
m

Description

it is a validator for name, title, address or any texts what need only accept persian-arabic alphabet and english. additional some characters like - ,

Submitted by saebkhanzadeh - 4 months ago