Escape or unescape strings for JavaScript, JSON, Python, SQL, XML, CSV, and regular expressions. Handles special characters safely.