Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Parsing email + subject URLs from a webpage.

by perl_virgin (Initiate)
on Aug 07, 2002 at 12:46 UTC ( [id://188293]=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://188293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-24 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found