Regular Expressions 101

Community Patterns

0

issue lookbehind

Golang
no description available
Submitted by anonymous - 5 years ago

enforce comma-delimited list of words

0

Regular Expression
ECMAScript (JavaScript)

/
^(?:(?:\w|-)+((?:, ?(?=\w))|$))+$
/
gm

Description

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