Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 lurking in the Monastery: (8)
As of 2014-08-23 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (171 votes), past polls