fork(3) download
  1. abc = "test = > @ Stack overflow"
  2. puts abc.gsub(/\s*([^\s\p{L}\p{N}])\s*/, "\\1")
Success #stdin #stdout 0.05s 9768KB
stdin
Standard input is empty
stdout
test=>@Stack overflow