Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Regex to cange HTML %?? to char(0x??);

by Anonymous Monk
on Jun 20, 2001 at 00:18 UTC ( #89799=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $_ = "a%5eb"; 
      s/%([0-9a-fA-F]{2})/pack("c",hex($1))/ge;
    
  2. or download this
      use URI::Escape;
      $_ = uri_unescape "a%5eb";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2019-09-21 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (269 votes). Check out past polls.

    Notices?