Ad
  • Custom User Avatar

    IF you swap the positions of any of the special characters with each other, your solution won't notice -- among other false positive errors.

    Of course a regex is not NECESSARY, but it is a very concise and clear way to solve the problem.