We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Punctuation

We're going to keep it really simple for now by removing punctuation before matching text.

Examples:

  • Boots the bear!Boots the bear
  • The wonderful bear, BootsThe wonderful bear Boots

There are cases where this doesn't work well, such as hyphenated words, but we don't need to worry about them yet.

Assignment

Remove all punctuation from both the query and the title before attempting to match them.

Here are some of the standard library functions I used:

Run and submit the CLI tests.