No it is not, parsing HTML is a lot harder than you think, HTML can contain other types of content and is extremely complicated, regex matching links might actually be the better answer here... that or a custom parser (which I also tried, great for really long texts).