Forum Discussion
Gursimrat
12 years agoLeader
Is it possible to display only text without using regex? Is there a way the returned result is not in HTML format and just displays the plain text so I don't have to use the regex.
Sign in to react to this post
PaoloT
12 years agoLithium Alumni (Retired)
Hi,
you can either create and call an endpoint to do the filtering for you using one of the stripping tools provided in the utils context object , or call the rest API directly and implement the HTML stripping logic in your application.
Hope this helps,
Sign in to react to this post
- Gursimrat12 years agoLeaderI have used the below regex and this is working fine
?replace("<[^>]*>","", "r")
Do you think this could break?Sign in to react to this post