-
Notifications
You must be signed in to change notification settings - Fork 38
Week 3 Homework
Craigson edited this page Nov 12, 2015
·
27 revisions
- Create a simple regular expression exercise for yourself. This can be a small assignment, just spend an hour or so playing around with regular expressions and see what questions come up. Here are some ideas:
- Add a regular expressions to your previous assignment or something else you've made in JavaScript.
- Experiment with regular expressions in a text editor (like Sublime) and document how it worked for you in a blog post. No programming needed for this one!
- Play the Regex Golf game and document your results in a blog post. No programming needed for this one either!
- Redo the Flesch Index Calculator (or any of the other week 2 examples) with regular expressions.
- Taking inspiration from the Pirate Translator, re-imagine a text using
replace()
.
- Write a regular expression that matches any e-mail address and validate user input. (Tricky step two: take that regular expression and use
replace()
to turn that e-mail address is made into amailto:
anchor tag.) - Create an example that reads an HTML page and removes any markup and leaves only the raw content.
- Adapt the regex tester to be a
replace()
orsplit()
tester. - Create a regex that matches only code comments in code.
- In preparation for next week, add a link to an API or some data source (even just data that appears in raw form on a web page) that interests you. I'll use this list to prepare examples for next week.
- Will we go over web scraping at all (in addition to working with APIs)? If there's not enough time, can you post an example or direct us toward a tutorial? Thank you! (Rebecca)
- why doesn't this work: [\s-()] but and this does: [\s-]() (Oryan)
- AV -- Urban Dictionary Api, urbandictionary.com
- Rebecca -- Clarifai, Google Image API, [Instagram] (https://instagram.com/developer/), [Meerkat (for livestreaming)] (http://developers.meerkatapp.co/api/), [Mechanical Turk] (http://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/Welcome.html)
- Oryan -- CitiBike, ebay API
- Sehwan -- Yahoo Sports API, NY Metro API, World Weather API
- Gabe -- Television Transcripts Via Bobst
- Name -- [link name](link url), any comments or other links
- Abhishek --
- Caroline --
- Craig -- Jumble: A working prototype using regex
- Daria --
- Francisco -- ideation tool
- Gabe -- Regex Golf Is Hard
- Hub -- [Doing exercises from Eloquent JS] (https://github.com/hubuy/A2Z-Homework-3)
- Jason --
- Jia -- Annoying Singing Websites
- Marc --
- Nikolaj --
- Oryan -- just practicing a little
- Rebecca --
- Ross -- Vonnegut Word Clouds
- Sehwan --
- A.V. -- check valid email&send it
- Sweta -- [Regex Golfing] (http://www.teletechnophiliac.com/blog/2015/10/golf-of-the-regex-varietyhtml)
- Tanya --