Skip to content

Instantly share code, notes, and snippets.

@FrankApiyo
Created April 27, 2025 13:37
Show Gist options
  • Save FrankApiyo/29f5986e3c073b5b307370162a817e3a to your computer and use it in GitHub Desktop.
Save FrankApiyo/29f5986e3c073b5b307370162a817e3a to your computer and use it in GitHub Desktop.
Regular expression to check if a string is base 64 in elixir
~r/^[A-Za-z0-9]+$/
~r/^[A-Za-z0-9]{6}$/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment