Prev: uitable GUI
Next: read .dat
From: tal on 14 Jun 2010 12:29 Hello, I have a cell table with some simple formating using HTML i would like to see if there is a way to drop the html formating and to leave the text only. Example: '<html><span style="background-color: #AABBCC;">Test123</span></html>' will become: 'Test123' Thanks,
From: David Young on 14 Jun 2010 13:21 A quick first stab at this would be textstripped = regexprep(text, '<.*?>', '')
From: tal on 16 Jun 2010 08:46 "David Young" <d.s.young.notthisbit(a)sussex.ac.uk> wrote in message <hv5oe1$jro$1(a)fred.mathworks.com>... > A quick first stab at this would be > > textstripped = regexprep(text, '<.*?>', '') Grate, simple and elegant.
|
Pages: 1 Prev: uitable GUI Next: read .dat |