regex

From: yamini (yamini_rajan_at_nospam.com)
Date: 02/29/04


Date: Sun, 29 Feb 2004 06:17:56 -0600


$_="{NP_PP}the<pp>tyrosine</pp>_-phosphorylated_<Bppf>proteins</Bppf>{/NP_PP}";
 can anyone help in writing a regex to extraxt "tyrosine"
from $_?
 

thanks!!!



Relevant Pages

  • Re: Using a string as a hash (symbolic ref)
    ... SB> programs) writing the tests than I do when I'm writing the programs ... coding is coding and the more you do the more you learn. ... Both unlike and like take a regex as it's ... the unlike call will convert that but the / will be literal / chars. ...
    (perl.beginners)
  • Re: Alter line of file
    ... Jens wrote: ... As an educational excersise I'm writing some code, ... where malloc() is declared. ... While I won't comment otherwise on your use of the regex ...
    (comp.lang.c)
  • Re: Regular Expressions and Ruby
    ... > regexp), so you'd have to start with all elements that have two letters.. ... but I recently started learning ruby and I was writing a short ... I figured I'd use ruby's built-in regex support, ...
    (comp.lang.ruby)
  • Re: Regular Expressions and Ruby
    ... but I recently started learning ruby and I was writing a short ... I figured I'd use ruby's built-in regex support, ... > properly as a word like "presenti" should be periodic according ... Read perlretut for more info on how regexps work. ...
    (comp.lang.ruby)
  • Re: Regular Expressions and Ruby
    ... but I recently started learning ruby and I was writing a short ... I figured I'd use ruby's built-in regex support, ... as I'm new to both regexps and ruby and the only regex ...
    (comp.lang.ruby)