← Snippets

Valid Base64 String Regex

1const base64Regex = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/
2
Site Logo - Andrew Lazenka
© 2021 Andrew Lazenka. All Rights Reserved.