Use three backticks above and below the text to create a code block that will display all the characters:
/(\#parent)(?!\/)/
Or four backticks above and below the code block to show the block’s structure as well:
```regex /(\#parent)(?!\/)/ ```