http://www.perlmonks.org?node_id=188293

perl_virgin has asked for the wisdom of the Perl Monks concerning the following question:

I am parsing email+subject links from a webpage.
I wanted to know if there is a function which removes the special characters from the subject. As in this example:
jack@abc.com?subject=3%2B%20Year%20CNN%20BBBC%20AAA%20for%20Huge%20Tam +pa%20SHOE%20Table.%20Co.!!
I want to convert the special characters "%20" etc.. in this string into regular text.

Replies are listed 'Best First'.
Re: Parsing email + subject URLs from a webpage.
by Abigail-II (Bishop) on Aug 07, 2002 at 14:21 UTC
Re: Parsing email + subject URLs from a webpage.
by Anonymous Monk on Feb 19, 2003 at 12:19 UTC
    use unescape

      use unescape

      I'm not sure about what you mean here really, but I think that it might be worth mentioning that uri_unescape from URI::Escape is useful when you do want to unescape URLs etc.

      --
      mowgli