/// Regex to find all links in the text.
const regexLink =
r'((http|ftp|https):\/\/)?([\w-]+(?:(?:.[\w-][a-zA-Z][\w-])+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?[^.\s]';
/// Regex to find all links in the text.
const regexLink =
r'https?://(?:[А-Яа-яA-Za-z0-9-]+.)+[А-Яа-яA-Za-z]{2,}(?:/[^/#?]+)+.(?:[A-Za-z0-9]+(?:.[A-Za-z0-9]+))?(?:\?[^#\s])?(?:#\S*)?'
/// Regex to find all links in the text. const regexLink = r'((http|ftp|https):\/\/)?([\w-]+(?:(?:.[\w-][a-zA-Z][\w-])+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?[^.\s]';
/// Regex to find all links in the text. const regexLink = r'https?://(?:[А-Яа-яA-Za-z0-9-]+.)+[А-Яа-яA-Za-z]{2,}(?:/[^/#?]+)+.(?:[A-Za-z0-9]+(?:.[A-Za-z0-9]+))?(?:\?[^#\s])?(?:#\S*)?'