I can't seem to find the issue with this code:
const regex = "/tel:\+61(\d+)/g";
const subscriberNumber = senderAddress.match(regex);
For input text, senderAddress
= tel:+619123456789
the subscriberNumber
is null.
What's causing it to return null?