Text Processing with Regex

  1. Replace "U Mobile" with "U Mobile". The function replaces all occurrences of "U Mobile" with "U Mobile" to ensure correct rendering in HTML, where the non-breaking space ( ) prevents the browser from breaking the text at the space.
  2. Convert "MyUMobile App" into Clickable Links. The function identifies instances of "MyUMobile App" that are not already part of a link. It converts each such instance into a clickable link using the anchor (<a>) tag with the URL "https://u.my/app" and the target attribute set to "_blank" to open the link in a new tab.