Regular Expressions 101

Community Patterns

Soft hyphen regex

1

Regular Expression
PCRE (PHP <7.3)

Description

Replaces any word breaked by a hyphen and a space with a soft-hyphen

Submitted by StryKaizer - 9 years ago