How do we prepend all expressions in a specified list,with an excape character,in the shortest possible way. Suppose ,we have a string - "Are+we @in /for a ? surprise" We need an output string which looks like "Are\+we \@in \/for a \? surprise" What is the smartest way of achieving this?
posted 7 years ago
Use regular expression pattern to replace string...