I specifically want to find sequences of 4 digit numbers and exclude all matchs that are greater than 4 digits long. To do this, I use the \b sequence. If you test the following regex on a regex testing website like regex101.com, you'll see that the regex works as expected: \b\d{4}\b
However, when I use this sequence in Power Automate in a Python Script, nothing is found. How do I fix this issue? Is this a bug in Power Automate Desktop? If it matters, I am reading from Excel files to find these 4 digit number sequences. I have tested direct copy-paste of these Excel files contents and the regex once again worked as expected. It is only in Power Automate Desktop that it stops working.