in reply to Regular expressions across multiple lines

Do the 5 preceding chars and the 5 trailing chars and the 10 char middle part also have new lines in them? Are those new lined counted as part of the 5 or 10?

  • Comment on Re: Regular expressions across multiple lines

Replies are listed 'Best First'.
Re^2: Regular expressions across multiple lines
by abcd (Novice) on Apr 24, 2016 at 17:35 UTC
    Yes the newlines could be anywhere but they are not counted in the 5 char or 10 characters i am trying to capture. I am working on dna sequences so I only want the results to include ACGTs.