Js parses Markdown into the distinction between the multiplication sign and the tag "*" in plain text

A recent personal blog project encountered this problem. Extract the first part of the article you wrote with markdown as a brief introduction, and use the following regular expression to extract plain text (str.replace (reg, "")

).
reg = /[\-sharp\`{3}\*]/g;

but if you think about it carefully, won"t you lose the innocent multiplication sign in the text? Then I thought about it and wrote a

.
let reg = /\-sharp|\`{3}|\*|(\*\s)/g;

and then added a * * to the test text. Unexpectedly, it was dropped. It may be that orz
I learned here is not good. Ask for the boss"s advice

.
Mar.24,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d106-2c370.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d106-2c370.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?