Regular expression with Hebrew

Hi!
I need to find in pdf this- סה"כ למע"מ : 22209.08
And then to get the random sum according to this constant text.
Can anyone help to create a regular expression for this Hebrew stuff?
Thx

Hi @Slavich ,

Does this work for you?

string pattern = @"\b\d*\.?\d+(?=\s+סה\""כ למע\""מ)";

image

2 Likes

I modified it like this, and it works. Thank you!
(?<=(סה\Wכ לתשלום:)(\s))(\d*.\d{2}\s)(?=(\s))

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.