IOS 7

local pattern = “[^-a-zA-Z0-9()_]”

return string.gsub( theString, pattern, “” )

Not working in IOS 7

local pattern = “[^-a-zA-Z0-9()_]”

return string.gsub( theString, pattern, " %" )

 

i try this its working fine!!!

local pattern = “[^-a-zA-Z0-9()_]”

return string.gsub( theString, pattern, " %" )

 

i try this its working fine!!!