how to find a string in a string and replace the thing after that lua code example Example: replace part of string lua name = "^aH^ai" name = name:gsub("%^a", "")