can anyone explain the meaning behind this regular expression?
'/<div align="left"><a href="(.*?)">(.*?)<\/a><\/div>/s'
from what i know it is search for all div align tags that equal left
but for the next part I am lost.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Irrespective of whatever this is for and whether it’ll work or not (regex is not an option to match html tags), for the sake of explaining, the second part of the regex
<a href="(.*?)">(.*?)<\/a><\/div>/sis just “trying” to match all theanchortags with any url followed by the text which will contain that url.When I saying “trying”, this is what the person who wrote the regex inteded to do.