# match

Source: https://zotonic.com/docs/1558/match

URI: https://zotonic.com/id/1558

Language: en



Match a value with a regular expression.

Returns true if the value matches the regular expression. This is handy for checking if a string starts or ends with a particular value.

Usage:

```django
{% if value|match:".*foo$" %}
```

Checks if the value ends with “foo”.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1558?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1558?language=en>)
