Skip to main content
Solved

Invalid expression


Forum|alt.badge.img+4

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

Tax (30%) - $46    

Best answer by Abhay Naik

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

View original
Did this topic help answer your question?

3 replies

Forum|alt.badge.img+1
  • Cadet | Tier 2
  • 6 replies
  • January 16, 2024

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

 


rohit.k2
Cadet | Tier 2
Forum|alt.badge.img+1
  • Cadet | Tier 2
  • 7 replies
  • January 17, 2024

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

$ -→ $$


Abhay Naik
Forum|alt.badge.img+7
  • Navigator | Tier 3
  • 98 replies
  • Answer
  • January 17, 2024

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings