hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Match 11th character in filename using Regex

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions
View previous topic :: View next topic  
Author Message
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Wed Mar 10, 2010 9:09 am    Post subject: Match 11th character in filename using Regex Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group