Aleem_Khan
(Aleem Anwer)
January 18, 2022, 7:39am
1
hi I need to scrape yellow highlighted value in the second data which I need that is in table format in e mail body but I write this in text file that why it come like that.
Second screen shot I need e mail id after project contacts. It could be dynamic sometime its one and some time multiple.
HI @Aleem_Khan
Expression for Optional modules:
(?<=Optional modules:\s)\S.+
Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/.NET.
Regards
Sudharsan
2 Likes
Can you share your text file ??
HI @Aleem_Khan
Try this expression for getting all the mail id
(?s)(?<=Project Contact(s):\s\n)(.*?)(?=\nLink)
Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/.NET.
Note : this will get you as one complete match so if you want to use individually use split with new line or something as per your requirements
Regards
Sudharsan
1 Like
Hello @Aleem_Khan ,
Main.xaml (8.5 KB)
Have a look at this. It gives the data you need.
Regards!
Aleem_Khan
(Aleem Anwer)
January 18, 2022, 1:39pm
6
(?<=Optional modules:).* I use this expression
Please let me know Iam I following the correct approach ?
1 Like
Yes @Aleem_Khan
of course, you can use that too
Yes you can!
Did you check the file I sent to you?
Regards
1 Like