[PLUG] sed regex to strip html code
Rich Shepard
rshepard at appl-ecosys.com
Wed Jul 3 19:01:09 UTC 2002
On Wed, 3 Jul 2002 mikeraz at patch.com wrote:
> since the angle brackets are part of an expression enclosed in single quotes
> you don't need to escape them.
Aha! I know (from reading the ORA regex book) that there are differences
among applications and that angle brackets are used -- by some -- to
describe word boundaries. Guess that's why I did it as I did.
> Try just sed 's/<.*>//g' INFILE > OUTFILE
Many thanks!
Rich
More information about the PLUG
mailing list