Hi
I wanted to create a value search for a value that start after a regex. But there is a line feed included :
First line text:
Name: Value
so I tried :
If I am using regex tools to test it seems taht my regex is ok. Any hints for me ?
I wanted to create a value search for a value that start after a regex. But there is a line feed included :
First line text:
Name: Value
so I tried :
First line text:\sName:
First.line.text:\sName:
First.line.text:\nName:and many other options.
If I am using regex tools to test it seems taht my regex is ok. Any hints for me ?
Hello,
Try this:
A trick to avoid this problem is to use the capture method "Filtering and replacing" to remove any line breaks from the email body. You can name the resulting field, for example, temp1. Then use the capture method you are already using (Starts with.. continues until) but instead of using the email body as source use temp1. This is called multiple step parsing. You can chain any number of steps you want.
The regular expression in this case would be:
Try this:
First\sline\stext:\r\nName:\sLine breaks are a bit tricky. On Windows usually are "\r\n"
A trick to avoid this problem is to use the capture method "Filtering and replacing" to remove any line breaks from the email body. You can name the resulting field, for example, temp1. Then use the capture method you are already using (Starts with.. continues until) but instead of using the email body as source use temp1. This is called multiple step parsing. You can chain any number of steps you want.
The regular expression in this case would be:
First\sline\stext:Name:\s