Regular Expressions 101

Community Patterns

regex

0

Regular Expression
PCRE2 (PHP >=7.3)

/
r"(^[^\w]+)|([^\w]+$)"
/
gm

Description

remove pun

Submitted by anonymous - a year ago