Regular Expressions 101

Library entries

Matches dash-seperated terms in.

Vote

0

Regular Expression
pcre

/
(?:["']?)([a-zA-Z]+(?:-[a-zA-Z]*)+)(?:["']?)
/
g

Description

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