Replace URL With HTML Link By Jquery Plugins & JavaScript Plugins

Sometimes we need to use Jquery Plugins or JavaScript Plugins for online base work even on a webpage. For example, Google jqueryMaps, Webcam jquery plugin build with jquery Plugins Codes.

Hei everyone, this is a very useful post and tips to Replace text URL with HTML link using Jquery Plugins. 

Hopefully, these plugins help you with your social media projects when you want to build it manually or on the web.
Read Also Some Crucial Post:
1. Easy Codes To Submit A Form Without Refreshing Page With jQuery And Ajax
2. How To Make Login PHP Form With PHP Login Script And Jquery
3. Make Facebook Style Notification Popup Using CSS and Jquery Codes
4. Games With HTML Codes: Make A Snake Game With Notepad
5. Create Youtube like Rating with Jquery and Ajax

Jquery Plugins, JavaScript Plugins


Javascript & Jquery Plugins

Now, I will provide you some codes for making the plugins. The codes appear below. Following these steps.

Javascript Text to Link Codes

<script type=”text/javascript”>
function text_to_link(text) 
{
var exp = /(b(https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])/ig;
return text.replace(exp,”<a href=’$1′ target=’_blank’>$1</a>”); 
}
var linkdata=text_to_link(“9lessons programming blog http://www.9lessons.info”);
document.write(linkdata);
</script>

Now I will share with you some Most Useful Jquery Plugins.

1. Google jqueryMaps

2. Oembed Expanding URLs

3. Webcam jquery plugin

4. Timeago plugin

Try and enjoy this post for your project. If you have any question about it don’t avoid the comment box below. I will give your answer. Share it on your social profile with your friends. 

Leave a Comment