CARVIEW |
Select Language
HTTP/2 301
date: Wed, 30 Jul 2025 16:33:53 GMT
content-type: text/html; charset=utf-8
content-length: 0
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
location: https://github.com/Programming-from-A-to-Z/A2Z-F15/wiki/Week-3-Homework
cache-control: no-cache
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
set-cookie: _gh_sess=cSCUUu4kNENenJb2TjMewblqL7wU0fHJiBaBsiirfEkdEChNUIo8ANhx%2Ba29j3s84jMW4buHVncUSzVu%2FxUVmLjWewyyTI597wgjo0Ad7ks9V%2BRTocnMVldqYOMJVZC5ROop1Hl3DwTrhy3u9VAi3EH9VbK3doPoXYVdy%2FVc4iBQ2vFn9r%2FIDVRnr19MYMe6t6XqpieQMCBOsd0Le68XbqUx90j6ppDMFnS%2B7cbUuTZOuZ1W0I7rzSDnWsZk%2BhjhiN3hATiztmyn9ZVM9g2sfQ%3D%3D--I%2FQ2tBsEypCm%2FobC--wWeLyDfga5bkpdlUzOejrQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.239490677.1753893233; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 16:33:53 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 16:33:53 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 94DA:191D78:C6801:EAD58:688A4971
HTTP/2 200
date: Wed, 30 Jul 2025 16:33:54 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"f54225cfc017ad97568969cdd800d972"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
x-github-request-id: 94DA:191D78:C6820:EAD7F:688A4971
Week 3 Homework · Programming-from-A-to-Z/A2Z-F15 Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
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)] (https://developers.meerkatapp.co/api/), [Mechanical Turk] (https://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] (https://www.teletechnophiliac.com/blog/2015/10/golf-of-the-regex-varietyhtml)
- Tanya --
You can’t perform that action at this time.