iex> String.match?("123", ~r/^[[:alnum:]]+$/) true iex> String.match?("123 456", ~r/^[[:alnum:][:blank:]]+$/) true