Regular Expressions 101

Library entries

Cfmail replace

Vote

0

Regular Expression
pcre

/
(((<cfmail\s*)\s*(((\s+from *= *("|'))([^"']+)("|'))|((\s+to *= *("|'))([^"']+)("|'))|((\s+replyto *= *("|'))([^"']+)("|'))|((\s+failto *= *("|'))([^"']+)("|'))|((\s+cc *= *("|'))([^"']+)("|'))|((\s+bcc *= *("|'))([^"']+)("|'))|((\s+port *= *("|'))([^"']+)("|'))|((\s+server *= *("|'))([^"']+)("|'))|((\s+subject *= *("|'))([^"']+)("|'))|((\s+type *= *("|'))([^"']+)("|')))+\s*>))
/
g

Description

Loading markdown...
Submitted by Akan - 7 years ago