Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regular expression question

Status
Not open for further replies.

fgeorge

Programmer
Jun 28, 2002
76
NG
can someone give me a regular expression that ensures that something is entered into a textbox..be it numeric or characters
 
if its that simple, don't bother with a reg exp:
Code:
if Len(strValue) > 0 then
...
or if you wanted to not accept spaces:
Code:
if Len(Trim(strValue)) > 0 then
...

if you want to do some actual pattern matching or replacing, maybe then use reg exps :)

Posting code? Wrap it with code tags: [ignore]
Code:
[/ignore][code]CodeHere
[ignore][/code][/ignore].
 
you should be able to easiely gather that from the other thread thread329-640663

maybe a reply to that thread started would be benificial in your part!

_____________________________________________________________________
You can accomplish anything in life, provided that you do not mind who gets credit.
Harry S. Truman

onpnt2.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top