Skip to content

Latest commit

 

History

History

02-regex

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Regular Expressions

Regex Notes and Videos

JavaScript Regex functions

Libraries and Games

Tokenizing Text

Assignment

Design an exercise around regular expressions. Here are some ideas if you are feeling stuck! (To be clear, just do one thing, and writing code is not required for this assignment!)

Regular Expressions Experiments

  • Experiment with using Regular Expressions in a text editor. What new powers does this unlock in your workflow? Write up a post documenting your experiments. Ideas you can try:

    • Write a regular expression to find and remove all HTML tags.
    • Find all emails or phone numbers in a document.
    • Parse a markdown file and find all headers (h1, h2, h3, etc.).
  • Play an online Regular Expressions game like these two above or share any you find! Write up a post documenting your experience.

Regular Expressions in JavaScript

Data and APIs

In preparation for next week, add a link to a data source or API (even just data that appears in raw form on a web page) that interests you! Don't worry about this too much, anything will do! I'll use this list to prepare examples for next week.

Add your assignment below via Pull Request

(Please note you are welcome to post under a pseudonym and/or password protect your published assignment. For NYU blogs, privacy options are covered in the NYU Wordpress Knowledge Base. Finally, if you prefer not to post your assignment at all here, you may email the submission.)

Emoji Key for Video Tutorials, Readings, and more

  • 🚨 Watch this video tutorial! (this is technical info needed for the examples). Of course if you alreaddy know this material, you can skip.
  • 🔢 This is found in a group, maybe pick just one to check out!
  • 🍿 Additional video if you have a particular interest and want to do a deeper dive.
  • 📕 Required reading! Let's make sure we all have read this.
  • 📚 Optional additional reading for a deeper dive.
  • 💻 Code examples here!
  • 🔗 Extra reference material / link