Progress

  • Q1: My first regexp
  • ☐ Q2: Whatshisname?
  • ☐ Q3: What's your number?
  • ☐ Q4: Address book
  • ☐ Q5: What's the time, Mr. Wolf?
  • ☐ Q6: Who, what, when, how?
  • ☐ Q7: Link me
  • ☐ Q8: What did the link say?
  • ☐ Q9: 4-field network tuples
  • ☐ Q10: What happened on the inside?
  • ☐ Q11: Double vision
  • ☐ Q12: What was upgraded?
  • ☐ Q13: Upgrade Details
  • ☐ Q14: Inside job
  • ☐ Q15: Parsing firewall rules
  • ☐ Q16: Parsing web logs
  • ☐ Q17: What did the remote server say?
  • ☐ Q18: Sender and recipient addresses
  • ☐ Q19: DNS Zone Files
  • ☐ Q20: Take a look around

Question 1: My first regexp

Write a regular expression to match the below matches against the test strings.

Type: MATCH

Instruction: Only match the line that has Hello, World!

Test strings
Hello, World!
Goodbye, World!

Matches

    • Hello, World!
Answer
//gm