|
Regular Expression Headache
|
|
30-03-2006, 01:41 PM
Post: #1
|
|||
|
|||
|
Regular Expression Headache
hi Guys,
my head is really hurting with this one: I need to parse a string of html, finding certain phrases and replacing them with an '<a href' link. Problem is that I also need the regex to NOT match phrases that are already in links. Any regex gurus out that that can help me solve the problem? Bomberman aka Colin Smith http://www.smithcolin.co.uk |
|||
|
30-03-2006, 04:56 PM
Post: #2
|
|||
|
|||
|
Well, I have found 'a' solution, would have preferred to do it with regular expressions, as it would mean less coding and higher efficiency.
Code: public static string ConvertContent(string html)If anyone does have a regex that could be used please let me know! Bomberman aka Colin Smith http://www.smithcolin.co.uk |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help





