Question: I am not a Regex expert and I am looking for a Regex that will return the value after consecutive comma on the same row.

The data looks like this:

```
2016/02/19 04:25:56,User,0.9,0,0,0,0,0.0
2016/02/19 04:25:58,User,0.0,0,0,0,0,0.0
2016/02/19 04:25:58,User,0.0,0,0,0,0,0.0
2016/02/19 04:25:57,User,0.0,0,0,0,0,0.0

```

And I can only manage to split this off after the first command which is the date and time. Here is the Regex I am using:

```
\.*User.*( ? : \d * \.) ? \d +

```

Answer: 
try this:

```
@echo off

for %%a in (%*) do (
    call set "%%~1=%%~2"
    shift
)

echo :%--user%
echo :%--pass%

```

if the passed it is called like:

```
namedArgs.bat --user user --pass pass

```

the output will be like:

> 
> :user
> 
> 
> :pass
> 
> 
> 

This will handle also quoted parameters with spaces in them.
There is a batch command called `shift`, which can basically do a shift left on your parameter variables.

So as the start of your script, you need a loop

inside that loop you decode %1 for the 'verb' part of your option with a `if` statement

inside that `if` block, you call `shift`. then old `%2` becomes the new`%1`, old `%3` becomes the new `%2`, etc

so inside that if, you can pick up a secondary argument for the verb, if needed. Then call `shift` again.

loop until your arguments are empty. Tadah!