Contents tagged with regex
-
RegEx Pattern - Determining the name of the page
[.+]?/(?<pagename>[^/]+).aspx
If the only thing necessary is to determine the name of the page (without path information) this regex pattern did the job for me. -
Regex pattern for anchor tags (part 2)
Thanks to a comment by Jerry Pisk, I have revised the RegEx pattern to allow the anchor tag to include other attributes as well. Here is the revision:
-
RegEx pattern for anchor tags
Scott Cate just wrote a blog on his first (from scratch) RegEx pattern to find anchor <a> tag. Here is my revision: