Reply to thread

Ok, heres what I did, and it worked:


[code]

        Dim x As New System.Text.RegularExpressions.Regex("^[0-9]+[ ]+(.+)[ ]+([0-9]+\.[0-9]{2})[ ]+\$[ ]+([0-9]+\.[0-9]{2})[ ]+\$")


        Dim y() As String


        y = x.Split("1 CASH 1.00 $ 0.21 $")


        For Each s As String In y

            MessageBox.Show(s)

        Next


[/code]


The result is 5 strings, two spaces and:

[code]CASH    1.00     0.21[/code]


Back
Top