So I have a token, and it looks for instance like asdkl3njkln1mlnmlaskjenr&email=example@gmail.com&asd345d&password=example&asd986asn
The strings before/after &email=example@gmail.com&
and &password=example&
change constantly on each page load.
All I need is for a user to input his username/password to a textbox to check on order status/etc. How would I get the email address and password from the token?
What I tried in VB.NET was:
Dim token As String = Regex.Match(htmlPage, "(?\<email=\)+user+(?=\\&\)").Groups(0).Value
But that doesn't seem to work.
htmlpage
being the login page for the site that has the order statuses, which is downloaded in order for Regex
to get in between those strings, in the token.