Just to add explanation to JS answer since I know you hate regexp lol
In this case the regex changes to ^lnk$ because the measure will only return the extension itself without anything else, ^ means start of the string and $ means end of the string. So it will only match "lnk" exactly and nothing else.
In this case the regex changes to ^lnk$ because the measure will only return the extension itself without anything else, ^ means start of the string and $ means end of the string. So it will only match "lnk" exactly and nothing else.
Statistics: Posted by RicardoTM — 38 minutes ago