if(Page\ \;1\ \;of\ \;(/d+)) { print "Number of Pages = ".$1; } [download]
In reply to Escaping Regex Expressions by Anonymous Monk