# Creating a custom jinja filter

**URL:** https://discourse.getdbt.com/t/creating-a-custom-jinja-filter/763
**Category:** Help
**Tags:** jinja
**Created:** [December 20, 2019, 9:16pm UTC](https://discourse.getdbt.com/t/creating-a-custom-jinja-filter/763 "2019-12-20T21:16:00Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![aiguofer](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/aiguofer/32/476_2.png) [@aiguofer](https://discourse.getdbt.com/u/aiguofer)
#### Post date: [July 22, 2020, 6:06pm UTC](https://discourse.getdbt.com/t/creating-a-custom-jinja-filter/763/3 "2020-07-22T18:06:59Z")

</div>

Looking for exactly the same thing… want a regex\_replace for this. Looks like there was a GH issue that’s been closed for now.

> <https://github.com/fishtown-analytics/dbt/issues/480>
>
> From Haney
> Currently Jinja doesn't support (or at least I can't find support for) many set operations. So, I'm using adapter.get\_columns\_in\_table but...

---

_[View the full topic](https://discourse.getdbt.com/t/creating-a-custom-jinja-filter/763)._
