Forum Moderators: open
How do I make this regex so that it allows the end to be just -E , like A1234-E butif a number is used it needs two digits so that it doesnt allow A1234-0 but allows A1234-01(^[A-Z]\d{4}-[0¦E][0-9]?)
Thanks.
Well, according to this tool [my-tool.com], you would need it to be:
/^[A-Za-z0-9]+-(\d\d¦[A-Za-z]{1})$/