File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Regular expression issue
Joined: Apr 30, 2011
Apr 30, 2011 02:32:25
I have a requirement where in i have validate a company name which accepts only:
a space between each word
The name shall always start with a alphabet and if there are multiple words only 1 space shall be allowed.
last letter of the name can also be apostrophe.
Can someone guide me how to write such regex.
I agree. Here's the link:
subject: Regular expression issue
inserting string values with an apostrophe
Punctuation is kicking my butt!
What's the most important thing you learnt at school
escape apostrophe in xsl
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014