RegEx request

2023-07-31 Thread Thomas ML
Hello RegEx experts, I usually BCC to myself, so that I have the outgoing emails in my Inbox. That's in my templates. My choice. For the different departments, we also have group emails. These are set up so that any email for that group will be auto-forwarded on the server to each member

REGEX Help

2016-02-01 Thread Rick Grunwald
> I think I need a regex to pull out the address correctly. I didn't want to hijack David's thread (actually I did) but I could use some help with regex I need something to clean up my subject line removing some specific items. Some people have posted some ones that cleanup RE: but I n

Re: Regex to clean up subject

2015-09-03 Thread Leonard S. Berkowitz
On Thursday, September 3, 2015, 7:31:37 AM, MFPA (tbudl@thebat.dutaint.com) wrote: > "Regular Expressions" (or simply "RegEx", "regex") a way of setting > patterns of characters to search for in strings. There is quite a lot > about them in TB!'s help f

Re: Regex to clean up subject

2015-09-03 Thread MFPA
uot;1"%SUBPATT="2"' means you are writing the subject header of the reply as "Re: " followed by two sub-strings that were extracted from the original subject header. "Regular Expressions" (or simply "RegEx", "regex") a way of setting pa

Re: Regex to clean up subject

2015-09-03 Thread MFPA
Hi On Monday 31 August 2015 at 3:54:22 PM, in , Fred wrote: >> Marck Pearlstone has a library of useful macros at >> . > Unfortunately, right now I got "Warning: > mysql_connect() [function.mysql-connect]:

Re: Regex to clean up subject

2015-09-03 Thread Marck Pearlstone
Dear Mfpa, @3-Sep-2015, 5:48 +0100 (03-Sep 12:35 here) MFPA [M] in mid:1069448339.20150903123548@my_localhost said to Fred: ... >> Unfortunately, right now I got "Warning: >> mysql_connect() [function.mysql-connect]: Access denied >> for user 'marck'@'80.229.140.13' (using password: YES) >>

Re: Regex to clean up subject

2015-09-02 Thread Leonard S. Berkowitz
On Wednesday, September 2, 2015, 6:28:01 PM, you (tbudl@thebat.dutaint.com) wrote: > %SETPATTREGEXP=/^(?:(?:[^:]{0,4}(?:[\[\(]\d+[\]\)])?:)?\s*(\[[^\]]*\]\s)|(?:(?:[^:]{0,4}(?:[\[\(]\d+[\]\)])?:)?\s*(?:\[[^\]]*\]\s*)?)?)%- > \s*(?:(?:[^:]{0,4}(?:[\[\(]\d+[\]\)])?:)?\s*(?:\[[^\]]*\]\s*)?)*%- >

Re: Regex to clean up subject

2015-09-02 Thread Rick Grunwald
Thanks!! -- Rick > On Monday, August 31, 2015, 5:04:44, Rick Grunwald wrote: >> Someone once gave me an excellent regular expression that would clean >> up the subject of things like [this] and {that} >> I lost it along with all my mail in a hard drive crash >> If someone has it, could you

Re: Regex to clean up subject

2015-09-02 Thread Jernej Simončič
On Monday, August 31, 2015, 5:04:44, Rick Grunwald wrote: > Someone once gave me an excellent regular expression that would clean > up the subject of things like [this] and {that} > I lost it along with all my mail in a hard drive crash > If someone has it, could you kindly repost it? Here's

Re: Regex to clean up subject

2015-09-01 Thread Feli Wilcke
Hello Fred, On Mon, 31 Aug 2015 10:54:22 -0400GMT Fred wrote: >> Marck Pearlstone has a library of useful macros at >> . F> Unfortunately, right now I got "Warning: mysql_connect() F> [function.mysql-connect]: Access denied for user

Re: Regex to clean up subject

2015-09-01 Thread Fred
> Try this one: http://silverstones.com/thebat/samples.html > In the reply template section you will find the reply-cleaner. Thanks, Feli and MFPA for the links. It looks as if I will have some interesting reading there. :-) -- Fred Using TheBat V.4.2.44.2 for POP3 mail with Windows 7 Service

Re: Regex to clean up subject

2015-09-01 Thread Rick Grunwald
Thanks! I had one removed some of the stuff added to headers by Yahoo groups etc. I appreciate the reply and did bookmark that site -- Rick > Hello Fred, > On Mon, 31 Aug 2015 10:54:22 -0400GMT Fred wrote: >>> Marck Pearlstone has a library of useful macros at >>>

Re: Regex to clean up subject

2015-08-31 Thread Geoff Lane
Using The Bat! 5.8.8 on Windows Vista Build 6002 On Monday, August 31, 2015, 4:04:44 AM, Rick Grunwald wrote: > Someone once gave me an excellent regular expression that would clean > up the subject of things like [this] and {that} > I lost it along with all my mail in a hard drive crash > If

Re: Regex to clean up subject

2015-08-31 Thread Fred
> Marck Pearlstone has a library of useful macros at > . Unfortunately, right now I got "Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'marck'@'80.229.140.13' (using password: YES) in D:\Data\wwwroot\cgi\library.php on line 28

Re: Regex to clean up subject

2015-08-31 Thread MFPA
Hi On Monday 31 August 2015 at 8:29:36 AM, in , Geoff Lane wrote: > Many years ago, Marck Pearlstone sent me the following > to clean up subject lines: > %subject="Re: >

Regex to clean up subject

2015-08-30 Thread Rick Grunwald
Someone once gave me an excellent regular expression that would clean up the subject of things like [this] and {that} I lost it along with all my mail in a hard drive crash If someone has it, could you kindly repost it? Thanks -- Rick The Bat !: Version 7.0.2.1 (BETA) (64-bit)

Regex help

2014-04-29 Thread Stuart
Hello TBUDL, I am looking for help with regex. I need to export the text from an e-mail to a text file. When I receive the email it looks like this. asd, sdf, dfg, asd Unfortunately when I export this is ends up like this. asd, sdf, dfg, asd This seems

Re: Regex help

2014-04-29 Thread jb_lists_tb
Hello Stuart, On Tuesday, April 29, 2014, 2:50:22 PM, Stuart wrote: I am looking for help with regex. I need to export the text from an e-mail to a text file. When I receive the email it looks like this. asd, sdf, dfg, asd Unfortunately when I export this is ends up like this. asd

Re: Regex help

2014-04-29 Thread Stuart
that the regex could be used in the format message part. -- Best regards, Stuartmailto:skcu...@fastmail.fm Current version is 6.1.8 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html

Re: RegEx issue

2012-04-19 Thread Loek van Kooten
Dear all, Assuming that TheBat! uses the text version of HTML/Text mails received for RegEx, I'm trying to extract the following numbers from an e-mail: NL Confirm 249 No 81 0 0 0 0 I'm using (?ms)249.*NL.*?(\d*).*?(\d*).*?(\d*).*?(\d*).*?(\d*) but no matter

RegEx Help

2007-04-30 Thread Eddie Castelli
Dear all, I have little problem where I need your help in RegEx/Quick Templates. The Case: I send you a bunch of eMails through the Massmailing feature in the AB. As the IP isn't really good some of the send eMails are coming back with the reason stated 'Spam', 'refused', 'account

Re: RegEx Help

2007-04-30 Thread Roelof Otten
Hallo Eddie, On Mon, 30 Apr 2007 20:40:01 +0100GMT (30-4-2007, 21:40 +0200, where I live), you wrote: EC Is this feasible? If yes can anyone give a help for this solution? EC Many thanks. You cannot let a QT search for a message somewhere in your message base. -- Groetjes, Roelof Hollywood:

Re: RegEx Help

2007-04-30 Thread Eddie Castelli
Dear Roelof, -- Montag, 30. April 2007, 18:45:10: EC Is this feasible? If yes can anyone give a help for this EC solution? Many thanks. You cannot let a QT search for a message somewhere in your message base. Thanks. Any chance in simplifying my task? -- liebe Grüsse

Bug in Message Finder - RegEx Options

2007-02-17 Thread Bill McCarthy
Hello TB User Discussion List, Searching for all occurrences of (?-i)F(?i)unction, the Message Finder returns occurrences of function which is not a match. [Yes, I am selecting match.] OTOH, the Find Text dialog works just fine! -- Best regards, Bill TB! Pro 3.96.8 (BETA) AntispamSniper

Re: Help: Regex reply

2006-09-25 Thread Roelof Otten
Hallo Stuart, On Sun, 24 Sep 2006 14:29:13 -0500GMT (24-9-2006, 21:29 , where I live), you wrote: SC I am going to be receiving an e-mail generated from a form on a web SC page that will have the following layout: SC - SC Jim,

Help: Regex reply

2006-09-24 Thread Stuart Cuddy
that if it can be done it will use regex, which I am only barely familiar with and I will need patient advisors. TIA -- Best regards, Stuart mailto:[EMAIL PROTECTED] Using The Bat! v3.85.03 On Windows XP 5.1 Build #2600

Regex Page down

2006-09-24 Thread Stuart Cuddy
Hello tbudl, I tried going to the TB! Regex Macro Repository page listed at http://www.silverstones.com/thebat/TBUDLInfo.html and received the following: The Bat! Macro and Solutions Library The Bat! counter Fatal error: Maximum execution time of 30 seconds exceeded in D:\Data\wwwroot\cgi

Re: Regex Page down

2006-09-24 Thread Marck D Pearlstone
Dear Stuart, @24-Sep-2006, 15:08 -0500 (24-Sep 21:08 here) Stuart Cuddy [SC] in mid:[EMAIL PROTECTED] said: SC I tried going to the TB! Regex Macro Repository page listed at SC http://www.silverstones.com/thebat/TBUDLInfo.html and received the SC following: SC The Bat! Macro and Solutions

Re[2]: Regex Page down

2006-09-24 Thread Stuart Cuddy
Hello Marck, A reminder of what Marck D Pearlstone typed on: Sunday, September 24, 2006 at 21:20:10 GMT +0100 MDP It's okay - just refresh the page. It must have been a bit MDP constipated, but it's certainly working fine. It must be really stubborn because it is still not working for me. :(

Re[3]: Regex Page down

2006-09-24 Thread Stuart Cuddy
Hello Stuart, A reminder of what Stuart Cuddy typed on: Sunday, September 24, 2006 at 15:33:00 GMT -0500 SC It must be really stubborn because it is still not working for me. :( And then on the 5th try it loaded. :) -- Best regards, Stuartmailto:[EMAIL

Re: Help: Regex reply

2006-09-24 Thread tbudl
successfully SC applied to enter this site and can use Jones as the login name and SC as the password. SC I'm assuming that if it can be done it will use regex, which I am only SC barely familiar with and I will need patient advisors. SC TIA

Re[2]: Help: Regex reply

2006-09-24 Thread Stuart Cuddy
Hello tbudl, A reminder of what [EMAIL PROTECTED] typed on: Sunday, September 24, 2006 at 20:43:03 GMT +0100 ttfcu Off the top of my head I would say that if you have control of ttfcu the form on the web page you could actually do all the hard ttfcu work there and store the info in hidden

Re: RegEx not perfect (yet)

2006-02-10 Thread Mica Mijatovic
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 ***^\ ._)~~ ~( __ _o Was another beautiful day, Sun, 5 Feb 2006, @ @ at 21:04:50 -0500, when rich gregory wrote: Actually, my original request for help DID mention that MM Yes I remember this request, it was interesting, and

Regex in Message Finder

2006-02-05 Thread Allen Day
You'll have to pardon me, I've been away from TB for a year or two and am both a bit rusty with its intricacies and trying to get up to speed with all the changes. This time around, my question is about the message finder--it used to support regex, but now it doesn't seem to. Am I

Re: Regex in Message Finder

2006-02-05 Thread Stuart Cuddy
around, my question is about the AD message finder--it used to support regex, but now it doesn't seem to. AD Am I overlooking something or has the power of regex been deprecated AD from the message finder in exchange for speed? When using the message finder if you you use Match or Does not Match you

Re[2]: Regex in Message Finder

2006-02-05 Thread Allen Day
Sunday, February 5, 2006, 10:00:16 AM, Stuart wrote: Hello Allen, A reminder of what Allen Day typed on: Sunday, February 05, 2006 at 09:10:27 GMT -0500 AD message finder--it used to support regex, but now it doesn't seem to. AD Am I overlooking something or has the power of regex

Re[3]: Regex in Message Finder

2006-02-05 Thread Stuart Cuddy
Hello Allen, A reminder of what Allen Day typed on: Sunday, February 05, 2006 at 10:47:50 GMT -0500 AD Ah, very good -- didn't pick up on that subtlety immediately but it AD does make sense. Thanks much! Most welcome. -- Best regards, Stuartmailto:[EMAIL

RegEx not perfect (yet)

2006-02-05 Thread rich gregory
Hello Bat-Folk! The RegEx we worked on seems to work but only sometimes as today this email (header excerpt) got thru: Message-ID: [EMAIL PROTECTED] From: Linda A. Liar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: =?iso-8859-1?B?UG9wdWxhciBwaWxscyAtICQyLjk5L2Rvc2U=?= Here's

Re: RegEx not perfect (yet)

2006-02-05 Thread Mica Mijatovic
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 ***^\ ._)~~ ~( __ _o Was another beautiful day, Sun, 5 Feb 2006, @ @ at 11:52:30 -0500, when rich gregory wrote: Hello Bat-Folk! The RegEx we worked on seems to work but only sometimes as today this email (header excerpt

Re[2]: RegEx not perfect (yet)

2006-02-05 Thread rich gregory
The RegEx we worked on seems to work but only sometimes as today this email (header excerpt) got thru: To: [EMAIL PROTECTED] MM We worked on Name address, at your own request, not on address. MM That's the reason why Linda Wily Liar got through this what we didn't MM work on. Sure, we

Re: RegEx not perfect (yet)

2006-02-05 Thread Mica Mijatovic
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 ***^\ ._)~~ ~( __ _o Was another beautiful day, Sun, 5 Feb 2006, @ @ at 15:04:17 -0500, when rich gregory wrote: Sure, we worked on that! Don't you remember? ;) Could I forget it? You were silent for a while and I

Re[2]: RegEx not perfect (yet)

2006-02-05 Thread rich gregory
Sure, we worked on that! Don't you remember? ;) MM Could I forget it? You were silent for a while and I already wanted to MM ask you how it goes with the last killer-filter. I wondered if you had MM wrecked more mails due to some typo/bad retyping then you wished to... No, a family

Re: Small regex needed

2005-12-06 Thread Thomas Fernandez
Hello Roelof, On Sun, 4 Dec 2005 18:13:35 +0700 GMT (04/12/2005, 18:13 +0700 GMT), Thomas Fernandez wrote: TF Yes, this sounds about right. I will test it in the office on Tuesday. Test successful. Thanks a lot. -- Cheers, Thomas. The closest I ever got to a 4.0 in high school was my blood

Re: Small regex needed

2005-12-04 Thread Roelof Otten
Hallo Thomas, On Sun, 4 Dec 2005 10:10:40 +0700GMT (4-12-2005, 4:10 +0100, where I live), you wrote: TF I want to use the output from the regex in an %Account= macro. TF Something like this: TF %SetRegexSource=Headers TF %FindLine_StartsWith: X-Apparently-To: TF %ExtractPattern: The part before

Re: Small regex needed

2005-12-04 Thread Thomas Fernandez
Hello Roelof, On Sun, 4 Dec 2005 09:50:32 +0100 GMT (04/12/2005, 15:50 +0700 GMT), Roelof Otten wrote: RO You mean something like this? RO %Account='%- RO %SetPattRegExp=(?m-s)^X-Apparently:\s(.*/?)@company.com%- RO %RegExpBlindMatch=%Headers%- RO %SubPatt=1%- RO '%- Yes, this sounds about

Small regex needed

2005-12-03 Thread Thomas Fernandez
is for the email address [EMAIL PROTECTED] 4.) This is what I want to do: When I reply out of the archive, I want the regex to extract the part before the @ in the email address in the header line start starts with X-apparently-To:, so that the account is set to the active (departmental) account. I

Re: [unclassified] Re[2]: Yet another RegEx question

2005-06-23 Thread Marten Gallagher
Hello Marten Gallagher, \[[0-9]{1,3}\/[0-9]{1,3}\] Thanks so much! Somehow I missed the '{1,3}' parts which made it work with more than 1 numeric character! DUH! ;-p I'm impressed - with me - first time I've ever advised on RegEx!!! -- Marten Gallagher Annery Kiln Web Design

Re: Yet another RegEx question

2005-06-23 Thread Mark Partous
Hello Marten, Thursday, June 23, 2005, 7:09:53 PM, you wrote: MG I'm impressed - with me - first time I've ever advised on RegEx!!! On top of that, you made someone buy RegexBuddy! :-) -- Best Wishes, Mark using The Bat! 3.5.30

Re: Yet another RegEx question

2005-06-22 Thread Marten Gallagher
Hello tbudl, OK, a RegEx question: I am receiving hundreds of spam messages that contain the following text, with the numeric part in the brackets varying endlessly - Re: [1/53]: Reday 2 Odrer olinne How do I pattern match the [1/53] and all the endless numeric and text variations

Re[2]: Yet another RegEx question

2005-06-22 Thread Spike
Hello Marten Gallagher, \[[0-9]{1,3}\/[0-9]{1,3}\] Thanks so much! Somehow I missed the '{1,3}' parts which made it work with more than 1 numeric character! DUH! ;-p One of these days I may 'get' 50% of the RegEx syntax. But then again I flunked both typing and basic programming in 1972

Yet another RegEx question

2005-06-21 Thread Spike
Hello tbudl, OK, a RegEx question: I am receiving hundreds of spam messages that contain the following text, with the numeric part in the brackets varying endlessly - Re: [1/53]: Reday 2 Odrer olinne How do I pattern match the [1/53] and all the endless numeric and text variations to send them

Re: Further to that regex/macro query

2005-06-12 Thread Roelof Otten
Hallo admin, On Sat, 11 Jun 2005 23:50:18 +0100GMT (12-6-2005, 0:50 +0200, where I live), you wrote: MG Now the RegEx to extract the name and email address. MG %FROMNAME= MG %FROM= MG %SUBJ= You don't need these, first of all, you can't set the from name with the %FromName macro, what it does

Re: [The Bat!] Simple regex in macro help please

2005-06-12 Thread Roelof Otten
Hallo Marten, On Sat, 11 Jun 2005 23:08:56 +0100GMT (12-6-2005, 0:08 +0200, where I live), you wrote: MG BTW I can't find anywhere where it says what the %- and the #- things do at the end of MG lines... The '%-' skips the line break, so a macro that only sets a header doesn't leave an empty

Re[2]: Further to that regex/macro query

2005-06-12 Thread Marten Gallagher
Hallo admin, On Sat, 11 Jun 2005 23:50:18 +0100GMT (12-6-2005, 0:50 +0200, where I live), you wrote: %Subj=subscribe%- %SetPattRegExp=submitted by\s*?^(.*?) \((.*?)\)%- %RegExpBlindMatch='%Text'%- %From=_%SubPatt='1' %SubPatt='2'_%- I've only edited the %From= macro... Thanks for

[The Bat!] Simple regex in macro help please

2005-06-11 Thread admin
Why will this macro with regex not work on the message example given below it? %SUBJ= %SUBJ=subscribe %SETPATTREGEXP=submitted by\s*?^(.*?) \((.*?)\) Email: %SUBPATT=1 Name: %SUBPATT=2 quote Below is the result of your feedback form. It was submitted by Miss Helen X ([EMAIL PROTECTED

Re: [The Bat!] Simple regex in macro help please

2005-06-11 Thread Roelof Otten
Hallo admin, On Sat, 11 Jun 2005 22:09:02 +0100GMT (11-6-2005, 23:09 +0200, where I live), you wrote: MG Why will this macro with regex not work on the message example given below it? Because you omitted something, you've set the regexp you want to use, but you didn't tell TB on what it should

Re[2]: [The Bat!] Simple regex in macro help please

2005-06-11 Thread Marten Gallagher
MG %SUBJ= MG %SUBJ=subscribe MG %SETPATTREGEXP=submitted by\s*?^(.*?) \((.*?)\) %RegExpBlindMatch='%Text'%- MG Email: %SUBPATT=1 MG Name: %SUBPATT=2 So insert %RegExpBlindMatch='%Text'%- where I did it and it'll work. Oh... silly me... ...but it is my First ever attempt at a regex macro

Further to that regex/macro query

2005-06-11 Thread admin
Now the RegEx to extract the name and email address. %FROMNAME= %FROM= %SUBJ= %SUBJ=subscribe %SETPATTREGEXP=submitted by\s*?^(.*?) \((.*?)\) %RegExpBlindMatch='%Text'%- Email: %SUBPATT='2' Name: %SUBPATT='1' Source: Web Page Enquiry %FROM=%SUBPATT='2' Now what I want to do is set the resulting

Re: [The Bat!] Simple regex in macro help please

2005-06-11 Thread Jonathan Angliss
Hi Marten Gallagher, On Saturday, June 11, 2005, you wrote: I can't find anywhere where it says what the %- and the #- things do at the end of lines... They get rid of new lines (at least %- does, not sure about #-). For example, in a template, put ===8 ==8

RegEx to extract email address from text and address reply to it

2005-04-14 Thread Admin at AK
Is there a simple regex expression I can insert in a template to: look through text of incoming email for the folowing line: E-mail: [EMAIL PROTECTED] and use that email address to address the reply. The emails come in from a third party programme which places its own from email address

OK so I've got a regex pattern but...

2005-04-14 Thread Admin at AK
I have now created a regex pattern to find an email address... but in the reply template I have put: %TO=%REGEXPTEXT=regexpression but it is not happening. Have I got that wrong? -- Marten Gallagher Annery Kiln Web Design www.annerykiln.co.uk Using The Bat! 3.0.1.33 with POPFile 0.22.1

Re: OK so I've got a regex pattern but...

2005-04-14 Thread Martin Webster on tbudl
Hello Admin, On 14 April 2005, 14:42 you wrote: I have now created a regex pattern to find an email address... but in the reply template I have put: %TO=%REGEXPTEXT=regexpression but it is not happening. Try something like this to match an e-mail address: %TO=%- %TO=%REGEXPTEXT='^(([A-Za

Filters (RegEx?)

2005-02-12 Thread Richard H. Stoddard
the instructions for RegEx, but just came away totally confused. Is there a simple way to do this? -- Thanks, Rick Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html

Re: Need simple RegEx on X- header

2005-01-13 Thread Roelof Otten
Hallo Thomas, On Thu, 13 Jan 2005 09:12:16 +0700GMT (13-1-2005, 3:12 +0100, where I live), you wrote: RO Define an additional header for TB at RO Options - Preferences - Message Headers TF I need to define the header? But the header already comes with the TF message, I don't want to create it

Re: Need simple RegEx on X- header

2005-01-13 Thread Thomas Fernandez
Hello Roelof, On Thu, 13 Jan 2005 11:12:40 +0100 GMT (13/01/2005, 17:12 +0700 GMT), Roelof Otten wrote: TF I need to define the header? But the header already comes with the TF message, I don't want to create it just recognise it. RO Yes, but it's a non standard header, that means TB doesn't

Re: Need simple RegEx on X- header

2005-01-13 Thread Roelof Otten
Hallo Thomas, On Thu, 13 Jan 2005 23:11:45 +0700GMT (13-1-2005, 17:11 +0100, where I live), you wrote: TF I thought about it during the day, and I might be able to use TF Headerfield instead of Header in the filter. This is what you mean, TF right? Yep, my mistake. That's what you get when

Re: Need simple RegEx on X- header

2005-01-13 Thread Thomas Fernandez
Hello Roelof, On Thu, 13 Jan 2005 17:35:10 +0100 GMT (13/01/2005, 23:35 +0700 GMT), Roelof Otten wrote: RO I don't know anything about Merak. In Mailtraq it would take less than RO 15 minutes, though not very much less as I'd need to write a script RO for it. Maybe he's very busy? I wish I'd be

Re: Need simple RegEx on X- header

2005-01-13 Thread Peter Meyns
think you need a regex here. TF Again, I don't see why I need to declare a customs header field for TF reading, but since I will have to declare it for the reply templates TF anyway, that will be no problem. ;-) I just learned on BT, that you don't even have to create the X-Header - you can simply

Need simple RegEx on X- header

2005-01-12 Thread Thomas Fernandez
Hello tbudl, I'm not good at regex. In fact, I don't understand them, but I have copied a few from the library and they work fine. What I now need is a rather simple one. I check several accounts and move the messages to folders in the main account. However, I want to colour-code them based

Re: Need simple RegEx on X- header

2005-01-12 Thread Peter Meyns
Hi Thomas, on Thu, 13 Jan 2005 00:53:38 +0700GMT, you wrote: TF I'm not good at regex. In fact, I don't understand them, but I have TF copied a few from the library and they work fine. What I now need is a TF rather simple one. I'm not good at regex either, but I'd say your first task should

Re: Need simple RegEx on X- header

2005-01-12 Thread Roelof Otten
Hallo Thomas, On Thu, 13 Jan 2005 00:53:38 +0700GMT (12-1-2005, 18:53 +0100, where I live), you wrote: TF I'm not good at regex. In fact, I don't understand them, but I have TF copied a few from the library and they work fine. What I now need is a TF rather simple one. Actually you don't need

Re: Need simple RegEx on X- header

2005-01-12 Thread Thomas Fernandez
Hello Roelof, On Wed, 12 Jan 2005 21:57:10 +0100 GMT (13/01/2005, 03:57 +0700 GMT), Roelof Otten wrote: TF I'm not good at regex. In fact, I don't understand them, but I have TF copied a few from the library and they work fine. What I now need is a TF rather simple one. RO Actually you don't

Re: Need simple RegEx on X- header

2005-01-12 Thread Thomas Fernandez
Hello Peter, On Wed, 12 Jan 2005 19:34:28 +0100 GMT (13/01/2005, 01:34 +0700 GMT), Peter Meyns wrote: PM I'm not good at regex either, but I'd say your first task should be PM solved without. As Roelof also pointed out. Thanks. TF The filters need to do this: TF IF X-Received-By = [EMAIL

How to RegEx this...

2004-10-07 Thread admin
to extract the item or items bought and send out an email that cays stuff like: 'Thank you for your order for Item 1 Item 2 We will blah blah blah. Some more blah. etc and send it to the email address given and it says Dear Arty Bloggs at the beginning. Is there a RegEx head out there could whack

Re: How to RegEx this...

2004-10-07 Thread Mica Mijatovic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ***^\ ._)~~ ~( __ _o Was another beautiful day, Thu, 7 Oct 2004, @ @ at 14:44:18 +0100, when [EMAIL PROTECTED] wrote: Is there a RegEx head out there could whack the code together sufficient for me to tweak it - despite the books

Re: How to RegEx this...

2004-10-07 Thread Roelof Otten
Hallo admin, On Thu, 7 Oct 2004 14:44:18 +0100GMT (7-10-2004, 15:44 +0200, where I live), you wrote: A I want to extract the item or items bought and send out an email that A cays stuff like: 'Thank you for your order for Create an appropriate filter, the filter creates a new message, the new

Re: regex/macro help needed

2004-08-29 Thread Robin Anson
On Sun 29 August 2004, 16:09:31 +1000, Jurgen Haug wrote: thank you! that did the trick! So this \A:? thingy isn't just looking for a colon at the END? like actually it's :-* RE: and I thought that's the colon it's looking for. This stuff is voodoo. The \A locks the pattern to the

Re: regex/macro help needed

2004-08-29 Thread Robin Anson
, BUT regex couldn't care less about what *I* am thinking, since it will always look for the first colon, no matter what pattern I am throwing at it, since this \A thing tells him to do exactly that! right? That's right. It is always looking at the very beginning for zero or one colon, followed

regex/macro help needed

2004-08-28 Thread Jurgen Haug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo Fledermäuse, I have a little problem with a subject-modifier macro and need some help. Thank you for looking here: http://www.safaribears.de/help/regex.html ;-) - -- regards, Jürgen :eu-flag3: :de-bw: There are none so blind as those who

Re: regex/macro help needed

2004-08-28 Thread Andrey Perevodchik
Hello! JH I have a little problem with a subject-modifier macro and need some help. JH Thank you for looking here: http://www.safaribears.de/help/regex.html Maybe escape dash as well?... -- Andrey Current version is 2.12.00 | 'Using TBUDL'

Re: regex/macro help needed

2004-08-28 Thread Robin Anson
something If that is correct, the problem with the regex is not with what you have added, it is that it starts with \A:?. This matches the first colon, then the :-\* re that you have added doesn't match what is left. You could add -\* re instead, or take out the :? at the beginning of your regex line

Re: Macros and regex and... I need help with a template

2004-08-11 Thread M i c C u l l e n
At 01:58 [GMT+0200] on Wednesday August 11 (Actual time - 07:58am on Wednesday in Perth, Western Australia) you wrote: [snips] Roelof %Wrapped='%QInclude(YourTime)' Roelof The QInclude macro calls the QT, the Wrapped macro wraps the output of Roelof the QT according to your wrapping settings.

Macros and regex and... I need help with a template

2004-08-10 Thread M i c C u l l e n
G'day tbudl, G'day all. One of our fellow list members kindly provided me with the below setup. What it outputs currently is the following: On Mon, 9 Aug 2004, at 19:17:07 [GMT+0800] (which was 21:17:07 Australian Eastern Time) you wrote: What I'd like it to give me is: At 21:17

Re: Macros and regex and... I need help with a template

2004-08-10 Thread Roelof Otten
Hallo M, On Tue, 10 Aug 2004 21:04:43 +0800GMT (10-8-2004, 15:04 +0200, where I live), you wrote: MIC What I'd like it to give me is: MIC At 21:17 [GMT+1000] on Monday Aug 09 (Actual time - 19:17 Monday in Perth, MIC Western Australia) you wrote: Create a quick template (QT) called YourTime

Macros and regex and... I need help with a template

2004-08-09 Thread M i c C u l l e n
G'day all. One of our fellow list members kindly provided me with the below setup. What it outputs currently is the following: On Mon, 9 Aug 2004, at 19:17:07 [GMT+0800] (which was 21:17:07 Australian Eastern Time) you wrote: What I'd like it to give me is: At 21:17 [GMT+1000] on Monday

Re: Regex Macro Help

2004-01-15 Thread Urban
Thursday, January 15, 2004, Patrick G. wrote: %REGEXPTEXT=^\.{2,}\\s\-{2}.{20} I get the followng error: *** Error: \ at end of pattern ***.{2,}\\s\-{2}.{20}) Perhaps I've been at this too long this evening, but even after searching teh archives and reading the RegEx tutorial, I

Re[2]: Regex Macro Help

2004-01-15 Thread Patrick G.
JA You might want a quick change... you have multiple in there, that JA might cause an issue. Try it like this: JA %REGEXPTEXT='^\.{2,}\\s\-{2}.{20}' Thanks Jonathan, that solved the problem. Patrick G. -- The Bat! Version 2.03 Beta/33 assisted by BayesIt! 0.4gm hindered by Windows

Regex Macro Help

2004-01-14 Thread Patrick G.
Hello fellow Bat!fans, I have the following regex which works fine in RegExTest ^\.{2,}\\s\-{2}.{20} But when I add it to a macro filter to extract this match to a file %REGEXPTEXT=^\.{2,}\\s\-{2}.{20} I get the followng error: *** Error: \ at end of pattern ***.{2,}\\s\-{2}.{20

Re: Regex Macro Help

2004-01-14 Thread Jonathan Angliss
On Wednesday, January 14, 2004, Patrick G. wrote... I have the following regex which works fine in RegExTest ^\.{2,}\\s\-{2}.{20} But when I add it to a macro filter to extract this match to a file %REGEXPTEXT=^\.{2,}\\s\-{2}.{20} I get the followng error: *** Error: \ at end

Regex-Tutorial Update

2003-09-06 Thread Gerd Ewald
Good evening Batsmen, I just want to let you know that I updated the Regex-tutorial on http://www.regenechsen.de/regex_en/regex_1_en.html and -of course- there is a PDF-download available. Together with Marck who helped me with the translation I added some regex-examples. Thanks

Re: Regex-Tutorial Update

2003-09-06 Thread Greg Strong
Hello Gerd, I just want to let you know that I updated the Regex-tutorial on http://www.regenechsen.de/regex_en/regex_1_en.html and -of course- there is a PDF-download available. Thanks! -- Best regards, Greg Strong Using The Bat! v2.00 on Windows XP 5.1 Build 2600 Service Pack 1

Re: cleaning sigs ads from forwards - RegEx migrane

2003-06-12 Thread dajabo
Thanks for your response. Unfortunately I'm way out of my depth here and don't particularly want to learn the ins and outs of RegEx I just need to set up this sig and ad strip for now on 11/06/2003 Bill wrote: BM A simply reformatting and using PCRE Extended, produces: BM 8

cleaning sigs ads from forwards - RegEx migrane

2003-06-11 Thread dajabo
I'm trying to exclude signatures and adds from bottom of messages to be forwarded The REGEX-BASED Macro collection http://www.silverstones.com/thebat/macros.html offers the following string: %quotes='%SETPATTREGEXP=(?is)((\s*)?\n?-BEGIN PGP %- SIGNED.*?\n(Hash:.*?\n)?\s

Re: cleaning sigs ads from forwards - RegEx migrane

2003-06-11 Thread Bill McCarthy
On Wed 11-Jun-03 7:54am-0400, dajabo wrote: The REGEX-BASED Macro collection http://www.silverstones.com/thebat/macros.html offers the following string: %quotes='%SETPATTREGEXP=(?is)((\s*)?\n?-BEGIN PGP %- SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(%- -*?\s*?--\s*\n

Re: cleaning sigs ads from forwards - RegEx migrane

2003-06-11 Thread Carsten Thönges
* dajabo [EMAIL PROTECTED] writes: The REGEX-BASED Macro collection http://www.silverstones.com/thebat/macros.html offers the following string: %quotes='%SETPATTREGEXP=(?is)((\s*)?\n?-BEGIN PGP %- SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(%- -*?\s*?--\s*\n

RegEx Template Help: Pruning/Deleting Duplicate Newlines

2003-02-19 Thread Mike Dillinger
Hello, I'm using The Bat! v1.62i on Windows 2000 SP3 Build 2195. I'm trying to make a regex template to get rid of duplicate newlines. So far, this is what I have (and I know it's very wrong): =[ RemoveDupNewlines ]= %QUOTES='%SETPATTREGEXP=(?m)%- ((\n){2})%- %REGEXPBLINDMATCH=%text

Re: RegEx Template Help: Pruning/Deleting Duplicate Newlines

2003-02-19 Thread Allie Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In [EMAIL PROTECTED]">mid:[EMAIL PROTECTED], Mike Dillinger [MD] wrote:' MD I'm trying to make a regex template to get rid of duplicate newlines. MD So far, this is what I have (and I know it's very wrong): MD =[ RemoveDupNewlines ]

Timezone Regex (was Re: Quoting selected text in a reply)

2003-01-29 Thread Marck D Pearlstone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Roelof, @29-Jan-2003, 10:57 +0100 (09:57 UK time) Roelof Otten [RO] in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] said: RO OOTC: A few months ago somebody posted a piece of regexp to to RO extract the GMT offset of your own computer. I forgot to

Re: Regex help-hilfe-ajuto needed

2002-08-18 Thread Mandara
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 17 Aug 2002, at 18:25:20 -0700 Januk wrote in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] : JA On Saturday, August 17, 2002 at 21:35 GMT +0200, a stampede was JA started when Mandara hollered: Well, that's something... ;-) JA I know this

deleting mail on the server by regex

2002-08-18 Thread Marek Mhling
this with regex and The Bat! 1.61 searching for files containing multipart in the header whithout file_from_xyz in the subject line. Marck Pearlstone suggested this: multipart.*\nSubject:[ \S]*(?!file_from_xyz) Can't get it to work so far, didn't find anything in the FAQ... Anyone any ideas? Marek

  1   2   3   >