If the above string, the inside of the hyperlinks are all extracted, if this link is similar to "id=9694595974" (where the number after id= is automatically generated by the system, and the numbers followed by the parameters sometimes have, sometimes not, as in the example above (&ali_refid=a3_ 620362_1007:1102370186:7:46702465u84y78608587678s868v3i:7178ec8bae50aef3a187075f995ad009&ali_trackid=1_ 7178ec8bae50aef3a187075f995ad009), which may or may not be, replace this link with go.php?id=9694595974 and place the replacement link back if the original link does not resemble "id=9694595974" string, replacing this link with "#" and putting it back in place (this string contains multiple "id=9694595974" hyperlinks and multiple hyperlinks that do not contain "id=9694595974").
------Solution--------------------
If the callback function is a method of a class, it needs to be passed in an array form
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