Kayako logo
How do I? Questions about how to do specific things in SupportSuite, eSupport and LiveResponse. Not for reporting problems.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
ziw Offline
New Member
 
Posts: 1
Join Date: Jun 2008
regex breakline for gmail? - 25-06-2008, 04:46 PM

Hi,

I'm trying to create a breakline for email replies coming from gmail users. I found this thread regarding regex in breaklines and tried to add one but it does not seem to work. I'm wondering if someone has a regex for gmail?

The email reply from customers look like this:

On Wed, Jun 25, 2008 at 9:19 AM, John Doe <john.doe@gmail.com> wrote:

I added the following regular expressions for breaklines:

1. regex:@On [0-9]{1,2}\/[0-9]{1,2}\/[0-9]{1,2},(.)+ <(.)+@(.)+> wrote:@
2. regex:@On [A-Za-z]{3} [0-9]{1,2}, at [0-9]{1,2}:[0-9]{2} (PM|AM), (.)+ wrote:@
3. regex:@On [A-Za-z]{3} [0-9]{1,2}, [0-9]{4} [0-9]{1,2}:[0-9]{2} (PM|AM), (.)+ <(.)+@(.)+> wrote:@

It appears to me that the third one should work but it doesn't. Am I adding the regex incorrectly? Currently I'm on eSupport version 3.20.02.
   
Reply With Quote
  (#2) Old
tm2000 Offline
Member
 
Posts: 42
Join Date: Aug 2005
08-07-2008, 09:32 AM

Quote:
Originally Posted by ziw View Post

On Wed, Jun 25, 2008 at 9:19 AM, John Doe <john.doe@gmail.com> wrote:

I added the following regular expressions for breaklines:

1. regex:@On [0-9]{1,2}\/[0-9]{1,2}\/[0-9]{1,2},(.)+ <(.)+@(.)+> wrote:@
2. regex:@On [A-Za-z]{3} [0-9]{1,2}, at [0-9]{1,2}:[0-9]{2} (PM|AM), (.)+ wrote:@
3. regex:@On [A-Za-z]{3} [0-9]{1,2}, [0-9]{4} [0-9]{1,2}:[0-9]{2} (PM|AM), (.)+ <(.)+@(.)+> wrote:@

It appears to me that the third one should work but it doesn't. Am I adding the regex incorrectly? Currently I'm on eSupport version 3.20.02.
We have had teh same issue going way, way back... 3.20.02 and have tried the above and others.. Both with a Gmail HTML and Gmail Text message..

Has anyone got this working? looking at the headers, we have this line

On Tue, Jul 8, 2008 at 1:22 AM, John Doe <john.doe@gmail.com> wrote:
   
Reply With Quote
  (#3) Old
tm2000 Offline
Member
 
Posts: 42
Join Date: Aug 2005
08-07-2008, 09:46 AM

tried these with the brackets below, cleared cache, still nada

Code:
regex:@[On [0-9]{1,2}\/[0-9]{1,2}\/[0-9]{1,2},(.)+ <(.)+@(.)+> wrote:]@
regex:@[On [A-Za-z]{3} [0-9]{1,2}, at [0-9]{1,2}:[0-9]{2} (PM|AM), (.)+ wrote:]@
regex:@[On [A-Za-z]{3} [0-9]{1,2}, [0-9]{4} [0-9]{1,2}:[0-9]{2} (PM|AM), (.)+ <(.)+@(.)+> wrote:]@
   
Reply With Quote
Reply

Tags
breakline, gmail, regex

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
regex jaigupta SupportSuite, eSupport and LiveResponse 0 25-04-2008 04:15 PM
breakline regex atDev Wont Implement / Already Implemented 4 26-12-2007 07:12 PM
Regex validation and custom fields (how to make it work?) richm SupportSuite, eSupport and LiveResponse 8 24-12-2007 11:19 PM
Mail parser post-parse regex to find word in subject? richm SupportSuite, eSupport and LiveResponse 1 22-08-2007 04:53 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46