One match or every match?
The fixture’s result Order ID can be obtained by replacing one digit group. That alone is insufficient to prove global replacement. The follow-up test should use Item 15 in bin 42, with expected result Item ID in bin ID.
LibreOffice’s REGEX() uses an explicit g flag to replace all matches. KDE Calligra’s REGEXPRE() documentation says that all matches are replaced. Zoho Sheet’s REGEXREPLACE() has an occurrence selector, with its default applying to all matches. This is a real argument and default difference, not simply punctuation.
ONLYOFFICE 9.3 added regex replacement. The patch does not claim that a sample formula was executed there. If that capability is a requirement, check the installed editor version and verify the function signature before publishing a cross-platform template.
When not to use regex
If the text token is always the known literal 0042, a simple SUBSTITUTE is easier to read and more portable. Regex is valuable when the text follows a variable pattern, but it increases the burden on data maintainers.