-- input 1: replacement (content of "replacement" snippet)
-- input 2: content (content of other snippet)
--
-- probably does not handle special characters well... but should work for a first test
_, _, from, to = replacement:find("s/(.*)/(.*)/")
return content:gsub(from, to)e.g. for #2000029
Snippet is not live.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment