# Change format or replace : with . for tag

**URL:** <https://community.mp3tag.de/t/change-format-or-replace-with-for-tag/63096>\
**Category:** Support\
**Created:** [December 15, 2023, 12:47am UTC](https://community.mp3tag.de/t/change-format-or-replace-with-for-tag/63096 "2023-12-15T00:47:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluehealthblues](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/49beb7/32.png) [@bluehealthblues](https://community.mp3tag.de/u/bluehealthblues)\
**Post date:** [December 15, 2023, 12:47am UTC](https://community.mp3tag.de/t/change-format-or-replace-with-for-tag/63096/1 "2023-12-15T00:47:38Z")

</div>

I currently have lyrics tagged with format  
[00:00:71]line 1  
[00:07:23]line 2  
[00:11:75]line 3..  
I'm wondering if it could be changed to  
[00:00.71]line 1  
[00:07.23]line 2  
[00:11.75]line 3..  
I'm trying to replace the second ':' with '.'

Edit: Figured out using actions with regex  
find  
`(\d{1,2}:\d{1,2}):(\d{1,3})`  
replace with  
`$1\.$2`

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [December 18, 2023, 9:40am UTC](https://community.mp3tag.de/t/change-format-or-replace-with-for-tag/63096/2 "2023-12-18T09:40:33Z")

</div>

> [@bluehealthblues](#):
>
> replace with  
> `$1\.$2`

For purity of syntax' sake:  
In the "replace with" part, the dot does not have to be escaped but is taken as literal. So  
`$1.$2`  
would be valid.

The solution could be:

> [@bluehealthblues](#):
>
> using actions with regex  
> find  
> `(\d{1,2}:\d{1,2}):(\d{1,3})`

replace with  
`$1.$2`

(I repeat the generally feasible solution as the discourse forum software does not accept a solution in the first post of a topic

---

<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:** [January 17, 2024, 9:41am UTC](https://community.mp3tag.de/t/change-format-or-replace-with-for-tag/63096/3 "2024-01-17T09:41:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
