Other Resources:
Single line modifier - s
What is the single line modifier? How to use it?
How the single line modifier can be used on this example text:
✍: FYIcenter.com
The single line modifier 's', also called "dot all" modifier, modifies the behavior of the regular expression. When 's' is specified, the wildcard character "." will match the any character including the newline character treating the entire subject string as a single line. In other words,
With the given example subject string, we can use this regular expression: to capture the entire content of the "Hello" class with single line modifier, 's', 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...
How to write a regular expression to validate GUID (Globally Unique IDentifier) or UUID (Universally...
How to capture the Sogou web spider entries from Web log file? Here are some Web log file entries: 1...