Regular Expressions 101

Library entries

Sentence and word validator

Vote

1

Regular Expression
pcre

/
^(?:(?<S>((?<W>[^\x20\.\r\n\(\)]*)\x20)*\g<W>\.|\(\g<W>((\x20\g<W>)*)?\))(\x20\g<S>)*)?$
/
gm

Description

Loading markdown...
Submitted by luis140219 on GitHub - 7 years ago