Use the RE class for regular expressions.
https://www.codenameone.com/javadoc/com/codename1/util/regex/RE.html#subst-java.lang.String-java.lang.String-

On Tue, Mar 12, 2019 at 7:30 AM <[email protected]> wrote:

> If you are experiencing an issue please mention the full platform your
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
> Desktop OS Windows 10 Pro
> Simulator Latest
> Device PC, Android, IOS
>
> I am using StringUtil.replaceAll(html, "\\<.*?>", ""); to strip out html
> However it is not working.
>
> Looking at the source for StringUtil.replaceAll substitutes literals,
> does not seem to support regular expression.
>
> Thoughts?
>
> Regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at
> https://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/c62d76bc-74d2-4833-a225-e38bc9a99b23%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/c62d76bc-74d2-4833-a225-e38bc9a99b23%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKXJ%2BYpn_NA8D%3DPgp56RZyTSo8DwSEN1mMDQ77YBB-6g4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to