I want to search and replace the string "\" from the array 'abc' in python code.
I'm using the following code
abc=re.sub("\"," ",abc)
But it is giving the following error
File "script", line 99
line_map=re.sub("\"," ",line_map)
^
SyntaxError: EOL while scanning string literal**
What changes should I make to the code?