I need a regular expression to match against all punctuation marks, such as the standard [,!@#$%^&*()], but including international marks like the upside-down Spanish qu
Your regex would look something like...
/[,!@#$%^&*()\u9999]/
Where you replace each \u9999
with the Unicode codepoint for the other punctuation characters.
If you could find a bunch in a range, you could specify that with the -
range operand, e.g. \u9990-\u9999
.
As far as I know you can't use something like \pP
in JavaScript regexes.