See: Code-BBCode: SQL-Highlighter [URL:http://www.woltlab.com/forum/index.php/Thread/230907-Code-BBCode-SQL-Highlighter/?postID=1381547#post1381547] (Code, 1 line) Note: This fails because the separators from the string replacement combined with the equals sign are matching !=