I am trying to parse the “html_instructions” string from the “steps” array at this link:
I have no trouble parsing the string, but it returns with bits of code mixed in. For Example, the parsed string of:
"html_instructions" : "Head \u003cb\u003esouthwest\u003c/b\u003e toward \u003cb\u003eCapitol Square SW\u003c/b\u003e",
Appears as:
Head<br>southwest"</br>"towards<br>...
Instead of appearing simply as:
Head southwest towards...
Is there a way i can format the string to remove the “breaks”? Any help is greatly appreciated.
You can use a regex to remove
HTMLtags from your content.