

could you please specify commands to identify the unknown string in between known two strings
1)Execute a command output to search string in between known string
2)Need to use identified string for other next operations
For the above 1st operation used for loop to execute the command only & unable to search string
For the 2nd operation Unable to find search .

Example:
a)String to be identify is dynamic or not fixed line numbers
b)Below is the command output to identify string
c)known string in the below file is: 1)Name: 2)Driver is running.
d)I want to use the string which is between above between string. i,e
Name:we needed string in between lines #6
Driver is running.
below is the command out :
---------------------------------------------------------------------------------------
USB\VID_111f&PID_0203&MI_00\6&25A2C8F4&5&0000
Name:we needed string in between lines #2
USB\VID_111f&PID_0203&MI_00\6&25A2C8F4&6&0000
Name:we needed string in between lines #5
USB\VID_111f&PID_0203&MI_00\6&25A2C8F4&7&0000
Name:we needed string in between lines #6
Driver is running.
USB\VID_111f&PID_0203&MI_00\6&B3883FF&1&0000
Name:we needed string in between lines #4
4 matching device(s) found.
----------------------------------------------------------------------------------------
Please help me....experts
