Current location: Hot Scripts Forums » Programming Languages » Windows .NET Programming » RegEx In VB.Net


RegEx In VB.Net

Reply
  #1 (permalink)  
Old 01-04-04, 05:37 PM
warpminded warpminded is offline
New Member
 
Join Date: Dec 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy RegEx In VB.Net

I am using RegEx in VB.net. What i am looking for is a way to write a pattern to look at the begining of a text file and test it to validate if it begins with a letter.
Reply With Quote
  #2 (permalink)  
Old 04-27-05, 04:03 AM
Ruffnekk Ruffnekk is offline
New Member
 
Join Date: Apr 2005
Location: Rotterdam, Netherlands
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
The easiest way is to read the first character from the file and test it using the Char.IsLetter function.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.NET - Show another form? Tesco Windows .NET Programming 11 06-04-04 07:09 AM
need vb.net help darksoap Visual Basic 1 06-04-04 07:03 AM
load and unload forms in VB.Net warpminded Windows .NET Programming 3 03-16-04 11:07 AM
Please, need help with REGEX V@no PHP 7 08-05-03 06:21 AM
Help with Regex in PHP HS Staff PHP 5 06-07-03 01:32 AM


All times are GMT -5. The time now is 02:17 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.