Regexエラーの原因

こんにちは。
UiPath Studio 2023.10.0 EnterPriseユーザです。

下記の正規表現を使っている箇所で添付画像のエラーが出ました。原因は何でしょうか?

i_dr_TransactionItem(“XXXX”)=System.Text.RegularExpressions.Regex.Match(i_dr_TransactionItem(“XXXX”).ToString, “^.+市”).Value

Hi @gorby

Did you try importing the System.Text.RegularExpressions.Match from Inport NameSpaces. First import that reinitialise the activity.

Hope it helps

Could you elaborate on what you said or could you show me on picture basis?

Hi @gorby

Delete the assign activity, and Import the System.Text.RegularExpressions namespace from Import NameSpaces and reinitialize the assign activity. If you still face any error let me know.


Hope it helps!!

Hi, I used System.Text.RegularExpressions several times in the past.
However, this is my first time I need to import namespaces.
In which situation, this happens?

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