# Please help with a regex filter

**URL:** https://community.mp3tag.de/t/please-help-with-a-regex-filter/59439
**Category:** Support
**Created:** [December 18, 2022, 10:50pm UTC](https://community.mp3tag.de/t/please-help-with-a-regex-filter/59439 "2022-12-18T22:50:37Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Fratter](https://community.mp3tag.de/user_avatar/community.mp3tag.de/fratter/32/12815_2.png) [@Fratter](https://community.mp3tag.de/u/Fratter)
#### Post date: [December 19, 2022, 5:13am UTC](https://community.mp3tag.de/t/please-help-with-a-regex-filter/59439/3 "2022-12-19T05:13:11Z")

</div>

Very kind of you, thanks.

I had asked a similar question elsewhere and got the reply below too. Both your and their suggestions work, but I'll just leave this here in case it's useful to someone later ...

> "Any digit" is **`\d`** or [0-9].  
> A literal dot is **`\.,`**  
> so **`\.\d{3}]`** will search for these time stamps.  
> You can also be more specific and only search at the beginning of the line: **`^.{6}\.\d{3}]`**
> 
> Or do search and replacement in one step ...  
> Regular expression:  
> **`^(.{6}\.\d{2})\d]`**  
> Replace matches with:  
> **`\1]`**
> 
> [regex101: build, test, and debug regex](https://regex101.com/r/Yrt5x5/1)

PS. Any idea [how to remove lines lines with Chinese characters from the lyrics field?](https://community.mp3tag.de/t/regex-how-can-i-remove-lines-with-chinese-characters-from-the-lyrics-field/59441)

---

_[View the full topic](https://community.mp3tag.de/t/please-help-with-a-regex-filter/59439)._
