How can I count the unique number of phone numbers in a textarea
separated with comma, newline, or space in javascript or jQuery? I have tried this code:
$('#gsmnumbers').on('keyup', function() {
$('#num-counter').html($('#gsmnumbers').val().split(',').length);
});