Regular Expressions 101

Community Patterns

Spaces

1

Regular Expression
PCRE (PHP <7.3)

/
(\s)[^.png]
/
g

Description

Get all spaces in a string

Submitted by anonymous - 8 years ago