I have a string as given below

```
$string1 = "PTSKKV = 3.5  PTSPK = 4.6"

```

I tried to write a regular expression for getting the value 3.5 if i provide "PTSKKV" and 4.6 if i provide "PTSPK" as given below

```
[System.Text.RegularExpressions.Regex]::Matches($string1 , "(?<=PTSKKV\s*=\s*)[^\s]+").Value
[System.Text.RegularExpressions.Regex]::Matches($string1 , "(?<=PTSPK\s*=\s*)[^\s]+").Value

```

But unfortunalely iam getting null value from above command.What went wrong for me?