Railo 4.2 Reference
Choose a function:

Function REFIND

Uses a regular expression (RE) to search a string for a pattern. The search is case sensitive.


refind(string reg_expression,string string,[number start,[boolean returnsubexpressions]]):any


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
reg_expression string  Yes Regular expression for which to search. Case sensitive.  
string string  Yes String in which
to search.  
start number  No A positive integer. Position in the string at which to start search. The default value is 1.  
returnsubexpressions boolean  No