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 Soso Spider entries from Web log file? Here are some Web log file entries: 127.0....
All credit card numbers issued by JCB have 3 sets of numbers: JCB cards start with 2131 have 15 digi...
All credit card numbers issued by American Express must start with 34 or 37 and have 15 digits. For ...
How to capture the Sogou web spider entries from Web log file? Here are some Web log file entries: 1...
A free online regular expression test tool that allows to try you regular expression pattern and see...