Re: Regular Expression for a string

2006-11-01 Thread Teja
John Machin wrote: > Teja wrote: > > HI all, > > > > I need to write a regular experssion for a string which satisfies the > > following a criteria : > > > > 1) it should start with an alphabet > > 2) it can contain alphabets/digits/_ from second character > > 3) it can contain "[a-z]" or "[0-9]"

Re: Regular Expression for a string

2006-11-01 Thread John Machin
Teja wrote: > HI all, > > I need to write a regular experssion for a string which satisfies the > following a criteria : > > 1) it should start with an alphabet > 2) it can contain alphabets/digits/_ from second character > 3) it can contain "[a-z]" or "[0-9]" at the end. but this is optional Bas

Re: Regular Expression for a string

2006-11-01 Thread Teja
Roy Smith wrote: > In article <[EMAIL PROTECTED]>, > "Teja" <[EMAIL PROTECTED]> wrote: > > > HI all, > > > > I need to write a regular experssion for a string which satisfies the > > following a criteria : > > > > 1) it should start with an alphabet > > I assume you mean, "It should start with a

Re: Regular Expression for a string

2006-11-01 Thread Teja
James Stroud wrote: > Teja wrote: > > HI all, > > > > I need to write a regular experssion for a string which satisfies the > > following a criteria : > > > > 1) it should start with an alphabet > > 2) it can contain alphabets/digits/_ from second character > > 3) it can contain "[a-z]" or "[0-9]

Re: Regular Expression for a string

2006-11-01 Thread Roy Smith
In article <[EMAIL PROTECTED]>, "Teja" <[EMAIL PROTECTED]> wrote: > HI all, > > I need to write a regular experssion for a string which satisfies the > following a criteria : > > 1) it should start with an alphabet I assume you mean, "It should start with a letter"? > 2) it can contain alphab

Re: Regular Expression for a string

2006-11-01 Thread James Stroud
Teja wrote: > HI all, > > I need to write a regular experssion for a string which satisfies the > following a criteria : > > 1) it should start with an alphabet > 2) it can contain alphabets/digits/_ from second character > 3) it can contain "[a-z]" or "[0-9]" at the end. but this is optional >

Regular Expression for a string

2006-11-01 Thread Teja
HI all, I need to write a regular experssion for a string which satisfies the following a criteria : 1) it should start with an alphabet 2) it can contain alphabets/digits/_ from second character 3) it can contain "[a-z]" or "[0-9]" at the end. but this is optional can any one please help me ou