Need to validate a string if the string entered is alphanumeric and contains spaces or not?

< model af:validateRegExp = index '[a-zA-Z0-9\s]' = ' alphanumeric and spaces allowed "/ >

It does not work... I tried different models as well...

[\s\w*]

^ [a-zA-Z0-9\s] $

Your help is appreciated...

Thank you.

Try the model = "[a-zA-Z0-9\\s] ' * '"

Tags: Java

Similar Questions

  • I need to uninstall I-Tunes before the upgrade to Windows 7 and I'm afraid that I do; lose the music library?

    I need to uninstall I-Tunes before the upgrade to Windows 7 and I'm afraid that I do; lose any music library?  I'll be able to download I Tunes and recover my music library >?
    original title: Windows 7 upgrade from VISTA?

    Hi Jrawie,

    If you want to upgrade Windows Vista to Windows 7, you won't lose iTunes music library. However, there is a chance of losing the music of iTunes library if you choose custom installation.

    You can see the Microsoft article for more information on the upgrade:

    Upgrade Windows Vista to Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/help/upgrading-from-Windows-Vista-to-Windows-7

    You can also view the article mentioned for more information:

    Windows 7 Upgrade Advisor

    http://Windows.Microsoft.com/UpgradeAdvisor

    Let us know the results.

  • I need to pin a button at the top of my Tablet and phone versions

    I need to pin a button at the top of my Tablet and phone - pin code option versions does not work - and I tried to put the motion scrolling values to 0 so that it doesn't scroll - HELP - it doesn't work and I can't believe that it is not a simple solution to a basic problem!

    Affecting the scrolling of the query parameters (all) 0 should work.

    Make sure you have your selected menus. If this is not the case you can take a screenshot of your selection and settings. Perhaps, we can see something else.

  • All the fonts/writing are gibberish and I can't not as what is written, so I can't change anything on my vista, how to see the writing again if I can read? Thank you

    All the fonts/writing are gibberish and I can't not as what is written, so I can't change anything on my vista, how to see the writing again if I can read? Thank you

    Try cleartype youre settings, follow this link.

    http://www.Microsoft.com/en-us/typography/default.aspx

    Also, look for downloads 'police' as you need...

    1, select "cleartype online setting" you will probably get a download popup, install the

    Update...

  • My Inbox to view the sender for each message and now it does not work... How do I get it back to where it was?

    My Inbox to view the sender for each message and now it does not work... How do I get it back to where it was?

    Right-click on the header at the top of the list of messages and select from the list of options.

  • Photos modified in Photoshop then saved, PhotoShop or Mac doesn't give the photo a file extension, and these files can not reopened.

    Photos modified in Photoshop then saved, PhotoShop or Mac doesn't give the photo a file extension, and these files can not reopened.

    I use a mac with PhotoShop CC and have experienced a problem during the recording of pictures once I've retouched in Photoshop. If I open a RAW or DNG file in camera RAW, or a TIF or JPG created in Lightroom in Photo and then change the file, everything looks OK. When I came to save the RAW as a TIF or JPG, or a TIF or JPG saved previously, or DNG PhotoShop or Mac file does not give a picture of a file extension.

    These files cannot be reopened by myself in PhotoShop to be re-edited or opened by someone, I send the photos to use them or for them to print. Also, when I try to load these pictures on a website they are not recognized and rejected. Adobe Bridge recognizes the file in the format that I saved and saved in the metadata window file format, but does not show a file extension.

    So far to solve the problem I had to export the file with the < file > < Export > function, otherwise I do not use PhotoShop like my photo editor. Export gives the file saved a file extension.

    I use a Pro-impression who explained I had sent her one of these files without file extension and it is not able to open, edit, print, or save the file. My printer also explained that he experienced this problem on several other occasions.

    Can Adobe indicate what changes you made and how to overcome this problem please?

    Ian

    Hello

    On a Mac, go to Finder > Preferences > advanced > (select / click) see the any file extension. (might help)

    Stone

  • Help, please! I'm going nuts! JavaScript problem when you try to load the images on the E - Bay auctions and My Space does not look right

    This is the second time I've been here for help and I had to use IE in recent weeks because I still I have this problem. The pictures on individual E - Bay auctions start to load then stop, I think it is a Javascript problem. I already tried the troubleshooting tips for the "images are not displayed" AND I uninstalled/reinstalled Firefox without result. My space does not seem to be display correctly, for example, if I want to change the color of a font in a message boxes appear, but no color... Please HELP somebody! Thank you!

    URL of affected sites

    http://CGI.eBay.com/WS/eBayISAPI.dll?ViewItem & Item = 230497781181 & ADME:B:SS:US:1123 = getting

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).
    See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems

    If this does not work in safe mode and then disable all your extensions and then try to find out who is causing by allowing both the problem reappears.
    You can use "Disable all add-ons" window the startup of Firefox to solve the issues in Safe Mode to disable all extensions.
    You will need to close and restart Firefox after each change via "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')
    .
    You can also try to 'Reset all the preferences for the default user of Firefox' on the starting window of Firefox to solve the issues in Safe Mode - see http://kb.mozillazine.org/Resetting_preferences

  • OfficeJet 4630: brand new officejet 4630 with the problem of black ink and ok button does not work

    Hello! Today, I bought a new printer, officejet 4630 and it included ink cartridges in the box.

    ISET it upward as the sheet in the box said. After I had filled in date etc, I put in the ink (and Yes, remember to check it was compatible and take the Ribbon), then this message showed on the screen and still doesn't work:

    "Problem of ink cartridges. The following ink cartridges need to be replaced"and a black dot.

    The cartridges were brand new and came in the same area as the printer.

    I tried a reset (taking the power cord, wait 60 s etc) I saw in the Hp support you need to press 'ok' to get rid of the message before restarting. I can't press ok. It sounds right. I press any button.

    Suggestions? Of course, I can try it with a new cartridge, but to pay $20 for a new cartridge, when it was included in the box and should work is not correct.

    Hi @Candykuma,

    Welcome to the HP Forums!

    I understand that you ar get the error, the "problem of ink cartridges. The following ink cartridges need to be replaced"with your black cartridge on your printer HP Officejet 4630. I am pleased to address this error of cartridge for you!

    Please, try the steps in this guide, a "missing cartridge", 'cartridge problem,' or 'not compatible ink cartridges' Message error for HP Officejet 4630 and HP Deskjet Ink Advantage 4640 e-all-in-one printer series.

    If this guide does not solve your problem, please Contact HPtelephone support for further assistance, as the ink cartridges are under warranty. (After you fill out the information, you will receive a phone number.) If you do not live in the United States / Canada region, please click the link below to get help from your region number. Language-country selector.

    Good luck!

    "Please click the Thumbs up icon below to thank me for having responded."

  • Trying to connect my laptop to the internet and I get the message "validation of identity and then it is not connect."

    I'm trying to connect my internet to my laptop but its does not work (it is a new connection). I tried it on my other laptop and password have crossed (the computer on which he worked on had vista). In addition, he worked with other computers in the House. I get a message of identity validation and then it is not connect?

    original title: internet connection failure

    Hello

    Do you mean that you try to connect the wireless access point? Try to install Service pack 3. Also what you can check:
    Click Start-> settings-> network-> right click on your adapter connection-> properties-wireless => select Wireless (tab)-> select your (name) wireless access point->, then select properties-> click on authentication-> uncheck the "802.1 x authentication for this network" click ok on all screens.

    Restart your computer and try to reconnect.

    I hope this helps.

  • my windows mail keeps asking for a user name and password. I am entering these two and it still will not allow me on the program. I tried to delete the account and start again, he still asks for the user and the password. any suggestions?

    It gives me the error 0x800CCC90 codes, 0x800CCC91 and 0x800CCC92 he also says the username/password invalid name

    Have you taken all the measures that I suggested above?
     
    McAfee antivirus is among the three troublemakers albums for Windows Mail.
    It sometimes takes a while before the symptoms begin to appear.
    First of all, turn off e-mail McAfee analysis, even if it is rarely sufficient.
    Then delete that email account (because it has been damaged by McAfee),.
    Restart Windows Mail, and then recreate the account.
     
    If the problem persists, the only way you can prove or disprove that
    McAfee is the culprit is to uninstall it, and then using their debris removal tool:
    If you decide to replace McAfee, we recommend a free antivirus
    the program that is no longer compatible with Windows Mail.
     
    Rather than move to another antivirus, another option is to upgrade
    for Windows Live Mail (WLM), which better resists the harmful effects
    too intrusive anti-virus products:
     
    Even with WLM, you must turn off email scanning in the antivirus,
    for the reasons explained here:
     
    Gary van, Microsoft MVP (Mail)

    "ddavid01" wrote in the new message: * e-mail address is removed from the privacy... *
    Thanks I have macafee. Outlook Windows will work not be same problem.

    Gary van, MVP (Mail)

  • Windows7 when I migrated to the Working Group at the field of the firewall has crashed. And also it does not show in the services. In the firewall rules of incoming and outgoing traffic is missing.

    In my windows7 when I migrated to the task force to the area, crashed by the firewall. And also it does not show in the services. In the firewall rules of incoming and outgoing traffic is missing.

    Hello arjunpottekkad,

    It is disheartening to know that have problems you with the firewall. As I understand it the incoming and outgoing traffic rules are missing from the firewall.

    The question you posted would be better suited in the TechNet Forums . I would recommend posting your query in the TechNet Forums. You can follow the link to your question:

    Windows 7 IT Pro category

    Answer to us if you are having problems with the Windows Firewall or any other problem of Windows, and I'd be happy to help you again and try to correct the problem as soon as possible.

    Good day!

    Hope this information helps.

  • I resized the partition of C: Lenovo IdeaPad Y500 laptop with the partion of aomei assistant and now I'm not able to start.

    Original title: I messed UP WITH MY 8 PREINSTALLED VICTORY AND IT DOES not START NOW

    My lenovo ideapad y500 supplied with windows 8 pre installed. I wanted to set/resize partitions as the laptop has been delivered with a single partition (C :). after I resized with the partion of aomei Wizard something happened and now I don't am not able to start. my laptop has been delivered with the pre-installed operating system, and she had no DVD of win8. I dinot do the recovery disks either. Some say that the product key is injected into the bios) , so I neednt worry about losing the win8 original license. any means now what shud I do to get reinstalled 8 victory! where can I download an image of victory 8 to install?

    LENOVO has this option of key recovery is not working too now that I changed the partitions. (IE it works if the partitions are unchanged)

    Help, please!

    You have an OEM key - make sure that it is the OEM version of win8.

    Lenovo has a drive engineering key which one of its options is to repair the functionality of the button a magical touch.

    Ask in the Lenovo forum if they can direct you to the download of recovery engineering key a repair disk and how to fix your recovery button.

    http://forums.Lenovo.com

    Can you get to a command prompt to start with a system repair disc or the installation or the upgrade disk...

    and taste the repair orders bootrec.exe/fixboot would be a good idea to start with.

  • Just updated through the creative application of cloud and now lightroom will not load again.

    As the title suggests:

    I've just updated creative cloud app, run lightroom from the standard m desktop shortcut and got 5.7. You who quit and tried to run the shortcut again. No charge.

    Thought it might do with still some 5.7 installed, uninstalled as well as through cloud creative app and it still don't load. Noticed that the creative application cloud still showed as being installed lightroom (5.7 has disappeared the first uninstall). Choose uninstall again and this time she went from the installation of the application to be an option to install section.

    Installed new version and it will not load.

    Could someone please advise how to solve this problem I would like to be able to access my files and the changes that I made.

    Thanks in advance,
    Matt

    Moderator:

    Note please. The solution posted to sign and to the creative cloud app seems to have worked

    I saw that before writing this post.

  • How to say the script colse all files and save them, but not untitle docs

    Hello world

    I want colse open files and save them, but not the files that have never been saved.

    Try this script, but I ran after, all files are not saved.

    docs var = app.documents.
    for (var i = docs.length - 1; i > = 0; i--) {}
    if(App.activeDocument.Saved == false) {}
    docs [i]. Close (SaveOptions.no);
    }
    Another yew (docs [i] m:System.NET.Sockets.Socket.close (SaveOptions.YES));
    }

    can someone tell me what is the problem with the script?

    Thank you

    Respect of

    Teetan


    var docs = app.documents;
    for (var i = docs.length-1; i >= 0; i--) {
        if (docs[i].saved == false) {
            docs[i].close(SaveOptions.NO);
        }
        else {
            docs[i].close(SaveOptions.YES);
        }
    }
    
  • How do I know the cursor for loop host variable contains data or not

    Hi all


    can someone tell me how to know cursor variable host loop for contains data or not.


    example:
    Start
    for curr_rec in (select * from double)
    loop

    dbms_output.put_line(curr_rec%ROWCOUNT);

    end loop;


    end;

    The following oracle error message is coming:

    ORA-06550: line 5, column 27:
    PLS-00324: cursor attribute can only be applied to non slider "CURR_REC."

    Please help me.

    Thank you and best regards,
    Prakash P

    Published by: 833560 on April 19, 2011 21:57

    833560 wrote:
    Hi all

    can someone tell me how to know cursor variable host loop for contains data or not.

    example:
    Start
    for curr_rec in (select * from double)
    loop

    dbms_output.put_line(curr_rec%ROWCOUNT);

    end loop;

    end;

    The following oracle error message is coming:

    ORA-06550: line 5, column 27:
    PLS-00324: cursor attribute can only be applied to non slider "CURR_REC."

    Please help me.

    Thank you best regards &,.
    Prakash P

    Published by: 833560 on April 19, 2011 21:57

    You know, in your code curr_rec is not slider.
    You cannot use curr_rec % rowcount
    If you want to get the number of lines of your loop, then use an additional variable

    Try this please

    declare
     countLoop NUMBER :=0;
    begin
      for curr_rec in( select * from dual)
      loop
        countloop := countloop + 1;
    
      end loop;
      dbms_output.put_line(countloop);
    end;
    

    or

    DECLARE
            CURSOR csr_org IS
                  SELECT empno, ename FROM   emp;
                  num_total_rows NUMBER;
          BEGIN
                  FOR idx IN csr_org LOOP
                      dbms_output.put_line(idx.empno||' '||idx.ename);
                      num_total_rows := csr_org%ROWCOUNT;
                  END LOOP;
                  IF num_total_rows > 0 THEN
                    dbms_output.new_line;
                    dbms_output.put_line('Total Organizations = '||to_char(num_total_rows));
                  END IF;
       END;
     /
    

    Published by: Mahir M. Quluzade, April 20, 2011 10:19

Maybe you are looking for