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.

What can this tool do?

  • Delete the content in Chinese brackets, English brackets, book title numbers and angle brackets at once
  • Leave a space in the deleted position to avoid the adhesion of text before and after
  • The original text is retained, and the results are output separately for easy comparison.
  • Results can be copied with one click, suitable for batch cleaning of documents and lists

Actual measurement effect

original textresult
Test Chinese Brackets (Chinese Brackets)Test Chinese brackets and leave a space after them
test(english)test
Test book title number "Book title number"Test book title
Test angle bracket tagsTest angle brackets

The four types of brackets share the same rule: the brackets and the content in the brackets are replaced with a space.

Usage tips

  • If you just want to delete English brackets, you can first use the replacement tool on the site for targeted processing.
  • Unpaired brackets will not be deleted. Please check the original text first.
  • The extra spaces in the results can be processed with the blank line/space cleaning tool on the site.

All keywords and tutorials 12

❓ FAQ

Which brackets does it delete?
Four categories: Chinese parentheses, English parentheses, Chinese book titles and angle brackets. Each pair of brackets is replaced with a space along with the content inside the brackets.
Why are there so many spaces in the results?
When replacing, use a space to replace the deleted content, so that the text originally separated by brackets will not stick together; if you do not need spaces, you can clean the spaces again in the result.
Will angle brackets also delete HTML tags?
Yes. Angle brackets will delete tag-shaped content, so be careful when using them to process HTML fragments. Comparative symbols in the text will also be treated as brackets.
Will the data be uploaded?
No. Deletion is done locally in the browser and the text does not pass through the server.