Adds https:// protocol to a URL if it's missing.
The URL to check and potentially modify.
The URL with protocol added if needed.
Checks if text contains valid URLs and returns matches.
The text to search for URLs.
Array of matched URLs or null if none found.
Adds https:// protocol to a URL if it's missing.