Using Regular Expression, how do you match a specific word that is not in an <a>
tag.
eg. I am looking for the word software
that are not a link (ie. not surrounded by <a ... </a>
)
Sample input
... <a href='#'>this software</a> ... software ... <a href='#'>software</a>.
Is it possible using regex to match only the second software
?
If not possible, how do you check in C# if the matched element is inside an <a>
tag?