

Task

   match a string against a regular expression
   substitute part of a string using a regular expression


"I am a string" -match '\bstr'       # true
"I am a string" -replace 'a\b','no'  # I am no string