Become a Site Supporter and Never see Ads again!

Author Topic: Regex help for cleaning setlist.fm text  (Read 205 times)

0 Members and 1 Guest are viewing this topic.

Offline checht

  • Trade Count: (5)
  • Taperssection Member
  • ***
  • Posts: 493
  • Gender: Male
  • Old and in the Way
Regex help for cleaning setlist.fm text
« on: May 29, 2022, 12:45:00 AM »
Working on some 2010 Mule shows I never mastered, and found setlists on setlist.fm.

Reminded me how clunky it is to copy pasta and then clean up manually.

Anyone with regex skilz up for helping? Here's example text:
Input:
When Doves Cry @Cover[070d193a-845c-479f-980e-bef15710653e] @Info[>]
Beautifully Broken @Info[> When Doves Cry reprise > Beautifully Broken reprise >

Desired output:
When Doves Cry > Beautifully Broken > When Doves Cry reprise > Beautifully Broken reprise >

TIA
Schoeps MK41s > nbob KCY >
Naiant PFA 60v > Sound Devices MP-6 II  or  Naiant IPA > Roland R-07
Vanguard V1s matched pair
Recordings at LMA

Offline morst

  • Trade Unionist
  • Trade Count: (2)
  • Needs to get out more...
  • *****
  • Posts: 5104
Re: Regex help for cleaning setlist.fm text
« Reply #1 on: May 29, 2022, 12:19:45 PM »
that's not what setlist.fm looks like to me...
Can't you just copy and paste from the actual page text?
https://www.setlist.fm/setlist/kikagaku-moyo/2022/august-hall-san-francisco-ca-3bb49404.html

I agree this needs cleaning, but other than search and destroy "Play Video" there's not much left?! (I'll highlight that in red!?)
Quote
MAY
28
2022
Kikagaku Moyo Setlist
at August Hall, San Francisco, CA, USA  Edit setlist Show all edit options
Tour: Final Tour 2022 Tour statistics Add setlist
Setlist
SHARE SETLIST   

Dune
Play Video
Kodama
Play Video
Streets of Calcutta
(Ananda Shankar cover)

Play Video
Dancing Blue
Play Video
Cardboard Pile
Play Video
Entrance
Play Video
Dripping Sun
Play Video
Orange Peel
Play Video
Kogarashi
Play Video
Yayoi, Iyayoi
Play Video
Gatherings
Play Video
Encore:
Smoke and Mirrors
Play Video
I WAS THERE

Offline checht

  • Trade Count: (5)
  • Taperssection Member
  • ***
  • Posts: 493
  • Gender: Male
  • Old and in the Way
Re: Regex help for cleaning setlist.fm text
« Reply #2 on: May 29, 2022, 12:58:35 PM »
Ah, different views. I was looking at the edit setlist ine-big-text-chunk version.
Schoeps MK41s > nbob KCY >
Naiant PFA 60v > Sound Devices MP-6 II  or  Naiant IPA > Roland R-07
Vanguard V1s matched pair
Recordings at LMA

 

RSS | Mobile
Page created in 0.028 seconds with 25 queries.
© 2002-2022 Taperssection.com
Powered by SMF