Results 1 to 1 of 1
  1. #1
    Denis2k11 is offline Member
    Join Date
    Oct 2012
    Posts
    35
    Rep Power
    0

    Exclamation How to form astring pattern for lettershyphens?

    Never mind. It turned out to be ;
    Java Code:
    String pattern = "[A-Za-z-_.]+";
    Last edited by Denis2k11; 03-25-2013 at 09:33 PM.

Similar Threads

  1. strategy pattern and bridge pattern
    By jomypgeorge in forum New To Java
    Replies: 2
    Last Post: 12-13-2010, 05:13 AM
  2. using a loop to form a string pattern
    By xquizitpinay in forum New To Java
    Replies: 7
    Last Post: 10-29-2010, 04:06 AM
  3. Class pattern to generate following pattern:-
    By vxs in forum New To Java
    Replies: 5
    Last Post: 07-14-2010, 11:15 PM
  4. Replies: 2
    Last Post: 05-04-2008, 10:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •