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:
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 ...
All credit card numbers issued by JCB have 3 sets of numbers: JCB cards start with 2131 have 15 digi...
According to the IEEE 802 specification, a MAC address has 6 groups of 2 hexadecimal digits separate...
Are you having problems using regular expressions when processing text strings in your applications ...