Check if Two Strings With Special Characters are Anagrams

You are given two strings containing some uppercase, lowercase and special characters. Ignoring special characters, return true if the two strings are anagrams of each other, false if not.

An anagram is a word made by rearranging the letters of a different word, using all the letters exactly once.

Treat uppercase and lowercase characters as the same character.

Requirements

  • Must return either true or false

Example #1

solve('Hi, how are you!?!?', 'Yeah! Houri Ow!')
> true

Example #2

solve('testing!!', 'beesting!!')
> false