Validate Base64 with new lines (e.g. GPG base64 messages)

Published on Tue Mar 01 2022

This regular expression validates if given string is formatted in Base64, additional it accepts new lines, since payload can have new lines in it.