Quantcast
Channel: Nintex Connect: Active Threads
Viewing all articles
Browse latest Browse all 4245

Strip Lazyapproval email using Regular expression

$
0
0

Can someone help me write a regular expression for following? I am not very good at it.  Basically, I only want to keep following information and remove everything after that. 

LazyApproval bygarg.pankaj@towerinternational.comApproved

Team, lets win this program fair and square

May be we can remove everything after "workflow@approvaltest.towerautomotive.com". That will work aslo.

Thank you in advance!

Below is the actual email

LazyApproval by garg.pankaj@towerinternational.com Approved

Team, lets win this program fair and square


On Sun, Apr 6, 2014 at 10:52 PM, 
workflow@approvaltest.towerautomotive.com <
workflow@approvaltest.towerautomotive.com> wrote:

> Workflow Notification
> ------------------------------
> Dear Pankaj Garg
>
> A task has been assigned to you regarding this item:
>
> click here to respond to the task.
> Click here to view the workflow status.
> Click here to see detailed view of workflow for who has approved/rejected.
>
> *Email Approval: *You can approve by replying to email with keyword
> "Approved" or reject by replying to email with keyword "Rejected"
>
> *Handling Links in Internet Explorer: *Right click on the link above that
> says "here", Click on Copy Link Address. Open Internet Explorer, click
> inside the address bar, Right click and click Paste. Hit Enter.
>
> *Reply with a valid outcome on a line by itself at the top of the return
> email.*
> ----------------------------


Viewing all articles
Browse latest Browse all 4245

Trending Articles