Solved

Invalid expression

  • 16 January 2024
  • 3 replies
  • 98 views

Userlevel 1
Badge +4

wondering why am I getting invalid expression even if my regex expression matches with
 

Tax (30%) - $46    

icon

Best answer by Abhay Naik 17 January 2024, 10:02

View original

3 replies

Badge +1

The $ sign is a sign reserved for Automation Anywhere and indicates that you are using Variable, You must remove it 

 

Badge +1

You can use additional ‘$’ to make it a valid expression.

$ -→ $$

Userlevel 3
Badge +7

Hi @manognya.prasad ,

$ in AA indicates that you are starting a variable so the command expects you to close it with $. But since you are trying to pass the regex with “$” symbol you should put $$ which is interpreted as “$” symbol.

 

Hope this helps

Reply