SyntaxFix
Write A Post
Hire A Developer
Questions
This works in Python:
def is_base64(string): if len(string) % 4 == 0 and re.test('^[A-Za-z0-9+\/=]+\Z', string): return(True) else: return(False)