Link to home
Start Free TrialLog in
Avatar of phpdotnet
phpdotnet

asked on

Regex question ?

If I have some text like this :

For $i = 1 To $User[0][0] Step 1
                  "User ID: " & $User[$i][1] & @CRLF & _
                  "Username: " & $User[$i][2] & @CRLF & _
Next

Can anyone please show me an example of how to use regex to print :

User ID/1
Username/2

( where the number after the / is the number in the bracket )

Thanks very much.
ASKER CERTIFIED SOLUTION
Avatar of punkstar
punkstar
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of phpdotnet
phpdotnet

ASKER

Nah, that's what I need. Thanks for your answer :)