If you would like to use a vertical bar character (|) or “pipe” symbol in the place of a slash on your Mac, the process could not be easier or more straightforward. This article will show you how to do so.
The combination of keys that you will need to use to achieve the vertical bar character on your Mac may vary depending on your keyboard's language.
To enter the vertical bar character (|) on Mac OS using a keyboard configured for US/English, press [Shift] + the [backslash key]. This key is usually located just below the Delete key on your keyboard:
For keyboards configured for Spanish, you may use [Alt] +  to achieve this character:
Image: © Mirko Vitali - 123RF.com