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

C#

 
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 
Hi leppie,

thanks for your reply. I still don't understand why IsMatch is returning true. For my understanding it should return true if a match has been found. My regular Expression states, that allowed characters are a-z, A-Z, 0-9 in any quantity. It doesn't say that '--' is a valid character. D'Oh! | :doh:

Could you please provide a short snippet that does the following: Check a given string (say, the SearchString) whether all input characters are falling into these categories a-z, A-Z, 0-9. If the SearchString contains one or more invalid characters, such as : or ; or -, the check should fail and an empty string should be returned. If all characters are valid, the snippet should return the complete SearchString as it was originally passed to the method.

I usually don't ask people writing code for me, but I really would like to understand the workings here. Drives me nuts to walk around and make a stupid face... Dead | X|

Thanks in advance!

/matthias


I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams]

GeneralRe: Regex: Very basic question Pin
leppie20-Apr-05 3:58
leppie20-Apr-05 3:58 
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 

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.