I need a regex that will match only strings of this kind
Match these strings:
edo-apple-iphone-5s-i-gold-16
DON'T match these strings:
edo-apple-iphone-5s-i-gold-16-edo-staff-connect-24
The main difference between the 2 strings is either a connect-24 OR handset-24 added to the end of the string
I have written a Regex, but it seems to match both strings:
^edo[a-z1-9\-]*
How do i modify this to not accept if connect-24 OR handset-24 is in the string?
^edo-apple-iphone-5s-i-gold-16-(edo-(staff|team)-connect|map-(130|95)-handset)-24$?