js-mentorship-razvan / javascript

Javascript study notes
GNU General Public License v3.0
22 stars 2 forks source link

Ex. 5 #540

Closed odv closed 4 years ago

odv commented 4 years ago
  1. Match these strings ‘cub’, ‘dog’, ‘elk’. Don’t match these strings ‘ape’, ‘cow’, ‘ewe’.
RazvanBugoi commented 4 years ago

5

RazvanBugoi commented 4 years ago

[cde]\w[^ew]

RazvanBugoi commented 4 years ago

[c-e][uol][bgk]

RazvanBugoi commented 4 years ago

[c-e][l-u][b-k]