Match the string for a particular format

i want to chek the string for a particular format..
lets say for ex ,
i have to check the string for 6A1N format where A - Alphabets and N - Numbers.
that means my string exactly contains 6 alphabets from a to z and one number from 0 to 9
like this i want to check for two more fromats..they are..
2A7N1A or
9N1A

koneru9999 wrote:
will the pattern is helpful in my case?
and i don't have any idea doesn't mean finsh reading all the API right?You need to study http://www.regular-expressions.info/ and then http://java.sun.com/docs/books/tutorial/essential/regex/ .

Similar Messages

  • To check the string for a particular character

    i want to check the string contains ',' (comma) or not. can anyone help me?

    i want to check the string contains ',' (comma) or
    not. can anyone help me?you can use 'indexOf' method at string object
    String s1 = "test,tet1";
    boolean bfind = s1.indexOf(',') > -1 or
    boolean bfind = s1.indexOf(",") > -1

  • Living in Dubai where many apps are blocked. How can I get around ? Tried to create a new Id but my billing address in Dubai will not match the criteria for an account in the US. Help please to get around the censorship...thnaks

    Living in Dubai where many apps are blocked. How can I get around ? Tried to create a new Id but my billing address in Dubai will not match the criteria for an account in the US. Help please to get around the censorship...thanks

    The censorship in regards to certain apps not being available in your country is by your country, not by Apple.
    Due to various laws and licensing in each country, in order to have an iTunes store account in a particular country you must have a credit card with a billing address in that country. If this were up to Apple, there would be no such requirement and there would be only one iTunes store for the entire world, but various laws, regulations, and licensing issues in each country, this is required by Apple.

  • HT204053 i have an apple id on my ipod & another for my macbook & iphone.  how do i change the id for my ipod to match the one for my macbook & iphone?

    i have an apple id on my ipod & another for my macbook & iphone.  how do i change the id for my ipod to match the one for my macbook & iphone?

    To change the ID:
    For iMessage, go to Settings>Messages>Send & Receive (Receive At in iOS 5), tap the ID sign out, sign back in using the other ID.
    For FaceTime, do the same thing in Settings>Facetime.
    For Purchasing, do this in Settings>iTunes & App Stores (Settings>Store in iOS 5).
    For iCloud, you'll have to delete the account, create a new account with the other ID, and migrate your data to the new account.  Before deleting the account, if you have any photos in photo stream that are not in your camera roll or backed up somewhere else save these to your camera roll or you will lose them.  To do this, open the photo stream album in the thumbnail view, tap Edit, tap all the photos you want to save, tap Share, then tap Save to Camera Roll.  Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account. When prompted about what to do with the iCloud data, be sure to select Keep On iPod.  Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.

  • IPod shuffle 2nd Gen is not recognized on PC, but other shuffles are. Software is updated. Is this the end of the road for this particular shuffle?

    iPod shuffle 2nd Gen is not recognized on PC, but other shuffles are. Software is updated. Is this the end of the road for this particular shuffle?

    Hi envisionquest,
    I'm sorry to hear you are having issues with your iPod. If your 2nd Gen iPod shuffle isn't being recognized by iTunes (but other are), you may find the troubleshooting steps outlined in the following Troubleshooting Assistant helpful:
    Apple - Support - iPod - iPod shuffle (2nd generation) Troubleshooting
    Regards,
    - Brenden

  • IMovie for Mac: "iMovie cannot open files in the "iMovie for iOS Project" format."

    Question, asked professionally
    When will iMovie for Mac be able to open iMovie for iOS projects?
    Question, asked snarkily
    Any reasonable expectation that we will ever be able to edit projects--created in iMovie on our fancy new expensive phones--in iMovie on our fancy new expensive laptops?
    Specs
    iPhone 6 Plus (contract-free, 128 GB)
    iOS 8.1.2
    iMovie for IOS 2.1.1
    MacBook Pro (Retina, 15-inch, Mid-2014)
    OS X Yosemite 10.10.1
    iMovie for Mac 10.0.6
    Error Messages
    iMovie for Mac: "iMovie cannot open files in the "iMovie for iOS Project" format."
    iMovie for iOS: "An error occurred during export."
    Frustration
    Manufacturer: Apple (a multibillion dollar company)
    The year: 2015
    Hours lost: Three Weeks
    Total costs for both devices: $4,000
    Background Details
    I just wasted thousands of dollars on these two hardware devices by making the rookie mistake of assuming projects were compatible across iMovie applications. However, the exported .iMovieMobile project files are in an incompatible iMovie for iOS Project format that iMovie for Mac cannot import. So I am stuck with a 15 GB .iMovieMobile project file--for an hour-long+ video--that I created and I was editing on my iPhone for weeks that I can no longer edit on my iPhone due to an error, nor potentially rescue the lost hours on my Mac, the sole reason I purchased it one day ago. The reason I can no longer edit the project on the iPhone is because iMovie for iOS suddenly stopped displaying the video of the project in preview, external display, etc. The clip snapshots remain visible and the audio remains audible, but the video appears fully black. Any attempt to export the video at any resolution generates an error message. (This error applies only to this project; other projects export without issue.) I can save to and from iTunes or iCloud without issue, but import into iMovie for Mac is unavailable for this latest version. Deleting and reinstalling the app does not resolve the issue. Nothing has resolved this issue; so I purchased the Mac as a last attempt, and it appears that I will have to begin the meticulously painful process of recreating the video from scratch with all the titling, sound effects, precise edits, transitions, organization, etc. This video was to surprise my mother for her birthday with "this is your life" footage, including my late father. It may seem like a small first-world problem, but such things carry big emotional impacts. What began as such a wonderfully intuitive and joyful experience has descended into a soul-suffering nightmare of catastrophic proportions. This software grinch stole christmas.
    Likely Suspect
    I believe this originated from Apple's confusingly designed iTunes client that removed videos used by iMovie for IOS during a sync, which I successfully restored back to the iPhone. This apparently resulted in iOS seeking and then claiming to find all of the videos, but somehow a bug in the coding causes the audio to play but not display video, and no way to resolve the bug from an enduser standpoint. I was hoping that iMovie for Mac would allow me a workaround, but I'll never know because the iOS and Mac formats are currently and dishearteningly incompatible.
    Suggestions
    I never performed a full backup of the iPhone, but I don't believe any of the iCloud nor local backups actually backup iMovie projects themselves anyway. (That's a fail.) So one must back them up manually to iTunes or iCloud.
    MANUALLY BACKUP YOUR PROJECTS DAILY, IF NOT HOURLY.
    MANUALLY BACKUP YOUR PROJECTS BEFORE IMPORTING OR SYNCING FROM ITUNES.
    MANUALLY BACKUP YOUR PROJECTS BEFORE IMPORTING VIDEO CREATED OUTSIDE  OF YOUR IOS DEVICE.
    Resolutions
    Hope Apple fixes this problem soon? Perhaps.
    Return the Mac to Apple, if they allow? Perhaps.
    Someone in this community will provide a magical workaround--that I haven't already attempted? Perhaps.
    As unlikely these options may be, I shudder to imagine that I may be forced to suffer no resolution and $3,000+ completely down the drain, because if iMovie for IOS worked as intended, I wouldn't have ever purchased the Mac as a last ditch effort to rescue the project. It meant that much to me to surprise my mother by attempting to retrieve this project file from oblivion--but to no avail.

    I appreciate you taking the time to copy and paste boilerplate responses to increase your points in this forum, but I've already read all those support articles in depth; but you have barely read my post at all. Please don't guess a fix. Only someone with the latest versions of iMovie, iOS, iPhone, Yosemite, and MacBook Pro is qualified to troubleshoot this, because anyone would immediately see that the following option no longer exists:
    Open iMovie on your Mac, and choose File > Import > iMovie for iOS Project.
    Read my post before you reply: It clearly says in the title and within my post that I can neither export nor import through iTunes without receiving an error message. So your response neither solved my question nor helped me whatsoever.

  • How to find out all the OKCODEs for a particular screen?

    I am working on t-code CL20N and trying to record with t-code SHDB, in the second screen when I press enter it is coming out, but when I run CL20N without SHDB it is going through all the screens perfectly, SHDB is not working for CL20N.
    Is there any other way to find out all the OKCODEs for a particular screen/s?

    Hi,
    First look for any push button or menu item which can take you to the second screen instead of hitting enter directly in tcode CL20N . If any such button exist in the TCode, u can use the same button in SHDB also for moving to the  second screen.
    Thanks,
    Rajinikanth G

  • We have an issue when we send a film to the media encoder it crashes about half of the time for no particular reason. Anyone else got that too with Premiere Pro CC and the new Media encoder? Thanks! bedrijfsfilm Companyfilms

    We have an issue when we send a film to the media encoder it crashes about half of the time for no particular reason. Anyone else got that too with Premiere Pro CC and the new Media encoder?

    We have an issue when we send a film to the media encoder it crashes about half of the time for no particular reason
    Anyone else got that too with Premiere Pro CC and the new Media encoder?
    Lack of detailed info makes your question impossible for anyone to answer you!
    eg. ...."Doctor it hurts...anyone else got something that hurts?" 

  • This morning I ask about the requirement to download the adobe Cs6 before i buy the product and the salesperson told me that i met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer d

    this morning I ask to a sales person about the requirement to download the adobe Creative Cs6 before i buy the product and the salesperson told me that my computer met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer doesn't meet this requirement,  my computer is a OS X 10.5.8 and the requirement  is OS X v10.6.8 or v10.7 what can i do?

    The requirements are online. For the Master Collection the requirements on Macs are:
    Mac OS
    Multicore Intel processor with 64-bit support
    Mac OS X v10.6.8 or v10.7
    4GB of RAM (8GB recommended)
    15.5GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash-based storage devices)
    Additional disk space required for disk cache, preview files, and other working files; 10GB recommended
    1280×900 display with 16-bit color and 512MB of VRAM; 1680×1050 display required and second professionally calibrated viewing display recommended for Speedgrade
    OpenGL 2.0-capable system
    DVD-ROM drive compatible with dual-layer DVDs (SuperDrive for burning DVDs; Blu-ray burner for creating Blu-ray Disc media)
    Java™ Runtime Environment 1.6
    Eclipse™ 3.7 Cocoa version (for plug-in installation of Flash Builder); the following distributions are supported: Eclipse IDE for Java EE and Java Developers, Eclipse Classic, Eclipse for PHP Developers
    QuickTime 7.6.6 software required for QuickTime features, multimedia, and HTML5 media playbackOptional: Adobe-certified GPU card for GPU-accelerated performance in Premiere Pro; see the latest list of supported cards
    Optional: Adobe-certified GPU card for GPU-accelerated ray-traced 3D renderer in After Effects; see the latest list of supported cards
    Optional: Tangent CP200 family or Tangent Wave control surface for Speedgrade
    Optional: 7200 RPM or faster hard drive (multiple fast disk drives, preferably RAID 0 configured, recommended) for video products
    Broadband Internet connection and registration are required for software activation, validation of subscriptions, and access to online services.* Phone activation is not available.
    You should have been given the correct information. Adobe offers 30-day money back guarantee.
    You can find return information here:
    Return, cancel, or exchange an Adobe order

  • Where is the data saved in the srtucture for a particular tcode

    Where is the data saved in the srtucture for a particular tcode.
    For eg in MM01 there is a field with RMMG1
    where dioes the data get saved from this field as in backend it shows the stucture and the structure can hold data only at runtime,
    Please help me
    Thanks in advance
    chinnu

    Hi,
    The strcuture : RMMG1 holds data at run time only that to it can hold only one record at a time.
    so we use this structure to hold data at run time and then we insert those values into database tables for that program.
    Here you can the values stored and processed in the program in the tables : MARA (for matnr ,mbrsh,mtart..),MARC (for Plant ),MARD( for storage location : lgort )...etc.
    so if you want to fecth some data means first you have to choose right table to fetch information by passing values in the selection screen.
    Regds
    Sivaparvathi
    Please reward points if helpful...

  • [svn:fx-trunk] 11548: MXFTEText. css now has a type selector for FTEDataGridItemRenderer that matches the one for DataGridItemRenderer in the MX default .css file.

    Revision: 11548
    Author:   [email protected]
    Date:     2009-11-06 16:35:27 -0800 (Fri, 06 Nov 2009)
    Log Message:
    MXFTEText.css now has a type selector for FTEDataGridItemRenderer that matches the one for DataGridItemRenderer in the MX default.css file. Both set paddingLeft to 5.
    QE notes: None
    Doc notes: None
    Bugs: SDK_22741
    Reviewer: Alex
    Tests run: ant checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/MXFTEText.css
        flex/sdk/trunk/frameworks/spark-manifest.xml

    AN UPDATE ON MY ISSUE:
    It appears to be limited to Dreamweaver. When I upload the files to my server and use BrowserLab or Microsoft SuperPreview the pages are rendering properly in all versions of IE. It's only broken when viewing in Design view within Dreamweaver or when using BrowserLab from within Dreamweaver. So at least I know my website works, which is a huge relief, but does anyone have any idea why Design view would complete ignore my styles? It's very annoying.

  • Powerview Cannot connect to the server due to a security issue. The server may not have been able to match the host for silverlight

    Hello,
    I have a sharepoint 2010 sp1 CU Dec 2011 server with a SQL Server 2012 SP1 CU4 reporting services instance.  I am able to open Power View and use it normally when bypassing the ISA Reverse Proxy server.  However when going thru ISA I receive the
    following Error.
    Power View  Cannot connect to the server due to a security issue.  The server may not have been able to match the host for Silverlight.  This error appears after I click yes on an Internet Explorer Display Mixed Mode prompt.
    I've seen a couple references to this issue but not much.  This one mentions a clientaccesspolicy.xml file but I haven't had any luck with that.  http://connect.microsoft.com/SQLServer/feedback/details/716433/cannot-connect-to-the-server-due-to-a-security-issue-the-server-may-not-have-been-able-to-match-the-host-for-silverlight
    Any Ideas?  Thanks.
    Ryan

    Hi Ryan,
    Based on my research, the issue should occur due to a by design behavior in Threat Management Gateway (TMG). To work around this issue, you can use SSL between the TMG and the SharePoint Web Server.
    Hope this helps.
    Regards,
    Mike Yin
    TechNet Community Support

  • Please Help!! How to get the width of the String for print out?

    Hi there,
    I need to do some printing in my application. I just want to know how can I get the width of the string when it is printed on the paper.
    I have tried to use the following code to get the width
    Rectangle2D rec = font.getStringBounds(str, new FontRenderContext(null, true, true));
    double width = rec.getWidth();
    however, the width I got from that function is not correct (the returned width is longer than the printed one)
    Does anyone know how to solve this problem?
    Thank you and Happy New Year !

    hi,
    The getFontMetrics(Font) is also defined in the Component class and therefore you can retrieve it even if you dont override the paint method.
    try the following (provided ur code extends some class that extends Component indirectly)
    FontMetrics f = this.getFontMetrics(this.getFont());
    int width = f.stringWidth(str); //str is the String for which u need to check the width.
    hope this was useful
    happy holidayz

  • H we find the balance for a particular gl account

    h we find the balance for a particular gl account for a particular fiscal year

    Try T-code FS10N it will display G/L balance for a fiscal year period wise & busiseness area wise.
    anya

  • How to delete the Infoobjects for a particular dimension?

    Hi,
    How to delete the Infoobjects for a particular dimension?
    ( when i was trying to delete dimensions it is saying that the dimension contains infoobjects , u can not delete the dimension, what 2 do?)
    Thanx in advance,
    Ravi.

    Ravi,
    If you want to remove the Infoobject from Dimension then you need to delete the data from the cube and then remove the infoobject from that particular Dimension. I mean delete the assignment for that Infoobject.
    Assign Points if it helps..
    Incase if you need more help.. Please call me..
    Gattu

Maybe you are looking for

  • Display optimization for macbook pro and facetime

    Is there an optimal display setting when using FaceTime 2.0 on my MacBook Pro purchased in 2009. I currently am set to 1920 X 1200.

  • Front Row Movies When Hooked Up to Projector

    Hello- I hooked up my MBP to a projector to rehearse a presentation. Out of curiosity, I tried front row and went through the following... -Photos: Worked Great -Music: Worked Great -Podcasts: Great -Movies/Vid Podcasts: Sound, but NO video. I remove

  • Formula column in forms property

    Hi All I have a table SQL> desc sale_order_detail; Name                                      Null?    Type ID                                                 NUMBER PROD_ID                                            VARCHAR2(20) STYLE                

  • Setting stacked canvas properties when inside a tab canvas

    Hi all, I grope setting the x and y position of a stacked canvas programmatically : I work inside a tab canvas , there is one multirecord based block which is split into two tab pages. The problem is that the x and y positions of each first item in e

  • JSP Server is not compatible with Win XP Service Pack 2

    i've install java serve into my comp system with the following specification: Operating System: Windows XP Service Pack 2 Processor: Pentium 4,1.60 Ghz RAM:256 Database: Microsoft Access 2003 The PROBLEM are: Page with .jsp extension cannot be diapla