Application Example One: The filter of the title hollow lattice
Often in the collection of articles, there are spaces in the title text, mining back after the application is very troublesome, so you need to add the following regular filter
{Dede:trim} {/dede:trim}
Application Example Two: Filter of connection in source author
In the collection of articles, some of the system inside the author or source are connected, directly collected words will be connected to collect back, and then because of these two fields are limited, usually caused by the need to collect the content did not collect back, so need to add the following regular filter in the filter
{Dede:trim}] *) > ([^<]*) {/dede:trim}
Application Example three: The link in the article content and other advertising code filter
This is needless to say, when it is necessary to filter all things, directly with all the code on the above can be filtered, but in practical applications, we only need to filter the connection, animation, call and so on. (This needs to follow the content of each other specifically what code to operate specifically)
In general, only the link, using the code in the second filter on it, but in fact, the general site is now in the content of the ads, etc., so take the following filter is a regular filter can be completed:
Application Example four: filter GG advertising Code
In fact, this is the content of the above filter, but many BBS users often ask this, so separate as an application listed:
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service