Click here to Skip to main content
15,888,968 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Regex: Very basic question Pin
leppie19-Apr-05 19:21
leppie19-Apr-05 19:21 
GeneralDatagrid formatting Pin
esjq19-Apr-05 4:55
esjq19-Apr-05 4:55 
GeneralRe: Datagrid formatting Pin
John Fisher19-Apr-05 8:14
John Fisher19-Apr-05 8:14 
GeneralRe: Datagrid formatting Pin
Luis Alonso Ramos19-Apr-05 9:17
Luis Alonso Ramos19-Apr-05 9:17 
GeneralRe: Datagrid formatting Pin
esjq19-Apr-05 19:58
esjq19-Apr-05 19:58 
QuestionHow to select a check box and add to cart in C# Pin
userid_userid19-Apr-05 3:43
userid_userid19-Apr-05 3:43 
Question"Secure Electronic Transaction" in C#? Pin
msdawy19-Apr-05 3:30
msdawy19-Apr-05 3:30 
GeneralComboBox problem Pin
vuthaianh19-Apr-05 2:44
vuthaianh19-Apr-05 2:44 
GeneralRe: ComboBox problem Pin
MoustafaS19-Apr-05 4:25
MoustafaS19-Apr-05 4:25 
GeneralGDI+ doublebuffering isnt stopping flicker :( Pin
JDUK19-Apr-05 2:16
JDUK19-Apr-05 2:16 
GeneralRe: GDI+ doublebuffering isnt stopping flicker :( Pin
John Fisher19-Apr-05 8:09
John Fisher19-Apr-05 8:09 
GeneralRe: GDI+ doublebuffering isnt stopping flicker :( Pin
Stefan Troschuetz19-Apr-05 8:48
Stefan Troschuetz19-Apr-05 8:48 
GeneralRe: GDI+ doublebuffering isnt stopping flicker :( Pin
JDUK19-Apr-05 11:12
JDUK19-Apr-05 11:12 
GeneralDockable / Floating / Collapsable Controls - Where to begin Pin
Tristan Rhodes19-Apr-05 2:04
Tristan Rhodes19-Apr-05 2:04 
GeneralRe: Dockable / Floating / Collapsable Controls - Where to begin Pin
leppie19-Apr-05 5:21
leppie19-Apr-05 5:21 
QuestionIs this how MemoryStreams works? Pin
Snowjim19-Apr-05 0:02
Snowjim19-Apr-05 0:02 

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.