TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Deer Park
NA
39
0
Regular Expression Question
Sep 24 2012 1:57 PM
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
Reply
Answers (
2
)
Methods for NSURLConnection?
Drag and Drop functionality for gridview