Matches valid Base64 encoded strings.
^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
SGVsbG8=
Test and customize this pattern in our interactive editor