if ($input_line=/^REVISION_LOCATION:\s*(\S+)/) { $input_line = $1; }
Regex regex = new Regex(@"REVISION_LOCATION:\s*(\S+)/"); Match match = regex.Match("REVISION_LOCATION:../setup/projects/DEMO/space"); if (match.Success) { Console.WriteLine(match.Value); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)