I am trying to match
Begin_Page {Some Number}
while trying to avoid
Begin_Page_{Some Number}
I tried
$line =~ m/^Begin_Page\s/
but I noticed it sometimes does not match anything file while surely had Begin_Page 8703
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your regexp is correct; the line should match:
Output: