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...
How to capture the Baidu spider entries from Web log file? Here are some Web log file entries: 127.0...
Are you having problems using regular expressions when processing text strings in your applications ...
How to capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file...
All credit card numbers issued by JCB have 3 sets of numbers: JCB cards start with 2131 have 15 digi...