oh, put it in a HTML object and use "getText"...that was simple ;)

On Sep 4, 1:42 am, darkflame <darkfl...@gmail.com> wrote:
> Sorry if this is already covered....didnt have much luck searching.
>
> I need a way to return a simple plane text version of a string that
> may or may not contain other formatting.
> Ideally this would cover formatting from a RichTextBox, HTML tags or
> something pasted in from Word.
> Basically anything not normal text I want removed.
>
> After googleing I got suggestions of various Regexs, but also warnings
> that it isnt a very good way to do it and you need a full HTML parser.
> So I'm now wondering whats the best way to do it in GWT.
>
> Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to