Use RegEx to Parse through Text

Discussion in 'ASP.NET / ASP.NET Core' started by Bruce, Apr 24, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Bruce

    Bruce DiscountASP.NET Staff

    I am not sure I understand you but if I guess right, you want to change the session variable everytime someone click a button on perform an action.

    You can set the Session Var just as you set a local variable.


    quote:Originally posted by jordnlvr

    I am passing a string from a Session(variable) and I need to run a regex function to find all values that meet the requirement Regex("104[0-9][0-9][0-9][0-9][0-9][0-9][0-9]")
    I can do this and find the values and print them to the page, but what I want to do is find them in the Session(variable) and reformat each instance using a formula. I am sure this is easy, I just can't seem to figure it out. Anyone have an idea how, if the user clicks a button, could this be run on the Session(variable) and change the value of each instance based on a formula??

    KdS
    </blockquote id="quote"></font id="quote">
     
  2. I am passing a string from a Session(variable) and I need to run a regex function to find all values that meet the requirement Regex("104[0-9][0-9][0-9][0-9][0-9][0-9][0-9]")
    I can do this and find the values and print them to the page, but what I want to do is find them in the Session(variable) and reformat each instance using a formula. I am sure this is easy, I just can't seem to figure it out. Anyone have an idea how, if the user clicks a button, could this be run on the Session(variable) and change the value of each instance based on a formula??

    KdS
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page