In this case, first you need to Read that pdf using Read PDF Text activity then by using your Specific word Regex get that page number then use Extract PDF Page Range activity
in this scenario read each page of PDF file and after reading each page check your condition with your key value, if condition passed then you can use output of that page data other wise continue until last page
For the condition field, does it work to enter ExtractedPDFText Contains Regex?
Also, may I know where does the “currentNumber.ToString” in the Range field comes from?
It is a for loop internal varible might be littled different for you…to know start typing current and you would see it might be currentitem as well
Now for condition you can use system.Text.RegularExpressions.Regex.IsMatch(extractedpdfdata,"YourRegex") - this will return true if regex matches else false