How to wrap a simple "https://......" string with <a href="https://.....">....</a>?

How to wrap a simple "https://......" string with <a href="https://.....">....</a>?

Assume a webpage contains Internet URLs as usual similar to


But some of them are NOT included in a wrapping


How can I (with jQuery) add this <a ...>....</a> tag?
for all such https://...... strings?

Of cause if the https://.... string is already wrapped no second <a> tag should be added.