Solved

perl character detection

Posted on 2004-09-09
3
232 Views
Last Modified: 2010-05-19
Hi All,

I have a string which has words which is a mixture of english and multibyte text.

Is there some perl function by which looking at a word, we can say whether the word is made of ONLY non-multibyte characters???

Regards,
Lakshmi
0
Comment
Question by:lakshminair
3 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 100 total points
ID: 12024363
!/[^\x00-\xff]/
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to search multiple patterms in a file with perl? 4 82
use google analytics code in perl script 2 77
Perl Awk Need Help 3 119
read an xml file in perl 2 33
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question