Other Resources:
Does negative character class match newline
Does negative character class [^a] match newline characters?
How to write a regular expression to capture tags and attributes from this HTML code:
✍: FYIcenter.com
![]()
A negative character class will match the newline character, if the newline character is not listed in the class. For example, "[^a]" will match the newline character, when with multiple line modifier "m" specified.
Here is the regular expression to capture tags and attributes from HTML codes: It works with multiple line modifier "m" too, because [^>] matches newline characters:
2013-02-02, 0👍, 0💬
Popular Posts:
According to the IEEE 802 specification, a MAC address has 6 groups of 2 hexadecimal digits separate...
A free online regular expression test tool that allows to try you regular expression pattern and see...
How to write a regular expression to parse key-value entries from Windows .INI files? Here is an exa...
How to write a regular expression to validate GUID (Globally Unique IDentifier) or UUID (Universally...
All credit card numbers issued by American Express must start with 34 or 37 and have 15 digits. For ...