I am confused by the operation of the RegEx Replace functions provided
by PHP.
I understand, of course, what is intended if the 'Replace' string is a
simple character string, to be slotted into the target whenever a match
is achieved.
But what is intended when the 'Replace' string is itself a RegEx string?
How does that work?
by PHP.
I understand, of course, what is intended if the 'Replace' string is a
simple character string, to be slotted into the target whenever a match
is achieved.
But what is intended when the 'Replace' string is itself a RegEx string?
How does that work?
Comment