• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regular expression to find anchor tag

 
seena mathew
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to match an anchor tag using regular expression. I am new to regular expression and no matter what or how many times I have gone through regular expression the end result is that the pattern is not working.

Examples to match:





The pattern above is not picking up the full tag.
Any suggestion where the issue is ?
 
seena mathew
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it working by modifying the pattern at http://www.coderanch.com/t/508917/java/java/Regex-find-URL-anchor-tag#2300082





 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic