how to add hyperlink in jquery replace : Hi i have the following script and i want to replace barbel with a href

    <script>
	$(".text_div ,p").text(function() {
	  return $(this).text().replace("barbel", "mpara");
	  
	});

	$(".text_div").text(function() {
		return $(this).text().replace("some", "red");  
	});

</script>