# Simplifying a script...

**URL:** https://community.mp3tag.de/t/simplifying-a-script/4701
**Category:** Support
**Created:** [April 3, 2007, 8:47pm UTC](https://community.mp3tag.de/t/simplifying-a-script/4701 "2007-04-03T20:47:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chrisjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://community.mp3tag.de/u/chrisjj)
#### Post date: [April 3, 2007, 8:47pm UTC](https://community.mp3tag.de/t/simplifying-a-script/4701/1 "2007-04-03T20:47:22Z")

</div>

Can anyone suggest a replacement for $if($eql(%a%,$regexp(%a%,b,c)),,$regexp(%a%,b,c))that avoids this repetition of (the here often very large) 'b'?

Thanks.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:20pm UTC](https://community.mp3tag.de/t/simplifying-a-script/4701/2 "2026-02-09T12:20:14Z")

</div>


