Jump to content

[SOLVED] Using RegEx to delete unknown string


maxormark

Recommended Posts

I know this is probably really easy, but it has me foxed.

 

I need to know how to delete ...

 

title="some random text string"

 

... from a longer string of code. There must be a way to isolate and remove a lump of text the format of which you cannot pre-determine.

 

Basically, I'm trying to create a script which takes a web page and strips out a part of it to turn into an RSS feed. I've got it licked, except for the title tags.

 

Alternatively, if anyone already has such a script, I'd be interested to know.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.