Search and replace (with RegEx) for each paragraph in $Text?

@satikusala the sample text misses the TAB between the time stamp and the start of the content. That’s why “([0-9]{1,3}).+\t” fails.
The stream method is an alternative - with one major drawback: eachLine is not what you want if a pattern could appear more then once in a single line…

1 Like