Most Docs locales are like en-us / ja-jp / de-de with 2 letters separated by a dash, however there are others with 3-4 letters, and some with 3 tuples with 2 dashes.
let unloc=(arg0:string) { let extract1=extract(@"^https?:\/\/docs\.microsoft\.com\/[A-Za-z]{2,3}-[A-Za-z]{2,4}-?[A-Za-z]{0,3}\/(\S*)", 1, arg0); case(isnotempty(extract1),strcat("https://docs.microsoft.com/", extract1),arg0) };