Jim Beard wrote:
Ok,
I know this isn't exactly the list for it, but I've been reading
online for a while now and can't make heads or tails of my problem.
I want to match convert '<' sequences to '<' using a replace
method that matches on a regex pattern. I'm using Java and am having
0 luck. No sites online seem to mention & or ; other then in passing
as a punctuation character...
Shouldn't this be easy?
Jim Beard
I don't do anything in java, so I apologize in advance if this is a dumb
question ... can one embed 'sed' in java? If so,
{
s/</</g
s/>/>/g
}
(or some expansion on the theme) will do what you want, I believe.
Regards
Fred James
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug