I am trying to create a regular expression that starts with a number but then matches de or ba followed by 3 to digits right after it. What it should match is:
1Ghde345c
22Zui2ba777@
What I have so far is:
/^[0-9]?(be|de)*\d{3,5}/gm
But it doesn't seem to work. Is there something I am missing?