Issue regarding multiline in text parser match elements

Hello,

I have created an automation that received html content from a source named Leader and forwards it to text parser for further automation. The input i send to text parser is:

The Patient?: Yes

Have you been treated in Sheba?: No

Name: Stefan

Phone: 06532232232

Email: stef@gmail.com

Country Code: 381

Best time to reach you?: Morning 8am to 12pm

Medical procedure: Hemato-Oncology ,

Treatment Type: Surgery

Details: Test leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade
leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade leadTest leade lead

Phone Hidden: +381-6532232232

Source: direct

The configuration is:

The issue is the following:


image

As you can see the Bundle is broken after a newline is created mysteriously in the INPUT.

Goal: Getting the whole details field.

HI @NETANEL_MALKA

You can use text parser match pattern module with configuration given below to get all the fields present in the given text make sure you give the pattern correctly

output will be the filed names

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes

Thanks,

I need the output to be Field name and the Value of the field name after the delimiter.
Can it go as Key and Value because the next module i am using is, or i can just use i and $1 instead of those?

@NETANEL_MALKA
If you are asking for an output like this :


use the following patten instead of the previous one:
image

afte that if you want to get the key and value separately you can use split function

image

output:

2 Likes

Ah yes i would need it separately, i will test it.