Top "Escaping" questions

Escaping is the process of applying an alternate meaning to a character or set of characters.

How can I escape square brackets in a LIKE clause?

I am trying to filter items with a stored procedure using like. The column is a varchar(15). The items I …

sql-server tsql escaping character sql-like
How do I escape reserved words used as column names? MySQL/Create Table

I am generating tables from classes in .NET and one problem is a class may have a field name key …

mysql escaping
Escaping Double Quotes in Batch Script

How would I go about replacing all of the double quotes in my batch file's parameters with escaped double quotes? …

scripting parameters batch-file escaping quotes
PHP JSON String, escape Double Quotes for JS output

I'm creating a JSON string from a PHP array. I've encoded it using json_encode(). $data = array( 'title' => 'Example …

php escaping json double-quotes
Bash script to cd to directory with spaces in pathname

I'm using Bash on macOS X and I'd like to create a simple executable script file that would change to …

bash escaping
String.replaceAll single backslashes with double backslashes

I'm trying to convert the String \something\ into the String \\something\\ using replaceAll, but I keep getting all kinds of …

java escaping backslash replaceall
How to escape JSON string?

Are there any classes/functions available to be used for easy JSON escaping? I'd rather not have to write my …

c# json escaping
Oracle pl-sql escape character (for a " ' ")

When I am trying to execute INSERT statement in oracle, I got SQL Error: ORA-00917: missing comma error because there …

oracle escaping oracle11g
Escape double quote character in XML

Is there an escape character for a double quote in xml? I want to write a tag like: <parameter …

xml escaping
How to HTML encode/escape a string? Is there a built-in?

I have an untrusted string that I want to show as text in an HTML page. I need to escape …

html ruby-on-rails ruby escaping encode