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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972149]
help
Chatterbox?
[1nickt]: Corion I am trying to keep an open mind :-) Or at least, go with the flow. marto yes I saw som photos of lorries overturned on country roads, and wondered why they would have been driving fast enough to have that happen!

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2017-12-11 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (289 votes). Check out past polls.

    Notices?