Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Molecular weight of Protein

by 2teez (Priest)
on Aug 07, 2013 at 05:40 UTC ( #1048248=note: print w/replies, xml ) Need Help??


in reply to Molecular weight of Protein

You could also use: "Positive lookahead"

$_ = '>gi|226694487|sp|Q1DF98.2|ATPF_MYXXD RecName: Full=ATP synthase +subunit b; AltName: Full=ATP synthase F(0) sector subunit b; AltName: + Full=ATPase subunit I; AltName: Full=F-type ATPase subunit b; Short= +F-ATPase subunit b'; print $1 if/(.+?)(?= RecName)/;
NOTE: Am only showing the use of positive lookahead using the OP.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2016-09-29 21:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (561 votes). Check out past polls.