Read PDF text and get the second occurrence

I Think You are Finding Something Like This
Regex to Match Total Value

Use Matches Activity for Regex To Get Total Value,
And pass Read PDF Text activity output variable as an input of Matches activity.

To get second occurence of Total Value use This Expression
MatchList(1)

Hope it Helps.

Let me Know if you have any queries.

Regards,
Saloni