|
REMatchNoCase
DescriptionUses
a regular expression (RE) to search a string for a pattern, starting
from a specified position. The search is case-insensitive.
For
more information on regular expressions, including escape sequences, anchors,
and modifiers, see Using
Regular Expressions in Functions in the Developing ColdFusion Applications.
ReturnsAn array
of strings that match the expression.
Function syntaxREMatchNoCase(reg_expression, string)
Parameters
Parameter
|
Description
|
reg_expression
|
Regular expression for which to search.
Case-insensitive.
For more information, see Using
Regular Expressions in Functions in the Developing ColdFusion Applications.
|
string
|
A string or a variable that contains one.
String in which to search.
|
Example<!--- Find all the URLs in a web page retrieved via cfhttp:. --->
result = REMatch("https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?", cfhttp.filecontent);
|