I have a string called "s" which contains "problems once you\x19ve secured the job!)."
I am trying to replace the \x19 character with "ww" in this case but
s.replace(/\x19/g, 'ww')
is just returning exactly the same thing. What am I doing wrong. This is driving me mad.
Many thanks.
Transcript below:
$[3] = [string] "problems once you\x19ve secured the job!)."
0002: s.replace(/\x19/g, 'ww')
$[4] = [string] "problems once you\x19ve secured the job!)."
I am trying to replace the \x19 character with "ww" in this case but
s.replace(/\x19/g, 'ww')
is just returning exactly the same thing. What am I doing wrong. This is driving me mad.
Many thanks.
Transcript below:
$[3] = [string] "problems once you\x19ve secured the job!)."
0002: s.replace(/\x19/g, 'ww')
$[4] = [string] "problems once you\x19ve secured the job!)."
Comment