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
regular expression required
Joined: Mar 02, 2010
Aug 01, 2011 05:40:19
I want to validate a filename with particular extension like jsp, bmp, png etc and it should allow the names with spaces and numerics.
How to write a regular expression for this.
Joined: May 03, 2008
Aug 01, 2011 06:46:27
Here's a good learning resource for RegEx:
There are no new questions, but there may be new answers.
Joined: Nov 08, 2001
Aug 01, 2011 08:06:56
I agree. Here's the link:
subject: regular expression required
Doubt on Regular Expression
How to check whether name of the File is in a Specifi format??
How can I add error handling facilities to this code?
Alphabets only valitation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014