Search for a form feed character in a string:
var patt1 = /\f/;
Definition and Usage
The \f metacharacter is used to find a form feed character.
\f returns the position where the form feed character was found. If no match is found, it returns -1.