By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,212 Members | 2,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,212 IT Pros & Developers. It's quick & easy.

Simple Reg Expression (Must end with .doc or .pdf or .tif)

P: n/a
I'm looking for a simple Reg Expression to validate a textbox where the text
must in in .doc or .pdf or .tif.

Thanks in advance.

Phil
Oct 26 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Take a look at this article, it will definitely help you get started
with regular expressions:
http://msdn2.microsoft.com/en-us/library/ms972966.aspx

Regards,

Bill Dekleris.

-----------------------------------------------------------------------------------------
http://www.infosnap.eu

InfoSnap the powerful, all-purpose information and knowledge-base manager.

-----------------------------------------------------------------------------------------
Phillip Vong wrote:
I'm looking for a simple Reg Expression to validate a textbox where the text
must in in .doc or .pdf or .tif.

Thanks in advance.

Phil


Oct 26 '06 #2

P: n/a
\.(doc|pdf|tif)$
Phillip Vong wrote:
I'm looking for a simple Reg Expression to validate a textbox where the text
must in in .doc or .pdf or .tif.

Thanks in advance.

Phil

Oct 26 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.