X-ways Forensics is way more advanced than R-studio.
That being said, i've only used R-studio once some 5-6 years ago, when i tried it privately.
Maybe give the open source tool a chance, i think the are capable of doing what you need.
There might be difference ways of using regex searches within each software, the ones i've written in the last post would work for X-ways forensics.
The hex values of the wallet.dat headers I did have some older versions myself, and used them at first to verify.
I asked Chat GPT for every variant of the wallet.dat files from all versions, and it came up with the ones i did not already have myself.