JSFiddle - React, Tailwind, and code Playground

by Timatnet

HTML

<a class="simplelink phone-number" style="font-family: 'Segoe UI Semibold';">+7(924) 200-50-39</a>

JavaScript

if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
    $("a.phone-number")
       .each(function()
       {
          this.href = 'tel:' + $(this).html()
                                      .replace(' ','')
                                      .replace(' ','')
                                      .replace(' ','')
                                      .replace('-','')
                                      .replace('-','')
                                      .replace('-','')
                                      .replace('(','')
                                      .replace(')','');
       });
}