Lua String replace
snippet in lua

Lua String replace

user4247

name = "^aH^ai"
name = name:gsub("%^a", "")