Any Examples of Subject/Body Regex Mangling ? [message #161851] |
Sat, 13 February 2010 16:16 |
jm2morri
Messages: 225 Registered: January 2009 Location: Stratford, Ontario, Canad...
Karma: 0
|
Senior Member |
|
|
Does anyone have a link to various examples of strings used for subject/body mangling? It would be helpful to have a few examples to use for common situations. Also, can you add these basic examples to the help/documentation at
http://cvs.prohost.org/index.php/Mailing_List_Manager
I traced down this (easy) case to remove off a string in the subject that is added by the mail list use the following setup
Replace Mask : "/string/"
Replace With: ""
Without the quotes. Note that there is nothing in second box (modified) and the replace with text box.
Also, if there is a "[" or "]" character you need to add an escape character like: I'm sure there are other characters that need to be escaped.
Replace Mask : "/\[string\]/ "
Replace With: " "
Finally note that the "/" characters are already in the form so you don't need to type those.
I'm looking for the settings to remove everything after the signature delimiter. In my case, the footer starts with "------------------------------------" and I'd like to remove that and everything after it to the end of the text.
Cheers,
James.
[Updated on: Sat, 13 February 2010 17:02] Report message to a moderator
|
|
|
|
|
Re: Any Examples of Subject/Body Regex Mangling ? [message #186531 is a reply to message #184946] |
Sat, 06 September 2014 11:16 |
|
anamika
Messages: 1 Registered: September 2014 Location: usa
Karma: 0
|
Junior Member |
|
|
I just found out that an email reminder for having deleted a post also comes with the "�" subject. I guess some area for email processing must be broken in our installation. If anybody has ideas where to check, it would be much appreciated.
anamika
|
|
|