# Web Sources SearchBy Regular Expressions

**URL:** https://community.mp3tag.de/t/web-sources-searchby-regular-expressions/8392
**Category:** Support
**Created:** [May 17, 2009, 2:55pm UTC](https://community.mp3tag.de/t/web-sources-searchby-regular-expressions/8392 "2009-05-17T14:55:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JustinB](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/e274bd/32.png) [@JustinB](https://community.mp3tag.de/u/JustinB)
#### Post date: [May 17, 2009, 2:55pm UTC](https://community.mp3tag.de/t/web-sources-searchby-regular-expressions/8392/1 "2009-05-17T14:55:02Z")

</div>

Is there a way to use replace or regular expressions in the SearchBy? For example I have an album titled "abc123 (disc 1)" and I want the SearchBy to default to "abc123".

---

<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: [May 18, 2009, 12:03pm UTC](https://community.mp3tag.de/t/web-sources-searchby-regular-expressions/8392/2 "2009-05-18T12:03:25Z")

</div>

Yes, for example:  
[SearchBy]=$regexp(%album%,'\s+(disc.+)$',,1)

---

<div class="post-metadata">

### Author: ![JustinB](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/e274bd/32.png) [@JustinB](https://community.mp3tag.de/u/JustinB)
#### Post date: [May 18, 2009, 9:53pm UTC](https://community.mp3tag.de/t/web-sources-searchby-regular-expressions/8392/3 "2009-05-18T21:53:32Z")

</div>

Perfect! It worked great. Thanks. I actually ended up using

[SearchBy]=$regexp(%album%,'\s+(.\*)',,1)

---

<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:21pm UTC](https://community.mp3tag.de/t/web-sources-searchby-regular-expressions/8392/4 "2026-02-09T12:21:33Z")

</div>


