Hi,
I am trying to do something pretty simple, but i am not sure how to do it with .NET regular expressions. I've used regular expressions in perl alot.

I have an aspx page which i keep on refreshing, and the values can be changed by the user each time it refreshes. However the values that the user puts in do not get saved so what i do is , in my .VB code i do a loop through all the request form values and i search for name equal to that item and i want to replace it with the values. so it will get displayed properly.
how do i search for something using a variable???
here is my code:

VB Code:
  1. For Each item In Request.Form
  2.             searchFor = "name=""" & item & """ value="""""
  3.             replStr = "name=""" & item & """ value=""" & Request("" & item & "") & """"
  4.              TitleInfo.InnerHtml = TitleInfo.InnerHtml.Replace(searchFor, replStr)
  5.         Next

my problem is i want to put something like a * in the value.
I want to say any line that says "name=varname value=[ANY VALUE] replace with name=varname value=request(varname).
how do i do that??

ANy help would be grealty appreciated.