The dedecms collection can filter regular expressions of multiple lines of code. In the past, when I used dede for collection, I could not filter out more than one line of code, but only one row of code. on the Internet, I found many Cainiao like me. With the continuous use of dede collection, dede is used to collect regular expressions in the past. it is always unable to filter out more than one line of code and can only filter one row of code. on the Internet, I found many Cainiao like me. With the continuous use of dede collection, I have a better understanding of regular expressions. now I can use a regular expression to match multiple lines of code.
For example, in the following code, filter out the hyperlink with two lines of code.
XXX
XXX
Use the following filter to implement multi-row matching.
{Dede: trim} ([^ \ n <] *) {/dede: trim}
A symbol like \ n can be used as a line break. a \ n represents a line break.
Hope to be useful to dede beginners
Bytes. With the continuous use of dede collection...