Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

How to replace non aschii character and replace with blank space

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


info at bizindia2china

Jun 7, 2013, 8:00 AM

Post #1 of 2 (128 views)
Permalink
How to replace non aschii character and replace with blank space

Hi All,



This group has help me a lot to understand lots of things.



I am facing one issue in my perl assignment.



I have to replace some non ascii character from a string with a blank
character if non ascii character found in that string.





Please help me with some code.



Thanks in advance,



Thanks & Regards,

Prakash Dutta

Email : info [at] bizindia2china

Ph: +86-18616367392

BGIL
Attachments: image003.jpg (2.95 KB)


daxim at cpan

Jun 27, 2013, 11:58 AM

Post #2 of 2 (91 views)
Permalink
Re: How to replace non aschii character and replace with blank space [In reply to]

'abcd5³³³€€½¼¬trgdg¼5# sf fs ´dg ßdsf' =~ s/\P{ASCII}/\N{SPACE}/gr;
__END__
abcd5 trgdg 5# sf fs dg dsf

In the future, please observe the this mailing list's user guide,
your question was off-topic.
<http://perl.apache.org/maillist/email-etiquette.html#General_Perl_and_Apache_questions>
You will get faster, better answers at
<http://lists.perl.org/list/beginners.html>,
<http://perlmonks.org/?node=Seekers%20of%20Perl%20Wisdom>,
<http://stackoverflow.com/questions/tagged/perl>.
Attachments: signature.asc (0.82 KB)

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.