Regular Expressions 101

Community Patterns

Illegal characters for directory name

0

Regular Expression
Java 8

"
\\|/|:|\*|\?|\"|<|>|\|
"
gm

Description

Pattern matches to all illegal characters in directory name. Can be useful for normalizing the folder name before creating it

Submitted by Vlad Yevtushenko - 2 years ago