title: Removing carriage return and tab escape sequences from string in Bash
body: <p>Assume I have this string:</p>
  
  <pre><code>Your name is\nBobby\tBlahck\r\r
  </code></pre>
  
  <p>how can I remove the characters "\n, \t, \r". The string literally looks like that, it does not contain tabs or new lines. They are only characters.</p>
  
  <p>When I try </p>
  
  <pre><code>echo "Your name is\nBobby\tBlahck\r\r" | tr -d '\t'
  </code></pre>
  
  <p>tr assumes I am trying to remove tabs, so it doesn't work and prints examtly the same string. Any ideas about how to remove them? I have the same problem with sed.</p>
  
  <p>Thanks</p>