Spiders: Regex Replace Method

Got an idea, post it here

Spiders: Regex Replace Method

Postby tswhite70 on Thu May 04, 2006 9:51 pm

Steven - It would be great if you could implement the regex replace method for spiders and allow it to be used for any variable. I know string replace is currently available for coverart only (as far as I can tell). If you could either replace that with regex replace or add regex replace as a separate method it would be a big help for spider development. It needs to be available for use for any variable and preferably have the regex string and replacement string in quotes or some other delimeter instead of the current colon.

//title
Title: (?<title>.*?) </a>
regexreplace=title," <.*?> "," "

See the following post for an example of where this would come in handy cleaning up spidered plots of extraneous html formatting:
http://www.xlobby.com/forum/viewtopic.p ... a574#28188

TIA!
tsw
tswhite70
 
Posts: 318
Joined: Tue Jan 06, 2004 3:44 pm
Location: Houston, Tx