Other Resources:
Multiple line modifier - m
What is the multiple line modifier? How to use it?
How the multiple line modifier can be used on this example text:
✍: FYIcenter.com
The multiple line modifier 'm' modifies the behavior of the regular expression. When 'm' is specified, the subject string will be treated as as multiple lines instead of a single line. In other words,
For example, '^(.*)$' will produce multiple matches, one match per line, if the subject string has multiple line breaks and multiple line modifier 'm' is specified.
With the given example subject string, we can use this regular expression: to capture the date in each line with multiple line modifier, 'm', specified:
2013-02-02, 0👍, 0💬
Popular Posts:
How to capture the Sogou web spider entries from Web log file? Here are some Web log file entries: 1...
How to capture the Soso Spider entries from Web log file? Here are some Web log file entries: 127.0....
How to write a regular expression to validate GUID (Globally Unique IDentifier) or UUID (Universally...
How to capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file...
How to capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file...