Ad
  • Custom User Avatar

    Nice solution, but Imho I've made a bit better one.
    You run regex twice for each iteration.
    Checkout mine solution. It uses only onre regex per cycle and compares string length change.