Hello everybody, I am trying to pull data from a PHP Array.
The information is as follows:
The code I have attempted was as follows:
However, nothing I do seems to work.
Am I missing something? I have tried vbNewLine, vbLf (what shows up in the expression editor), etc, etc, etc. Even using software such as RegEx Buddy, I have been unable to figure this out.
Thank you in advance.
The information is as follows:
PHP Code:
Array
(
[status] => Expired
[registeredname] => First Last
[companyname] => My Company
[email] => my@email.com
[serviceid] => 1
[productid] => 1
[productname] => Yearly License
[regdate] => 2012-10-29
[nextduedate] => 2012-11-29
[billingcycle] => Monthly
[validdomain] => notimportant
[validip] => 127.0.0.1
[validdirectory] => /home/hidden/public_html/members
[md5hash] => 3afc53edbdba2f2dd51499a88128302d
[remotecheck] => 1
)
1
The code I have attempted was as follows:
PHP Code:
Dim rgx As New Regex("\[registeredname\] => (.+) " & vbLf)
Dim matchG As MatchCollection = rgx.Matches(src)
Dim result As String = matchG(0).Groups(1).ToString()
Return result
Am I missing something? I have tried vbNewLine, vbLf (what shows up in the expression editor), etc, etc, etc. Even using software such as RegEx Buddy, I have been unable to figure this out.
Thank you in advance.