nmdahl has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to format some French strings, and am having trouble with strings containing d". For example, if the input string is d"alice I need to change it to alice.
I found a statement that I thought would change find the d" and replace it with nothing, but it does not seem to work as I expected
$myString =~ s/"d\""/" "/g;Can anybody point me in the right direction?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex Remove String with Quotations
by stevieb (Canon) on Jul 13, 2015 at 19:42 UTC | |
|
Re: Regex Remove String with Quotations
by Laurent_R (Canon) on Jul 13, 2015 at 20:30 UTC | |
|
Re: Regex Remove String with Quotations
by kcott (Archbishop) on Jul 14, 2015 at 05:36 UTC | |
|
Re: Regex Remove String with Quotations
by stevieb (Canon) on Jul 13, 2015 at 20:47 UTC | |
|
Re: Regex Remove String with Quotations
by hurricup (Pilgrim) on Jul 13, 2015 at 19:37 UTC | |
|
Re: Regex Remove String with Quotations
by nmdahl (Initiate) on Jul 14, 2015 at 12:50 UTC | |
by Laurent_R (Canon) on Jul 14, 2015 at 14:30 UTC |