473,473 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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
2 1117
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
\.(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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Srinivas Chundi | last post by:
I have to display tif images using .asp page. I have tried to read the image as a binary file and stream it to the browser. The relevant code is as follows. Unfortunately, the display on the...
4
by: Vishnu | last post by:
I have a strange problem on WindowsXP proffessional with IE6 ,when i try to display a tiff file ,it is not showing ,small red x is comming up. I tried by dowloading latest IE from microsoft but...
3
by: darrel | last post by:
I'm creating a tool for people to upload an image and have it resized on the server. I'm checking to first see if the image is a JPG, GIF, BMP or TIF file. I'm having a problem with the TIF files,...
2
by: Jon Delano | last post by:
Hello I'm looking for a simple TIFF viewer for a vb.net web application. The TIFFs are single page and I just need to display them and that is it ... nothing fancy at all. Anyone have a...
3
by: Tom | last post by:
I am loading a TIF file into a bitmap stream (Dim bmp as new bitmap etc etc). I use GDI+ to draw some text onto the lower left corner of the TIF, then save the image (i.e. bmp.Save(filename))....
6
by: Blaine Manyluk | last post by:
I have a very unusual request. I need to be able to generate reports and save them as TIF files, with full programmatic control. The application will provide the filenames. Each page of the...
0
by: arun | last post by:
Hi, I have a tif image, that can't be open by any type of tif viewers. Some sort of data is missing. I want to read that file (using any type of conversion - ie tif to gif or binary...
4
newnewbie
by: newnewbie | last post by:
I have a query where I need Access to evaluate the "Name" field and return messages "Batch" or "Desktop". The "Name" field contains unique values like ...
0
by: empiresolutions | last post by:
I am working with a TIF to JPG conversion that will result in the JPG being printed from a web page. My issue is the final JPG image prints VERY blurry. The TIF file that has the following...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.