Other Resources:
Escape sequence - New Line character \n
What is the escape sequence for the New Line or Line Feed character?
How to write a regular expression to capture the last character before the New Line character?
✍: FYIcenter.com
![]()
The escape sequence for the New Line or Line Feed character is \n, which is the same as \x0A.
The regular expression to capture the last character before the New Line character is:
(.|)\n
(.|) - captures a character or nothing
\n - matches the New Line character
2013-01-26, 0👍, 0💬
Popular Posts:
How to write a regular expression to validate GUID (Globally Unique IDentifier) or UUID (Universally...
According to the IEEE 802 specification, a MAC address has 6 groups of 2 hexadecimal digits separate...
All credit card numbers issued by American Express must start with 34 or 37 and have 15 digits. For ...
How to capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file...
How to write a regular expression to parse key-value entries from Windows .INI files? Here is an exa...