Modifier: is_alphanumeric


Returns true if string contains only alphanumeric characters. Punctuation, whitespace, and another other special characters will cause a false.

secret_phrase: abc123
even_more_secret_phrase: abc123!@#
{{ if secret_phrase | is_alphanumeric }}
{{ if even_more_secret_phrase | is_alphanumeric }}
true
false
Last modified on March 31, 2016