So I'm doing this php puzzle/challenge and the task is to find a string that matches this format:
/^[\w][-.]+([A-B])[^a-z]{3}\.[0-9]{2,4}$/
But I can´t find any documentation what exactly this part means:
[-.]+
The other parts I interpreted hopefully correctly as the following:
/^[\w]
Any word character
[^a-z]{3}
Not a-z 3times e.g. ABC should be accepted
\.[0-9]{2,4}$
It has to end with a number from 0-9 repeated 2 to 4 times.