Multi-line input for Text: Find text next to other text

Options
Tom_153935
Tom_153935 Posts: 76
edited October 2019 in Questions

I am using the Text: Find text next to other text action to try to extract John Doe from the following text:

Contact Name
John Doe
Contact Email
john.doe@test.com

I have tried using the following two configurations with no success:

Start type = after-text
Start value = Contact Name
End type = before-text
End value = Contact Email

and

Start type = after-text
Start value = Contact Name
End type = after-lines
End value = 1

Any ideas?

Tagged:

Answers

  • C_211923
    C_211923 Posts: 25 admin
    Options

    Hey there Tom, I was able to get this to work with the same configuration you had. Here is what I had for each field (it's identical to your first attempt):

    Start type: after-text
    Start value: Contact Name
    End type: before-text
    End value: Contact Email

    Looks like it could be something outside of the start type/value and end type/value configuration. It could be a an issue with the source or field type of the Text to Search input. Where is the Text to search coming from? In my test I added your example text as a Pushbot level field and it worked flawlessly. You should give that a shot; if that works then it's likely the Text to Search and not a typo or error in the other fields. Let us know what you find out!