For example, extract all the hyperlinks in the above strings. if there is a link similar to "id = 9694595974" (the number after id = is automatically generated by the system, in addition, the parameters followed by numbers sometimes exist and sometimes do not exist. in the example above (& ali_refid = a3_620362_1007: 1102370186: 7: Hangzhou & ali_trackid = Hangzhou), it may not exist ), replace this link with go. php? Id = 9694595974, and put the replaced link back to the original place. if the original link does not have a string similar to "id = 9694595974", replace this link with "#", and put it back to the original place (this string contains multiple "id = 9694595974" hyperlinks and multiple hyperlinks without "id = 9694595974 ),
------ Solution --------------------
If the callback function is a class method, it needs to be passed in 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.