test()
, exec()
match()
split()
replace()
split()
+ regexDesign 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!)
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:
Play an online Regular Expressions game like these two above or share any you find! Write up a post documenting your experience.
split()
and rebuild the text as separate <span>
elements that you can interact with individually. Here is an example using split()
from this βword interacatorβ video.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.
(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.)