I want to find three UAA UGA UAGs, so I don't know how to search A and U[AG]A and UAG, do I have to find them like this?
python
U(AA|GA|AG)
We can do it like above.
In the regular expression group ()
, |
means OR.
It starts with U, AA, GA, or AG, and you can write it as above.
© 2024 OneMinuteCode. All rights reserved.