Spoiler
Also (looking for separate answer) How would I remove the other strings along with it. Assuming it can be done in the same action as above, otherwise I know how I could do it.
Spoiler
Posted 18 February 2013 - 10:24 AM
Posted 18 February 2013 - 11:03 AM
Posted 18 February 2013 - 11:05 AM
Posted 18 February 2013 - 11:11 AM
Posted 18 February 2013 - 06:08 PM
s = "<!-- remove this -->"
s = s:gsub("remove this", "")
print(s)
-- Output: <!-- -->
Posted 18 February 2013 - 06:30 PM
local s = '<!-- some other words -->'
s = s:gsub('<!%-%-(.-)%-%->',' ')
Posted 19 February 2013 - 04:09 AM
0 members, 1 guests, 0 anonymous users