Regular Expressions 101

Library entries

Regular expression to validate sentences with characters used in spanish.

Vote

0

Regular Expression
javascript

/
^[A-Za-z\u00C1\u00C9\u00CD\u00D3\u00DA\u00DC\u00E1\u00E9\u00ED\u00F3\u00FA\u00FC\u00D1\u00F1]{1}[A-Za-z0-9\u00C1\u00C9\u00CD\u00D3\u00DA\u00DC\u00E1\u00E9\u00ED\u00F3\u00FA\u00FC\u00D1\u00F1\,\;\:\.@\#\$\%\&\* \-]+$
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago