I do have to parse specific Information from Report headers in Text Format
Since I do have to perform this through Regular expressions in VB Script I cannot make use of the Look Ahead features of Regex.
Typical use cases to cover for Regular expressions would be
1) User Name : Clark Kent
Extracted by Regex: "Clark Kent" for any line Starting with "User Name :"
2) User Name Clark Kent
Extracted by Regex: "Clark Kent" for any line Starting with "User Name" and delete all leading and trailing blanks from " Clark Kent "
3) User Name: Clark Kent Sample ID : 1234
Extracted by Regex: "Clark Kent" from any line starting with "Clark Kent" and Ending with "SampleID :"
Any Help for this example would be highly appreciated