Top "Escaping" questions

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

Escaping ampersand character in SQL string

I am trying to query a certain row by name in my sql database and it has an ampersand. I …

sql oracle escaping sqlplus
How do I escape a single quote?

How can I escape a ' (single quote) in JavaScript? This is where I'm trying to use it: <input …

html escaping
Pass a PHP string to a JavaScript variable (and escape newlines)

What is the easiest way to encode a PHP string for output to a JavaScript variable? I have a PHP …

php javascript escaping newline
Uses for the '&quot;' entity in HTML

I am revising some XHTML files authored by another party. As part of this effort, I am doing some bulk …

html xhtml escaping linq-to-xml html-entities
Escape string for use in Javascript regex

Possible Duplicate: Is there a RegExp.escape function in Javascript? I am trying to build a javascript regex based on …

javascript regex escaping
Escape a string for a sed replace pattern

In my bash script I have an external (received from user) string, which I should use in sed pattern. REPLACE="&…

string sed escaping
How to execute a bash command stored as a string with quotes and asterisk

I try to execute the following command : mysql AMORE -u username -ppassword -h localhost -e "SELECT host FROM amoreconfig" I …

bash scripting escaping quotes
Oracle SQL escape character (for a '&')

While attempting to execute SQL insert statements using Oracle SQL Developer I keep generating an "Enter substitution value" prompt: insert …

sql oracle escaping oracle-sqldeveloper
How to escape apostrophe (') in MySql?

The MySQL documentation says that it should be \'. However, both scite and mysql shows that '' works. I saw …

mysql escaping
String literals and escape characters in postgresql

Attempting to insert an escape character into a table results in a warning. For example: create table EscapeTest (text varchar(50)); …

string postgresql escaping