sarya
15 years agoFrequent Contributor
Regular expression in scripts
Hi,
I have a script in which I have to match the pattern "C:\Program Files (x86)\Report2Web Client Tools\Temp\SimulatedReports\FirstAutoContacts2008-06-24T105512.PAGEMART" .Since the part "2008-06-24T105512" will change everytime I run the script ,so how can I use regular expressions to verify that the value T105512 as the numbers after letter T will change everytime after the script run. I read the help files for regular expressions but it is kinda hard to understand .Please suugest me the regular expression for this .
Thanks.
Sumedha
I have a script in which I have to match the pattern "C:\Program Files (x86)\Report2Web Client Tools\Temp\SimulatedReports\FirstAutoContacts2008-06-24T105512.PAGEMART" .Since the part "2008-06-24T105512" will change everytime I run the script ,so how can I use regular expressions to verify that the value T105512 as the numbers after letter T will change everytime after the script run. I read the help files for regular expressions but it is kinda hard to understand .Please suugest me the regular expression for this .
Thanks.
Sumedha