I am trying to use the following code to get rid of tab and newline characters in the url but I still get newline and tab in my output. Need help figuring this out.

```
val referrerUrl = Option(event.getPage.getReferrerUrl).getOrElse(blank).replaceAll("\\p{C}|\\s+|\\r$|\\\\t|\\\\n|\\\\r", "")

```

The urls can be something like

```
http://www.bing.com/search?q=\tEnergy Source\tFuel (Coal)/Uranium Needed (tons)\tCO2 Emissions \r\n(tons)\tSulfur Dioxide and Other Emissions (tons)\tRadioactivity mSv (millisievert)\tSolid Waste (tons)\tAccidents\r\nQuarter 1\tCoal\t\t\t\t\t\t\r\n\tNuclear\t\t\t\t\t\t\r\nQuarter 2\tCoal\t\t\t\t\t\t\r\n\tNuclear\t\t\t\t\t\t\r\nQuarter 3\tCoal\t\t\t\t\t\t\r\n\tNuclear\t\t\t\t\t\t\r\nQuarter 4\tCoal\t\t\t\t\t\t\r\n\tNuclear\t\t\t\t\t\t\r\n

```