括弧内にいくつかの単語を含むファイルがあります。そこに表示されるすべての一意の単語のリストを編集したいと思います。例:
This is some (text).
This (text) has some (words) in parenthesis.
Sometimes, there are numbers, such as (123) in parenthesis too.
これは結果のリストになります:
text
words
123
括弧の間に表示されるすべての項目を一覧表示するにはどうすればよいですか?