Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Finding patterns

by snape (Pilgrim)
on May 24, 2012 at 00:59 UTC ( #972149=note: print w/ replies, xml ) Need Help??


in reply to Finding patterns

This might work for u

if ($seq =~ m/ATGAA(.*)TGCCG/){ print $1; }

Also, the following link1 and link2 talks about the concept of $1 and use of regular expression


Comment on Re: Finding patterns
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-09-20 02:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls