I\'m trying to use a powershell regex to pull version data from the AssemblyInfo.cs file. The regex below is my best attempt, however it only pulls the string [assembly:
[assembly:
You also need to include the starting double quotes otherwise it would start capturing from the start until the first " is reached.
"
$prog = [regex]::match($s, '"([^"]+)"').Groups[1].Value ^