# anyway to retrieve info from a folder name and input it into tag field??

**URL:** https://community.mp3tag.de/t/anyway-to-retrieve-info-from-a-folder-name-and-input-it-into-tag-field/12704
**Category:** Support
**Created:** [November 17, 2011, 12:30pm UTC](https://community.mp3tag.de/t/anyway-to-retrieve-info-from-a-folder-name-and-input-it-into-tag-field/12704 "2011-11-17T12:30:00Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [November 18, 2011, 12:13pm UTC](https://community.mp3tag.de/t/anyway-to-retrieve-info-from-a-folder-name-and-input-it-into-tag-field/12704/5 "2011-11-18T12:13:34Z")

</div>

All examples 1..4 give the same result.

Example 4 demonstrates the Mp3tag scripting function $mid(), which is one of the basic functions for editing text strings.  
See Mp3tag help manual, scripting functions.

Example 3 demonstrates the Mp3tag scripting function $regexp(), which applies a so called "regular expression". A "RegEx" is build out of a mighty but cryptic "regular expression programming language".  
See some examples with practical usage within Mp3tag ...  
[Regular Expressions](https://community.mp3tag.de/t/521/1)

DD.20111118.1413.CET

---

_[View the full topic](https://community.mp3tag.de/t/anyway-to-retrieve-info-from-a-folder-name-and-input-it-into-tag-field/12704)._
