How to remove some part of borders from the corners?
<p>I want to remove the corners of borders like this picture.</p>

<p><a href="https://i.stack.imgur.com/Bu7r9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bu7r9.png" alt="What I need to draw"></a></p>