Code that gets certain data from text written during Genesys Internship using pure javascript. There are two forms: the one that was written using regex and another one. This text contains names, emails and numbers.
- change the contents of the text variable to that of the text you want to get data from.
- ensure that the email address is inside angle brackets and the numbers start with '+'.
- also remember to write each dataset on a newline.
- invoke function emails(text) to get the emails.
- invoke function nums(text) to get the numbers.
- invoke function names(text) to get the two names.
This contains codes that:
- validates an HTML hex color
- gets names from a string
- converts a url to a link. Use the above format to test it out. Feel free to change the text and data variables.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D