Hi Wags, Thanks a lot for your help. It worked great.
Henry On Fri, 2 Nov 2001, Wagner-David wrote: > Unsure what you are trying, but: > > if ( /^T...A/ ) { # When try > # if Starts with a T , dont care about 2 thru 4 and the 5th char is A > }else { > # not a hit do work here > } > > Wags ;) > -----Original Message----- > From: Henry Hung-Yung Wang [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 02, 2001 10:11 > To: [EMAIL PROTECTED] > Subject: matching > > > Hi perl masters, > > I am a very "beginner" of perl and I have a very simple question. I want > to match characters within a sting of letters. > > ex: TCATATTG > > I want to match character 1 to "T" and character 5 to "A" how would I go > about doing that? Thanks so much for your help. > > Henry > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]