Forum Discussion
Gursimrat
11 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.
PaoloT
11 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,
- Gursimrat11 years agoLeaderI have used the below regex and this is working fine
?replace("<[^>]*>","", "r")
Do you think this could break?