Use/\S/gi; to match everything that isn't a space in the string. You can invert any match by using the uppercase version of the selector \s versus \S for example.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する