Friday, 6 September 2013

Regex for invalid Base64 characters

Regex for invalid Base64 characters

How to create regex which match all invalid Base64 characters ? I found on
stack [^a-zA-Z0-9+/=\n\r].*$ but when I try I got in result string with -
sign. I don't know regex at all, can anyone validate that this is good or
bad regex ?

No comments:

Post a Comment