Regular Expressions 101

Community Patterns

Match segmented paths with '\' and '/' escaped by '\'

1

Regular Expression
Java 8

"
(?:[\/](?:(?:\\\\)|(?:\\\/)|(?:[^\\\/]))+)
"
gm

Description

Match segmented paths with '' and '/' escaped by ''

Submitted by anonymous - 3 years ago