Read: 04 - Responsive Web Design and Regular Expressions
- RegExr made by gskinner.com
- is for extracting info from text
-
\w to match words
-
img from https://regexr.com/
- You can parse and replace strings
- useable across many languages
- Anchors can match first, last or any text that has a target word in it
- check out cheat sheet link
- Quantifiers
- OR operator
- Character classes
- ”.” or "capital letter” is an inverse modifier
Flags
- g, m, i
Grouping
- ask a question about this
Brackets
- “[abc] matches a string that has either an a or a b or a c -> is the same as a|b|c”
Greedy and Lazy match
- searches as much as possible
- but is slower, more strict = more faster.
CSS Grid
- grid - Generates block lvl grid
- inline-grid inline lvl grid.
- grid-template-columns
- grid-template-rows
- you can use fr’s to generate fractional sections.