Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Unicode and Regexps: convert or am I missing something?

by thundergnat (Deacon)
on Jun 02, 2005 at 01:29 UTC ( [id://462715]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Encode::from_to($string, 'UTF-16LE', 'utf8');
    
  2. or download this
    Encode::from_to($string, 'UTF-16LE', 'iso-8859-1');
    
  3. or download this
    my $string = '5/18/05  184  7    3.8%    6.14    1.13';
    
    if ($string =~ m#(\p{Digit}+/\p{Digit}+/\p{Digit}+)#){
        print $1;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-19 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found