I checked the manual, but I don’t understand this sentence. I would like to ask for advice humbly: If you want to use backslashes in replacement, you must use 4 ("\\\\", translation annotation: because this is first of all a PHP string, After escaping, there are two, and then after passing through the regular expression engine, it is considered to be one original backslash).
Use single quotes directly, why bother?
This is very clear. Two slashes are needed for escaping, one for regular expressions, and one for the original text