Regex: //g Permalink with this regex
Test cases: Output: