Hello, I'm trying to match an amount from the text with newlines, amount has leading currency symbol, so I'm trying to match based on that(in the string there are no other currency symbols. Example below.
" · CAD –> Main · EUR
€1 046.72"
" · CAD –> Main · USD
$1 533.18"
These are already simplified strings(right side that contains the amounts). This formatting is not universal. The only universal thing is that it's on the rightmost side of the string(before the newline or before end of the string)
Now for the frustrating part, this is the pattern that I'm using (([€\$]\s*)?\d{1,3}(?: \d{3})*(?:\.\d{2})\s*). I've tried adjusting it many times, and it shows in regex debugger(regex101) that it should catch those amounts just fine, but it doesn't catch in the alteryx(I'm using regex match function for it). Am I missing something? Is there an error in the pattern?