This is the string that I am trying to manipulate using Regex in c#.
string hyperlinkPattern = "For more information go to <myHyperlink id = "ABC" number ="1234" someval ="11"> Hello Click here </myHyperlink>"
I am trying to get the output in following format -
For more information go to <a href = Jscript("ABC","1234","11") Hello Click here </a>
So, I should first get the value of "id", "number" and "alt" tag from the "myHyperlink" tag and then use these value while replacing that tag with "<a href" tag.
The input value is in string format even though it looks like html value.
I am trying to do this using regular expression and not able to proceed with getting the pattern. Any help or clue would be highly appreciated.
thank you