Whatever message this page gives is out now! Go check it out!
<cfset IndexOfOccurrence=Find(" BIG ", "Some BIG string")>
<!--- The value of IndexOfOccurrence is 5 ---><!--- The value of IndexOfOccurrence is 5 ---><!--- The value of IndexOfOccurrence is 5 ---><!--- The value of IndexOfOccurrence is 5 ---><!--- The value of IndexOfOccurrence is 5 --->
after the brackets is a special character specifying to find one or more occurrences of the character set. If you removed the + from the regular expression in the previous example, " A-Z " matches a literal space, followed by any single uppercase letter, followed by a single space. This regular expression matches " B " but not " BIG ". The REFind function returns 0 for the regular expression, meaning that it did not find a match. You can construct complicated regular expressions containing literal characters, character sets, and special characters. Like any programming language, the more you work with regular expressions, the more you can accomplish with them. The examples here are fairly basic. For more examples, see Regular expression examples.