Hongmu Notes

🧹 Delete bracket content

Delete the four types of brackets and their contents, and retain the rest of the original text.

Delete bracket content

Instructions for use

  • After pasting the text, click "Start Processing" and the result will appear in the read-only box below.
  • A space will be left in the deleted position to avoid the adhesion of the preceding and following text.
  • The angle brackets will be deleted together with the label. Please back up the code before processing it.

angle bracket removal

Text copied from a web page often contains angle bracket tags, and the main text becomes clean only after removing them.

📌 Will you delete the contrast symbols in the text by mistake?

It's possible. Angle brackets are also comparison symbols in mathematics. If there is a wording such as "less than a certain value" in the text, it will be treated as a pair of brackets. It is recommended to confirm the text content before processing.

🔒 Dealing with location and privacy

Deletion is completed locally in the browser, without Internet access, uploading, or writing to local storage. It will be cleared after refreshing. It is recommended to compare the results side by side with the original text before use to avoid accidentally deleting the bracketed content in the text.

📌 delete rule

The tool uses a regular rule to match four types of bracket pairs at the same time: Chinese parentheses, English parentheses, Chinese bookmarks, and angle brackets; each hit (including all characters within the brackets) will be replaced with a space. Therefore, it is a method of "matching paired brackets first, and then replacing them as a whole". Contents with unpaired brackets or across lines will not be processed, and the order of the original text and other characters remain completely unchanged.

All keywords and tutorials 12

❓ FAQ

Can I just delete the tag?
This page matches angle brackets as a whole, without distinguishing between labels and symbols.
Will the text stick after deleting it?
No. A space will be left in the deleted position.
Pre-checking for angle bracket cleaning
Make sure that the text does not use angle brackets as symbols other than labels.