[Solved] Regex to match anchor tag and its href
First of all, you need to learn the basic syntax of the pattern of NSRegularExpression: pattern does not contain delimiters pattern does not contain modifiers, you need to pass such info as options When you want to use meta-character \, you need to escape it as \\ in Swift String. So, the line creating an … Read more