Skip to content

How to write hash (#) symbols in the TRE

Apologies, this is a bit tricky!

Typing # Directly

Try these options:

OS / Layout Direct Key Combination
Linux / Ubuntu (US layout) Shift + 3
Linux / Ubuntu (UK layout) AltGr + 3
macOS (US layout) Shift + 3
macOS (UK layout) Option + 3
Windows (US layout) Shift + 3
Windows (UK layout) AltGr + 3

If the direct key isn’t available or doesn’t work in your environment try the next option:

Raw unicode method

  • Ubuntu / Linux (TRE) → Use Ctrl + Shift + U

Tip

You should see a "u" appear, underlined, at your cursor

Type 23 followed by Enter

If the Above Methods Do Not Work

Copy/Paste

  • Copy the # character from an existing document/script already inside the TRE.
  • Paste it where you need it.