How to split one text file into multiple text files according to text content?

Hi,

Can you try the following sample? I’ve modified regex pattern for your actual data.(Delete extra white space from the previous pattern)

Sample20221117-4v3.zip (4.1 KB)

Regards,