melvin Site Admin
Joined: 25 May 2006 Posts: 635 Location: Santa Barbara, california
|
Posted: Wed Mar 10, 2010 9:09 am Post subject: Match 11th character in filename using Regex |
|
|
User wants to copy files where 11th character is 1
Example:
BSIR88120110003.RCT.GZ.SIG.ENC
In the filename field, Regex needed would be:
REGEXF=[a-zA-z0-9]{10}1
[a-zA-z0-9] will match any alphabet or number
the next [10] means it will match any 10 alphabets or numbers
1 is the match for the 11th character |
|