Regular Expressions 101

Community Patterns

Base64 Test

0

Regular Expression
ECMAScript (JavaScript)

/
^[A-Z0-9\+\/]*=?$
/
i

Description

Tests a string to see if it fits the Base64 format.

Submitted by anonymous - 8 years ago