I see the same behavior in my testing. This was a known issue with the ReplaceText processor. The only way I can get it to work the same is to insert a line return in between the regex's. Example image below:
The issue was resolved in the next release of MiNiFi.