I want to write a regular expression that tests for the following, something that starts with abc or def, followed by a number between 0 and 900, then can have anything between that, up until the nearest. I have found the code on net. how will i change it according to my condition:
/\b[Z][0-9]{3,5}/
Seems to solve it for me.