What's the regex pattern for regular English chars and numbers ...

In Java String there is a matches(String regex) method, how can I specify the regex for regular English chars, I want it to tell me if the string contains non-English chars. The string is from an email, my application wants to know if the email contains any foreign characters, such as French, Spanish, Chinese ...
So if the string looks like this : "Hi Frank, today is (5-7-2007), my address is : '[email protected]', email me ~ ! ^_^, do you know 1+2=3 ? AT&T, 200%, *[$300] | {#123}, / _ \;"
It should recognize it as regular English characters.
But if it contains any foreign language (outside of a-z) chars either western(Russian, Greek ...) or eastern languages (Japanese, Chinese ...), it should return false.
I wonder how to write this "regex" ?
Frank

since french, english, and spanish use thesame
alphabet, i don't know how you will have theregex
for "english chars but not french or spanishones"
:)Not true. Spanish has �
KajAlso ll.ll was in 1994 dropped from the Spanish alphabet. :)No shit?
What about ch and rr?

Similar Messages

  • What is the best subscription for use in US and Au...

    I regularly travel between US and Australia.  I have postal addresses in both locations and credit cards from both countries.  So I can purchase from either location.
    I want to be able to make calls to US land lines and Mobiles whilst in either countries.  What is the best subscription for me to buy and in which country should I purchase it?
    NOTE: I am not really concerned about calls to Australia.  I don't make that many and so am happy to pay as I go for the Australian calls.

    Probably best option would be Unlimited US&Canada subscription, which you can get if you are located in US.
    It will be displayed here: http://www.skype.com/go/subscriptions
    If you are outside of US or Canada then this subscription is not offered.
    It doesn't matter where you are located when placing calls, but with subscriptions it does matter where you are when purchasing.
    Andre
    If answer was helpful please mark it with Kudos and if issue is resolved mark it with solution. This will help other users find this answer more easily. Thanks in advance!

  • What are the classes used for bropdownListBox in BSP and purpose and how

    what are the classes used for bropdownListBox in BSP and purpose and how
    thank you,
    Regards.
    Jagrut BharatKumar Shukla

    Benje001,
    Right-click on the CWAI control on your form. Choose Properties. The first tab is the Channels tab. After you choose your device from the drop down box on the right, you can type in the Channels box which channel you want to use.
    If you want to see a CWAI control that is already configured, all of the shipping examples will have this already done.
    Also, if you have questions about any item on the CWAI (or any other NI ActiveX control) you can click the ? icon in the right corner of the properties page and then click on the item in the dialog that you need help with. This "What's this" help will describe that particular control on the dialog.
    Hope that helps!
    Regards,
    Shannon R.
    Applications Engineer
    National Instruments

  • Hi all! What is the best way to create the correct space for baseball jersey names and numbers? along with making sure they are the right size for large printing.

    What is the best way to create the correct space for baseball jersey names and numbers? along with making sure they are the right size for large printing.

    Buying more hard drive space is a very valid option, here.  Editing takes up lots of room, you should never discount the idea of adding more when you need it.
    Another possibility is exporting to MXF OP1a using the AVC-I codec.  It's not lossless, but it is Master quality.  Plus the file size is a LOT smaller, so it may suit your needs.

  • What are the config steps for contract mass change and quota arrangement?

    Hi friends
    what are the config steps for contract mass change and quota arrangement?
    Regards
    Raj Kumar

    Process Flow
    The mass change process consists of four steps. You navigate between these steps by choosing the Next and Back buttons located at the bottom right-hand corner of the screens.
           1.      Search for contracts
    You search for and select the contracts or the contract hierarchy that you want to change.
    Contracts that have the status Closed cannot be changed.
           2.      Define mass changes
    You specify the changes you want to make.
    You make changes at header data level and at item data level by choosing the relevant change methods. A green tick appears next to each change parameter so that you can see where changes are already active.
    Once you enter this step, the documents you have selected to be changed are locked so that other users cannot make changes to them until you are finished with this process.
           3.      Simulate mass changes
    Here you can perform a trial run of your mass changes. This simulation step is optional.
    We recommend that you perform this step so that you can check how the change methods you have chosen will be processed by the system.
    You receive status messages about the change methods for each contract and can quickly see whether any errors arise in connection with the proposed changes at this stage. From this step, it is easier for you to go back and correct the error than after applying the changes.
    Background processing
    The system processes the changes in the background.
    If there are a large number of contracts to be processed, this step could take some time to complete. In this case, you can leave the transaction so that you can, for example, carry out other tasks in the meantime.
    The system sends you an e-mail once the simulation step is complete. The e-mail contains a link to the relevant screen in the application so that you can return to it when it is convenient for you to do so. If you have left the SRM application, you can only return via this link.
    Here you can see the status of the changes and, if necessary, you can correct any errors by going back to the Define mass changes step.
    The messages that you receive in the simulation step are not confirmation that a change has been performed. They simulate the messages you get after you apply the changes. You must complete the final step of the mass change process and apply the changes before they take effect.
           4.      Carry out mass changes
    Here you apply the changes to the contracts.
    You cannot reverse this step, which is why we advise you to perform the simulation step beforehand.

  • What are the images URI for Update , Add Applicant and unlock

    what are the images URI for Update , Add Applicant and unlock
    where can I find all images URI in OAF

    For update - updateicon_enabled.gif
    You can find all other in $OA_MEDIA derectory.
    -Anand

  • What are the main uses for a Macbook Pro, and also for a Macbook Air?

    I'm curious of whether I should buy a Macbook Pro, or Macbook Air. Before I make my decision I would like to know what are the main purpaces for each Macbook.

    Here's an article that compares the two.
    http://news.cnet.com/8301-13579_3-57458148-37/13-inch-macbook-air-vs-13-inch-mac book-pro-which-should-you-buy/?tag=postrtcol;posts

  • What is the best practice for creating master pages and styles with translated text?

    I format translated text all the time for my company. I want to create a set of master pages and styles for each language and then import those styles into future translated documents. That way, the formatting can be done quickly and easily.
    What are the best practices for doing this? As a company this has been tried in the past, but without success. I'd like to know what other people are doing in this regard.
    Thank you!

    I create a master template that is usually void of content, with the exception I define as many of the paragraph styles I believe can/will be used with examples of their use in the body of the document--a style guide for that client. When beginning a new document for that client, I import those styles from the paragraph styles panel.
    Exception to this is when in a rush I begin documentation first, then begin new work. Then in the new work, I still pull in those defined paragraph and or object styles via their panels into the new work.
    There are times I need new styles. If they have broader applicability than a one-off instance or publication, then I open the style template for that client and import that style(s) from the publication containing the new style(s) and create example paragraphs and usage instructions.
    Take care, Mike

  • What is the design pattern for web application with struts & hibernate?

    Hi everyone,
    I am new to web application developement.I am using struts for MVC framework & Hibernate for ORM framework.I am little confused that struts used bean representation for collecting form fields(Bean 1),value objects(DTO) for passing value to the JSP(Bean 2) & hibernate use the bean like representation for persistent object(Bean 3).Whether we must use all the bean's which are similar to each other or any reusable bean recommended?

    I'm sure why it didn't work. That is how I bundle the JRE. The only disadvantage about bundling is the size of the installer file will be pretty large. In my opinion, relying on a public version is not a good idea if you have no control of the target box. The user might, for some reason, decide to uninstall java or upgrade to a new incompatible version and your app. may stop working. I'm sure many on here will disagree with this though.
    I always use the marner .exe wrapper:
    http://www.megaupload.com/?d=FYZAVM77
    and inno installer:
    http://www.jrsoftware.org/isinfo.php
    They're both free to use and I've had no problems with them. Another wrapper is Javaround:
    http://sourceforge.net/project/showfiles.php?group_id=234356

  • What is the best program for editing pdf documents and filling in forms

    Whats the best program to use for editing pdf documents and filling in pdf forms?

    Acrobat Pro XI  creative suite 6
    or the newer Acrobat Pro creative cloud
    Been using it now for endless years.

  • What is the Best Approach for System Defined Fields and Default values

    Hi ,
    Please let me know that what can be the best approach for providing a Default value for the System defined fields when creating a User and How can we hide the System defined fields at the time of User creation

    You cannot provide default values for any attributes defined in the FormMetaData.xml file. You can only provide default values for fields defined in the User Defined Fields and supply a default value.
    You can using entity adapters to populate some of the values, but you must supply an Organization because there is an entity adapter that you cannot modify that verifies the organization name.
    -Kevin

  • What's the best workflow for Home Movie Importing and Enjoying?

    I'm new to iMovie (and the mac) and have started importing all my home movies from my camcorder into iMovie. I quickly realized that movies take a huge amount of disk space and it may or may not be reasonable to import all my movies and keep them on the hard disk in .dv format. At 12GB/Hour I would need 1.2 Terabytes of storage (plus backup). If that is the best workflow, i'm happy to invest in a few terabytes of storage and back up. But before I do that, I want to check to see if there is a different workflow I should follow given my use case.
    Here is my use case:
    I have 100 hours of 8mm and miniDV tapes already and plan to continue creating more.
    I want to import them all into the iMac for ease of organization, searching for the clips of interest, and watch them either on my iMAC and also on my TV (via TIVO).
    I may do some editing, but this is not a big priority for me at this time. I may do more editing in the distant future when I have more time. My editing for now will be limited to rejecting portions of clips I don't want.
    I plan to watch the movies from my iMac on my TV via my TIVO (i've already ordered the Roxio Toast software that I understand I need, per the Tivo web site).
    The final piece of my use case is back-up. I'd prefer to back up my movies on disk this way I maintain any editing i've done in case of a disk failure. Depending on what video format is recommended, this may bump me into a RAID multi-terabyte system as both working and automatic backup?
    Here are my questions:
    Should I maintain my event library in .dv format? (and bite the bullet on the storage)
    Or is the .dv format intended only for temporary editing and users are expected to compress into another format after editing? if so, what format and which tool is recommended? (keeping in mind that I want to view the clips via Tivo and Roxio/Toast).
    If I need to byte the bullet and invest in storage, my quick math suggests I'll need about 2 terabytes for the library and 2 more for back up for a total of 4 terabytes!?. Is a RAID system recommended for this? (I was surprised that the Apple store did not carry such a system, so perhaps that is not the best option). What would you recommend?
    Anyone out there with a similar use case? I know I've asked a lot of questions here. I'd appreciate any recommendations you may have, even if you cant answer all of them.
    Thank you.

    I am in a similar mode, though about half as much existing DV footage.
    +Should I maintain my event library in .dv format? (and bite the bullet on the storage)+
    Short answer, yes; long answer:
    I did "bite the bullet" since 1T drives are at or just over $100. I'm using a MacBook Pro so I bought an 2 port eSATA card for my cardbus slot ($34), and a 1T eSATA/Firewire/USB drive ($119). I don't plan to "back up" as I am not going to get rid of my Mini DV tapes/vhs/analog tapes, etc. Those will be in an off-site dark cool closet elsewhere. I don't want to do RAID or such as it still puts everything in the same drive unit, in the same location. Basically I'm splitting my video import to two different physical drives. So if lightning, thieves, personal incompetence or whatever strikes, there's more chance it'll only affect one of the drives. I've thought about a Drobo, which you might consider. It is unique device that offers a spin on RAID that offers some advantages.
    Everything I read here on these boards suggests that it is best to grab the source video in the original format whenever possible. Since storage is cheap, makes sense to me.
    It is likely you wouldn't compress your video unless you were going to edit it. For example if you wanted to make a video of the kids growing up to give the relatives you'd likely end up compressing to burn them a dvd. You would compress if you were going to use MobileMe, YouTube, etc. to post some footage. Whether you watch the video from home, or output to DVD for others, or post online, at least you'll have the source video in it's best possible original format to work with.
    This is an aside, but might be useful, I imported one tape at a time, let iM09 create a new event and split per each day. THen I renamed every event based on what the content was before doing the next tape. This really helps later on once yo realize you have a hard drive with 50 hours + of everything in your life on it. I included the year in the name in some way, for example, John's wedding 1994, Hawaii 2000, Hawaii 2004. Then I ended up drag/dropping Hawaii to one event.

  • What is the backhand Database for redhat 9 updates and Is there any distrib

    Can Anybody tell me
    1, What type of Databse is used/maintain by redhat 9 updates
    2, Is there any utility like WUS(windows update service for windows) to distribute the redhat updates over a network.

    Just slightly off topic but ...
    1, What type of Databse is used/maintain by redhat
    9 updates
    'rpm' database.
    2, Is there any utility like WUS(windows update
    service for windows) to distribute the redhat updates
    over a network.
    'up2date'.

  • What is the current schedule for 6.1.2 and will it fix the Exchange transaction log issue in 6.1?

    Just spent the entire night with virtually no sleep with our firm's group of IT engineers trying to keep our Exchange system online due to massive transaction log growth. Confirmed the issue related to 6.1 calendar bug with Activesync. The workarounds are not practical for large groups of users who depend on their mobile devices for work. Our users have no way of knowing that they are causing an issue so the Apple guidance isnt terribly useful to communicate to 1000 users. When can we expect a resolution? The problem is only going to get worse as more and more users hit the bug. Does anyone know if the issue will resolve as soon as someone installs the 6.1.2 update, assuming that has the fix. Im not trying to bash anyone but this is a very serious problem in enterprise deployments.

    The update was released some time today. 6.1.2 appears to specifically fix the Exchange issue causing excess comms and logging issues. However, although the update is available i do not see the notification badge on the Settings icon. Is this controlled by Apple or is there a user setting i am missing somewhere? I would prefer that all users see the badge to expedite user action.

  • What is the key command for locating a bar and beat

    I record myself and clients who want to continually locate and start playing at different bars and beats very quickly so I can punch them in to record.  In Digital Performer I use the period key to type in the bar and beat and in Pro Tools I use the equal sign.  Maybe I'm asking the wrong key commands question but I can't find the locate bar and beat command in Logic 9.  I know it's probably the most simple thing, but I can't waste any more time looking for such a basic operation.  Seems like it should be easier to find the command.
    Thanks,
    gregosophy

    Hi
    Try a (basic) search of the keycommands for "Go"
    Preferences:keycommands
    HTH
    CCT

Maybe you are looking for

  • Sales and Support for Foreign Countries?

    Although I'm not familiar with the exportability of MATRIXx, I assume foreign sales are permitted (and encouraged). If I work with a foreign customer, to whom in NI should I direct their questions about pricing, planned development, and support? Than

  • Can't retrieve back a podcasting

    I have a question. I have been using itunes for downloading podcasts for quite some time now, and I have noticed the following thing happening: Whenever a podcasting starts to get downloaded, and I interrupt it for whatever reason, either it gets rem

  • Employee Search Eventing

    Is it possible when starting an Event via Employee Search in MSS that it can fire an iView created in Visual Composer?

  • Pwd change option in Hyperion 9.3.1

    Hi All, i created a user in Shared services and exported to WebAnalysis till now this is fine.... is there any option for user to change Password Vijay.....

  • Songs skip right in the middle of the song

    when I listen to some songs right in the middle of the song it just stops and skips for no reason. In the past i've seen this issue go right within the first 0-10 seconds of the sogn but this time it is in th e middle. What is causing this and how ca