Regex Extractor - regex splits at different size as expected

Hi @IrynaK,

As @takbb already pointed out, you are using a regular expression that splits input on the first whitespace after 40 characters. This leads to string lengths of >= 40.

Just use this expression instead:

(.{1,40})

I also attached an example workflow to my NodePit Space:

This already works out of the box. The example string split by 40 characters looks as follows… Just configure the Regex Extractor to split matches in rows or columns as you prefer.

Best regards,
Daniel

3 Likes