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

C#

 
GeneralRe: A problem with ListView in VB.Net Pin
Colin Angus Mackay10-Apr-11 23:41
Colin Angus Mackay10-Apr-11 23:41 
GeneralRe: A problem with ListView in VB.Net Pin
Pete O'Hanlon11-Apr-11 0:38
mvePete O'Hanlon11-Apr-11 0:38 
AnswerRe: A problem with ListView in VB.Net PinPopular
Luc Pattyn7-Apr-11 7:35
sitebuilderLuc Pattyn7-Apr-11 7:35 
GeneralRe: A problem with ListView in VB.Net Pin
Mycroft Holmes7-Apr-11 22:21
professionalMycroft Holmes7-Apr-11 22:21 
AnswerRe: A problem with ListView in VB.Net Pin
#realJSOP8-Apr-11 8:08
mve#realJSOP8-Apr-11 8:08 
AnswerRe: A problem with ListView in VB.Net Pin
Dalek Dave9-Apr-11 4:56
professionalDalek Dave9-Apr-11 4:56 
QuestionMessage Removed Pin
7-Apr-11 2:34
fififlowertot7-Apr-11 2:34 
AnswerRe: Regular Expresssion [modified] Pin
Pete O'Hanlon7-Apr-11 2:47
mvePete O'Hanlon7-Apr-11 2:47 
fififlowertot wrote:
Hi ,
I needed to verify that the last 4 digits in a number are 0000.
The
number was of format 999999-0000 so i checked with a regular expression
@"\d-\(0){4}"
but now the '-' will not be there and it always just a number
with last 4 digits as 0 i.e 0000
I am unable to think of a regular expression
to validate this string. any help will be greatly appreciated.



This should have been asked in the Regular Expression forum. However, seeing that the question is here now, and seeing that I'm in a good mood, the regex for this is:
^(\d*(0){4})
[Edited to add deleted question in]

I'm not a stalker, I just know things. Oh by the way, you're out of milk.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Onyx


modified on Thursday, April 7, 2011 12:33 PM

GeneralRe: Regular Expresssion Pin
fififlowertot7-Apr-11 2:48
fififlowertot7-Apr-11 2:48 
GeneralRe: Regular Expresssion Pin
Pete O'Hanlon7-Apr-11 2:51
mvePete O'Hanlon7-Apr-11 2:51 
GeneralRe: Regular Expresssion Pin
PIEBALDconsult7-Apr-11 2:54
mvePIEBALDconsult7-Apr-11 2:54 
GeneralRe: Regular Expresssion Pin
#realJSOP7-Apr-11 7:30
mve#realJSOP7-Apr-11 7:30 
GeneralRe: Regular Expresssion Pin
Pete O'Hanlon7-Apr-11 7:31
mvePete O'Hanlon7-Apr-11 7:31 
GeneralRe: Regular Expresssion Pin
AspDotNetDev7-Apr-11 7:56
protectorAspDotNetDev7-Apr-11 7:56 
GeneralRe: Regular Expresssion Pin
Pete O'Hanlon7-Apr-11 8:31
mvePete O'Hanlon7-Apr-11 8:31 
GeneralRe: Regular Expresssion Pin
PIEBALDconsult7-Apr-11 14:30
mvePIEBALDconsult7-Apr-11 14:30 
GeneralRe: Regular Expresssion Pin
GenJerDan7-Apr-11 3:38
GenJerDan7-Apr-11 3:38 
QuestionAppropriate solution on reading a list of Strings from a file Pin
nstk6-Apr-11 21:35
nstk6-Apr-11 21:35 
AnswerRe: Appropriate solution on reading a list of Strings from a file Pin
OriginalGriff6-Apr-11 22:30
mveOriginalGriff6-Apr-11 22:30 
GeneralRe: Appropriate solution on reading a list of Strings from a file Pin
nstk7-Apr-11 4:34
nstk7-Apr-11 4:34 
AnswerRe: Appropriate solution on reading a list of Strings from a file Pin
PIEBALDconsult7-Apr-11 3:07
mvePIEBALDconsult7-Apr-11 3:07 
GeneralRe: Appropriate solution on reading a list of Strings from a file [modified] Pin
nstk7-Apr-11 4:37
nstk7-Apr-11 4:37 
AnswerRe: Appropriate solution on reading a list of Strings from a file Pin
OriginalGriff7-Apr-11 8:54
mveOriginalGriff7-Apr-11 8:54 
GeneralRe: Appropriate solution on reading a list of Strings from a file Pin
nstk7-Apr-11 10:48
nstk7-Apr-11 10:48 
GeneralRe: Appropriate solution on reading a list of Strings from a file Pin
PIEBALDconsult7-Apr-11 15:26
mvePIEBALDconsult7-Apr-11 15:26 

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.