Backslash on a Norwegian keyboard on a Mac
I've seen this question asked several places. For me, under OS/X I use Option+Shift+7. Pipe symbol (|) is just Option+7. Under Windows 11 in Parallels I add Ctrl and it works for me.
Just had to share this :)
MacBook Pro 14″, macOS 14.6