02-25-2008, 12:01 PM
Hi,
I need to use regular expression for the starting string only in the window title name as it varies everytime.I am opening a video clip & its title varies everytime as I am opening different videos each time.For this,I have first parameterized the video name using DDT so that I can open several video files in one script itself.
But after executing the sciprt once,I need to close the video window & then re execute the script with 2nd video in the data table.For this I am requiring correct the regular exp.
i've tried various combinations but its failing everytime.
the string is as follows:
eg:abcd (Original Stream) ->For the first video
defg (Original Stream) ->For the 2nd video
i.e. the first string varies everytime & 2nd string remains same.There is a space between two strings which doesn't vary.
Can anyone plz tell me what expression I can use in order to execute my script?
I need to use regular expression for the starting string only in the window title name as it varies everytime.I am opening a video clip & its title varies everytime as I am opening different videos each time.For this,I have first parameterized the video name using DDT so that I can open several video files in one script itself.
But after executing the sciprt once,I need to close the video window & then re execute the script with 2nd video in the data table.For this I am requiring correct the regular exp.
i've tried various combinations but its failing everytime.
the string is as follows:
eg:abcd (Original Stream) ->For the first video
defg (Original Stream) ->For the 2nd video
i.e. the first string varies everytime & 2nd string remains same.There is a space between two strings which doesn't vary.
Can anyone plz tell me what expression I can use in order to execute my script?