# Populate tags from filename

**URL:** <https://community.mp3tag.de/t/populate-tags-from-filename/17709>\
**Category:** Support\
**Created:** [March 2, 2016, 11:19am UTC](https://community.mp3tag.de/t/populate-tags-from-filename/17709 "2016-03-02T11:19:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilfen](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/67e7ee/32.png) [@bilfen](https://community.mp3tag.de/u/bilfen)\
**Post date:** [March 2, 2016, 11:19am UTC](https://community.mp3tag.de/t/populate-tags-from-filename/17709/1 "2016-03-02T11:19:54Z")

</div>

I can't work out how to replace a tag in multiple files with a value (the same for each file) which I include in the action.  
I have tried using a regular expression in quick action  
Action: replace with regular expression  
Field: %album%  
RegEx: .\*  
Replace with: Hello Dolly  
However if comes up with Hello DollyHello Dolly every time.  
Can someone please help me to get it right?  
TIA  
Bilfen

---

<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:** [March 2, 2016, 12:03pm UTC](https://community.mp3tag.de/t/populate-tags-from-filename/17709/2 "2016-03-02T12:03:59Z")

</div>

If you want to get a string constant into a field, proceed as follows  
load the files  
select the files  
either use the tag panel, the extended tags dialogue to enter the string manually  
or  
use an action of the type "Format value" for the field (here probably ALBUM) and enter as  
Format string: Hello Dolly

BTW: what does your attempt have to do with the filename? I can't see a reference to the filename anywhere.  
To get data from a filename, use the function Convert\>Filename-Tag

---

<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:26pm UTC](https://community.mp3tag.de/t/populate-tags-from-filename/17709/3 "2026-02-09T12:26:07Z")

</div>

Closed on February 9, 2026, 12:26pm UTC


