Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
however when I do this, it also converts the whitespace inside the html tags thus making it not work. so how can I swap the whitespace, which I do like this:
How can I do this ONLY for stuff NOT IN html tags? I know how to swap out only html, but cannot figure out how to swap whitespace that is in the whole variable except what is in side the html tags...my $_swapWithText = ' '; $__htmlEmailText =~ s/ /$_swapWithText/eg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with UTF-8 email
by graff (Chancellor) on Jul 27, 2010 at 00:58 UTC | |
|
Re: Problem with UTF-8 email
by zwon (Abbot) on Jul 27, 2010 at 00:23 UTC | |
by Anonymous Monk on Jul 27, 2010 at 00:27 UTC | |
|
Re: Problem with UTF-8 email
by roboticus (Chancellor) on Jul 27, 2010 at 00:34 UTC | |
|
Re: Problem with UTF-8 email
by Gangabass (Vicar) on Jul 27, 2010 at 08:33 UTC | |
|
Re: Problem with UTF-8 email
by afoken (Chancellor) on Jul 27, 2010 at 11:14 UTC |