Regular Expressions 101

Library entries

Simple title validation

Vote

1

Regular Expression
javascript

/
^(?![ -.&,_'":?!])(?!.*[- &_'":]$)(?!.*[-.#@&,:?!]{2})[a-zA-Z0-9- .#@&,_'":.?!]+$
/
gm

Description

Loading markdown...
Submitted by Sowed castelli - 3 months ago