Didn’t look further at the regex syntax but your file needs to be in the pipe:
cat essai.md | sed 's/(?<!\)(\r|\n)>//g'
Then near the beginning you have
\)
which probably should be just
)
But as @sradjoker said, please tell us what you try to do.