Regular expression _php techniques that can filter multiple lines of code in DEDECMS collection
Source: Internet
Author: User
In the past with Dede collection, always filtered more than one line of code, can only line of filtering, online, found that there are many and I like the rookie. With the continuous use of Dede acquisition, there is a further understanding of the positive, now I use a regular expression, can also match multiple lines of code.
For example: In the following code, filter out a hyperlink with two lines of code.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.