regex multiple patterns in order

K

km

I am trying to find sub sequence patterns but constrained by the order in
which they occur
For example
[('CAA', 'TCT', 'TA')]

But I instead find only one instance of the CAA/TCT/TA in that order.
How can I get 3 matches of CAA, followed by four matches of TCT followed
by 2 matches of TA ?
Well these patterns (CAA/TCT/TA) can occur any number of times and atleast
once so I have to use + in the regex.

Please let me know.
Thanks!

Regards,
Krishna mohan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top