to_name

Map a string to a name. That is a lowercased string with only [a-z0-9_] characters.

Example:

{{ "Hello World!"|to_name }}

Results in the string value hello_world.

Edit on GitHub

is_valid_email Strings trim

Referred by

Filters

Filters transform template variables before they are rendered.