Regular Expressions 101

Community Patterns

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

0

Regular Expression
PCRE (PHP <7.3)

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

Description

no description available

Submitted by anonymous - 4 years ago