js-mentorship-razvan / javascript

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

Exercise video 6 #558

Closed odv closed 4 years ago

odv commented 4 years ago

Match these strings: 718-555-3810, 9175552849, 1 212 555 3821, (917)5551298, 212.555.8731
 Don’t match these strings: wildebeest, hippopotamus, woolly mammoth

RazvanBugoi commented 4 years ago
  1. ^\d+.*

  2. .+\d

  3. .+\d$