[REBOL] Re: Strip tags
From: dness:home at: 3-Nov-2001 23:55
> Strip tags
> Is there a simple way to strip all html tags from a text file?
> I tried replace/all my-area/text ["<" thru ">"] ""
> No error, but no action either.
Just a quick warning.
You should note that there are all kinds of problems with any `simple' rule that
attempts to `strip' HTML. That's one of the problems with the HTML spec.
If you can control the source of your HTML, and guarantee that the pathological
conditions are not present, then simple schemes of the kind you are trying might
happen to work, but don't count on them to deal with any `general' form of
HTML that might come in from the world `outside'.