ABCD9876S__9999.A001
ABCD9876S__9999.A002
- Always starts with ABCD
- Followed by a mix of digits and alphabets
- Followed by two underscores __
- Followed by 9999.A00 1 or 2
I want to catch the above two strings using reg ex
I have :
ABCD.*9999\.A00[12]
This doesn't work in Postgres. How do I convert this? Is there an online tool?