Ad
  • Default User Avatar

    Why isn't it best practice? Because of efficiency?
    If it is the readability, it is one of the most readable solutions, certainly more readable than regex.