JSREF
JavaScript RegExp \r Metacharacter
Search for a carriage return character in a string: