Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Parsing Json with Regex (continued..)

earlier I needed help parsing JSON and a few kind members taught me to use

Quote:Dim s1 As String = Regex.Match(theusercpBUY, "(?<=""tradeId"":)\d+").Value

to get the trade id from the json response.

But what if I wanted to get multiple trade id's out the same json and put them into a listbox? then load them out the listbox. help? :D
(Sep 29, 2012 03:36 PM)~Acid Wrote:  earlier I needed help parsing JSON and a few kind members taught me to use

to get the trade id from the json response.

But what if I wanted to get multiple trade id's out the same json and put them into a listbox? then load them out the listbox. help? :D

Use .Matches instead of .Match to get multiple matches instead of just one.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by roosiinfidel09May 26, 2021 06:32 AM 1 274 May 26, 2021 06:32 AM
Last Post: h0lyl337
[.NET] by outlawNov 28, 2020 04:25 AM 12 367 Nov 28, 2020 04:25 AM
Last Post: Rmdy
[C#] by HardStoNAug 15, 2020 03:56 AM 6 293 Aug 15, 2020 03:56 AM
Last Post: HardStoN