[REBOL] Re: strip tags
From: brett:codeconscious at: 5-Nov-2001 15:23
Hi Mike,> If you have a string of html, how do you make it "markup" so you can usereplace/all? test: "<Person><Name>Homer Simpson</Name></Person>" mrkup: load/markup test Now another variation on the theme - this one brutally removes linebreaks and tabs from the string as well: parse mrkup [ some [ mark: tag! (remove mark) :mark | string! (trim first mark) ] end ] print rejoin mrkup Brett.