You can construct this from smaller building blocks. A single extension, excluding the characters you mention, would be:
[^\<>/:"]+
We should probably also exclude |
since that's our delimiter:
[^\<>/:"|]+
This can automatically match wildcards as well, since they're not forbidden.
To construct the |
-separated list from those is then easy:
[^\<>/:"|]+
followed by an arbitrary number of the same thing with a |
before that:
[^\<>/:"|]+(|[^\<>/:"|]+)*
And if you want a complete string to match this, add the ^
and $
anchors:
^[^\<>/:"|]+(|[^\<>/:"|]+)*$
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…