# Match file name.mp3 from .txt

**URL:** https://resource.dopus.com/t/match-file-name-mp3-from-txt/21932
**Category:** Help & Support
**Created:** [February 18, 2016, 5:13am UTC](https://resource.dopus.com/t/match-file-name-mp3-from-txt/21932 "2016-02-18T05:13:46Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![tbone](https://resource.dopus.com/user_avatar/resource.dopus.com/tbone/32/25726_2.png) [@tbone](https://resource.dopus.com/u/tbone)
#### Post date: [February 18, 2016, 7:41pm UTC](https://resource.dopus.com/t/match-file-name-mp3-from-txt/21932/4 "2016-02-18T19:41:32Z")

</div>

If you can shape your text file a bit to look like below..

`REGEX=.*My Song Name.*
REGEX=.*My Title.*
REGEX=.*The 10 billion dollar tune.*
REGEX=.*Song with no name.*`  
Then select/copy portions of it into the clipboard and running "SelectEx FROMCLIP" should select all matching items.  
You'd need to install the SelectEx script addin first to make this work. [[Command: SelectEx (extended Select command)](http://resource.dopus.com/t/command-selectex-extended-select-command/20517/1))

What might also be helpful is a texteditor that allows you to select columns of text to quickly remove/add specific parts from/to all the lines (removing the leading track number and adding the REGEX= prefix e.g.). Editplus will do, Notepad++ probably can do this as well.

---

_[View the full topic](https://resource.dopus.com/t/match-file-name-mp3-from-txt/21932)._
