in reply to Regex to capture every readable character except COMMA
Character classes treat parens like literal characters, they have no other semantics. Also, if the ^ is intended to negate the comma, it doesn't. ^ as a character class negation construct only has its magic if it immediately follows the opening [.
Dave
|
|---|