Forum Moderators: coopster

Message Too Old, No Replies

Stripping certain content from parsed data

         

ajs83

10:37 pm on May 10, 2005 (gmt 0)

10+ Year Member



I have the following code that I used to pull down an rss feed and parse it which is stored in an html file.

One source always includes [blah blah blah] in their url citing the different category, but I want that part removed, how would I modify my code to do that?

[edited by: ergophobe at 6:09 pm (utc) on May 11, 2005]
[edit reason] unnecessary code removed [/edit]

ergophobe

6:11 pm on May 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Can you say a bit more about the [blah blah blah]?

What is the context? What type of information is in there? A couple of examples (with URLs exemplified if necessary please) and it should be easy enough to come up with a regex to handle it.