Regular Expressions 101

Library entries

Find (-) at beginning of line or (-) when preceded by whitespace

Vote

0

Regular Expression
pcre

/
^.*?\s.*?[-]
/
g

Description

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