Hi
well i have kinda complicated Regular Expression i need to do if some one can help me with this it'll be great..
basically this is what I need to do:
i have this string:
i need to find any number of this string and replace them to hyperlink like so:
Code:
<a href='somestaticwebaddress?PlayerID=12345'>12345</a>
the address querystring parameter and the hyperlink title should be the "12345" in the found string
this is what i have so far:
Code:
Regex reg = new Regex(@"^\[PlayerID=");
ltl.Text = (reg.Replace("[PlayerID=123]","<a href=''>")).ToString();
this is the first i'm trying Regex ...
any ideas ?
Thanks.