TypeScript文字列matchAll
replaceAll

matchAll文字列

trimStart

正規表現のすべてのマッチ結果を返します。

構文

str.matchAll(regexp): IterableIterator<RegExpMatchArray>