こんにちは私は正規表現が大きな文字列内の1つまたは複数のサブ文字列がのようないくつかの基準に一致することを見つけることを望みます。
"I have done my best to document all the [switches] and characters that I can locate.Regular expressions [allow] you to group like [parts] of the substring into"
結果はこれらの部分文字列のようになります
switches,allow,parts
この場合は
"I have done my best to document all the [switches] and character.
結果は唯一の「スイッチ」でなければなりません
前もって感謝します。