Help me read a regular expression & lt; a (s * [^ & gt;] + s *) href = ([\ & quot; | ']?) ([^ \ & Quot; '& gt; \ s] +) ([\ & quot; |']?) /Ies cannot understand the last few letters. please explain it. I is case-insensitive. e. if this modifier is set, preg_replace () helps you read a regular expression.
] + S *) href = ([\ "| ']?) ([^ \ "'> \ S] +) ([\" |']?) /Ies
I can't understand the last few letters.
------ Solution --------------------
I is case insensitive
E if this modifier is set, preg_replace () replaces the reverse reference in the replacement string as a normal replacement, evaluate it as the PHP code, and use the result to replace the searched string.
S's default "." indicates that any character except the line break will become any character, that is, including the line break.
I deleted the post and discussed the technology. if you have any suggestions, please go to the relevant sections of the community.
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