Top "Backslash" questions

The backslash character \ (not to be confused with slash /) is used in many languages to quote the next character, i.e. to make it lose its special meaning.

(swift) remove "\" character from string?

I have string which contains few \ and I want to remove all of them. can anyone tell me how can …

string swift backslash
CMake: how to get the backslash literal in Regexp replace?

I am trying to replace forwardslashes with backslashes. To do that i have the following line of code: STRING(REGEX …

regex string cmake backslash
Check if string containts slash or backslash in Bash?

I'm currently trying to get my bash script checking if a string containts a "/" or a "\" but somehow I can't …

regex string bash backslash
Regex and escaped and unescaped delimiter

question related to this I have a string a\;b\\;c;d which in Java looks like String s = "a\\;…

java regex escaping backslash
Why are the backslash and semicolon required with the find command's -exec option?

I have begun to combine different commands in the linux terminal. I am wondering why the backslash and semicolon are …

linux command find backslash
In the JSON Response String contains auto-added Backslashes

I am calling a webservice to get a JSON string response and It contains backslashes which is not in original …

java json string backslash jsonexception
Python: '#' Comments after backslash

This doesn't work: something = \ line_of_code * \ # Comment another_line_of_code * \ # Comment and_another_one * \ # Comment etc Neither does …

python comments format multiline backslash
php regex replace double backslash with single

I do not want to use stripslashes() because I only want to replace "\\" with "\". I tried preg_replace("/\\\\/", "\\", '2\\sin(\\…

php regex backslash
Why does pressing Ctrl-backslash result in core dump?

When I'm in a python application (the python shell, for instance), pressing Ctrl\ results in >>> Quit (core …

python coredump backslash ctrl
Remove back slash from Json String in android

i need some help for Remove Back slash from Json String. Here is the Response which i Get From Server …

java android json parsing backslash