Jethro commented on a Page, Metal Gear Solid (1-4) Memorable Quotes  -  May 08, 2009

\n = Matches a new line

\r = Carriage return

Below is an example:
Text: an anaconda ate Anna Jones
Regex: \w+\r\n
Match: ate

Depending on your operating system you might have to combine the \r and \n character escapes to create the correct new line sequence for your platform. For Microsoft Windows systems you should generally use \r\n which is a carriage return then line feed (CRLF). To simply match the end of a line or string use the dollar sign ($).

Souce: from from what I read about Regex.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.