Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(((<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

Replace cfmail with cfsets

Submitted by Akan - 10 years ago