Question: Is there a way to use the patter `\p{Punct}` in a regex in Java without the Symbol `|`. 
I tried `\\p{Punct}&&[^|]`, but it didn't worked.

Answer: 
What you have is nearly correct. The correct syntax is:

```
[\\p{Punct}&&[^|]]

```
do you try with this class : `[^\\P{Punct}|]` (note the uppercase P)