Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(.*)\/([^\/]*)$
/
g

Description

Replace the forward slashes with back slashes for Windows

Submitted by anonymous - 9 years ago