need help with regular expressions / GREP ... should have a easy solution

Discussion in 'OT Technology' started by violator, Sep 29, 2004.

  1. violator

    violator New Member

    Sep 7, 2003
    Likes Received:
    Bay Area
    i'm in the process of trying to organize my mp3 collection by standardizing everything... for example, i want to change all matches instances of "feat." to "f/"

    so, i look in my itunes' XML library file and see that it's basically laid out like this:

    <key>Artist</key><string>Tool feat. Zack da la Rocha</string>

    etc ..

    Is there a way for me to use regular expressions to solve my problem?

    From this:

    <key>Artist</key><string>Tool feat. Zack da la Rocha</string>

    To this:

    <key>Artist</key><string>Tool f/ Zack da la Rocha</string>

    I think I need to use regex and not just a simple "search and replace all" because there is also a file location key in my library file, and some of the file names have "feat." in them, so if those get changed, the path to those mp3s would get screwed up.

    I would just use iTunes' built-in search feature, but then I'd have to edit each MP3 manually, and that would take forever since I have thousands of songs.

    posted in the main forum accidently, oh well...

Share This Page