Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Is there a way to remove HTML tags from HTTPService data?

Asked by 9 years ago
local http = game:GetService('HttpService')

print(http:GetAsync('http://en.wikipedia.org/w/api.php?action=parse&page=Baseball&format=txt&prop=text&section=0'))

I am trying to get data from the Baseball Wikipedia page, except it is filled with Wiki Markup and HTML tags. Can someone help me remove them?

1 answer

Log in to vote
0
Answered by
bobder2 135
9 years ago

http://lua-users.org/wiki/SplitJoin

1
I would have prefered a direct answer, but this will suffice. HECKFURNIOUS 85 — 9y
0
I've never used splitjoin before. Can't help you on that one :p bobder2 135 — 9y
Ad

Answer this question