I have text of the form
"<a href=a.b.c>Link 1</a> here are more words <a href=x.y.z>Link 2</a>"
which I need to change into BBcode:
"Link 1 here are more words Link 2"
What do the regular expressions parameters need to be to accompish this - way I try it gives me:
"Link 1</a> here are more words <a href=x.y.z>Link 2"
this looks as if I am matching everything from the first "<a href" to the last "</a>" and ignoring the other two tags.
"<a href=a.b.c>Link 1</a> here are more words <a href=x.y.z>Link 2</a>"
which I need to change into BBcode:
"Link 1 here are more words Link 2"
What do the regular expressions parameters need to be to accompish this - way I try it gives me:
"Link 1</a> here are more words <a href=x.y.z>Link 2"
this looks as if I am matching everything from the first "<a href" to the last "</a>" and ignoring the other two tags.