Any Examples of Subject/Body Regex Mangling ? [message #161851] |
Sat, 13 February 2010 11:16  |
jm2morri
 Messages: 225 Registered: January 2009 Location: Stratford, Ontario, Canad...
Karma: 0
|
Senior Member |
add to buddy list ignore all messages by this user
|
|
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 12:02] Report message to a moderator
|
|
|
|
|
|