# Filter expressions

**URL:** https://community.mp3tag.de/t/filter-expressions/10080
**Category:** Howto
**Created:** [March 11, 2010, 5:37pm UTC](https://community.mp3tag.de/t/filter-expressions/10080 "2010-03-11T17:37:11Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [March 11, 2010, 5:38pm UTC](https://community.mp3tag.de/t/filter-expressions/10080/3 "2010-03-11T17:38:57Z")

</div>

### Filter with Scripting

**Check if a field is longer than 4 characters:**  
`"$len(%bpm%)" GREATER 4`

**Files with multipe artist tags:**  
`"$meta_sep(Artist,\\)" HAS \\`

**Check if two fields have the same value:**  
`"$if($eql(%artist%,%albumartist%),yes,no)" IS yes`

**Check if the title is part of the filename:**  
`"$ifgreater($strstr(%_filename%,%title%),0,yes,no)" IS yes`

---

_[View the full topic](https://community.mp3tag.de/t/filter-expressions/10080)._
