Your first regex works fine in tasker.
I believe the problem is with how you're dealing with the result variable. The result variable is actually an array, so for example, if your result variable is called %result, then you could add the flash action to flash either %result1 or %result(1).
The flash action is to prove that this is actually working.
Let me know if that works.