Click here to Skip to main content
15,917,473 members
Home / Discussions / C#
   

C#

 
GeneralRe: Right Click Explorer Shell Extension Pin
TylerBrinks19-Apr-05 12:19
TylerBrinks19-Apr-05 12:19 
GeneralAuto Insert Interface and Base Class members - Not working Pin
Tristan Rhodes19-Apr-05 10:04
Tristan Rhodes19-Apr-05 10:04 
GeneralDisallowing new or delete record in a DataGrid Pin
Luis Alonso Ramos19-Apr-05 9:22
Luis Alonso Ramos19-Apr-05 9:22 
GeneralRe: Disallowing new or delete record in a DataGrid Pin
Jim Matthews19-Apr-05 10:35
Jim Matthews19-Apr-05 10:35 
GeneralRe: Disallowing new or delete record in a DataGrid Pin
Luis Alonso Ramos19-Apr-05 12:15
Luis Alonso Ramos19-Apr-05 12:15 
GeneralSending MMS form mobile to pc Pin
Member 151404119-Apr-05 9:08
Member 151404119-Apr-05 9:08 
QuestionHow to add 3D world scene in a movie ? Pin
Tifa_Mido19-Apr-05 8:49
Tifa_Mido19-Apr-05 8:49 
QuestionCan i add a background image to the Windows datagrid? Pin
RajeshGuptha19-Apr-05 8:14
RajeshGuptha19-Apr-05 8:14 
AnswerRe: Can i add a background image to the Windows datagrid? Pin
Jim Matthews19-Apr-05 10:39
Jim Matthews19-Apr-05 10:39 
GeneralRe: Can i add a background image to the Windows datagrid? Pin
RajeshGuptha19-Apr-05 19:14
RajeshGuptha19-Apr-05 19:14 
GeneralRe: Can i add a background image to the Windows datagrid? Pin
Jim Matthews20-Apr-05 3:14
Jim Matthews20-Apr-05 3:14 
GeneralRe: Can i add a background image to the Windows datagrid? Pin
RajeshGuptha20-Apr-05 7:20
RajeshGuptha20-Apr-05 7:20 
GeneralTray Icons Pin
CStiefeling19-Apr-05 8:09
CStiefeling19-Apr-05 8:09 
GeneralRe: Tray Icons Pin
leppie19-Apr-05 19:11
leppie19-Apr-05 19:11 
QuestionDb2 connection?? Pin
trk_wakil19-Apr-05 7:38
trk_wakil19-Apr-05 7:38 
GeneralDragOver assistance needed... Pin
new_phoenix19-Apr-05 7:27
new_phoenix19-Apr-05 7:27 
GeneralRe: DragOver assistance needed... Pin
John Fisher19-Apr-05 8:27
John Fisher19-Apr-05 8:27 
GeneralRe: DragOver assistance needed... Pin
new_phoenix19-Apr-05 8:38
new_phoenix19-Apr-05 8:38 
GeneralRegex: Very basic question Pin
matthias s.19-Apr-05 5:42
matthias s.19-Apr-05 5:42 
GeneralRe: Regex: Very basic question Pin
dratcha19-Apr-05 6:52
dratcha19-Apr-05 6:52 
GeneralRe: Regex: Very basic question Pin
matthias s.19-Apr-05 12:23
matthias s.19-Apr-05 12:23 
GeneralRe: Regex: Very basic question Pin
leppie19-Apr-05 19:18
leppie19-Apr-05 19:18 
GeneralRe: Regex: Very basic question Pin
matthias s.20-Apr-05 0:16
matthias s.20-Apr-05 0:16 
GeneralRe: Regex: Very basic question Pin
leppie20-Apr-05 3:58
leppie20-Apr-05 3:58 
matthias s. wrote:
allowed characters are a-z, A-Z, 0-9 in any quantity

In Regex terms thats is an ambigious description.

Do you mean?
a. any number of a-z followed by, any number of A-Z followed by, any number of 0-9 ([a-z]*[A-Z]*[0-9]*). This is also note really correct (it can be, but the Regex wil be complex), but you can check the Length property of the returned Match object if its larger than 0.
b. one of more of a-z OR A-Z OR 0-9 ([a-zA-Z0-9]+ or using a character class \w+ that matches any alphabet char or number).

Also you want to check the whole input string, so u will need to add SOL/EOL markers. Eg.

^\w+$

xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots
GeneralRe: Regex: Very basic question Pin
Member 163675520-Apr-05 23:39
Member 163675520-Apr-05 23:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.