Click here to Skip to main content
11,417,750 members (44,945 online)

Regular Expressions

 
AnswerRe: RegEx Problem [modified] Pin
AspDotNetDev19-Jun-12 13:34
protectorAspDotNetDev19-Jun-12 13:34 
GeneralRe: RegEx Problem Pin
AspDotNetDev19-Jun-12 13:52
protectorAspDotNetDev19-Jun-12 13:52 
GeneralRe: RegEx Problem Pin
Kevin Marois19-Jun-12 14:02
memberKevin Marois19-Jun-12 14:02 
AnswerRe: RegEx Problem Pin
AspDotNetDev19-Jun-12 14:35
protectorAspDotNetDev19-Jun-12 14:35 
Questioncan someone tell me whats wrong with this expression? [modified] Pin
ChekGuy29-Apr-12 12:48
memberChekGuy29-Apr-12 12:48 
AnswerRe: can someone tell me whats wrong with this expression? Pin
egenis29-Apr-12 20:22
memberegenis29-Apr-12 20:22 
AnswerRe: can someone tell me whats wrong with this expression? Pin
Peter_in_278029-Apr-12 20:46
memberPeter_in_278029-Apr-12 20:46 
QuestionEither start or not a "d" Pin
Bernhard Hiller6-Mar-12 1:50
memberBernhard Hiller6-Mar-12 1:50 
I try to get the date number format from a date format string. The date number format is - if present - either a single d or a double d. But the whole string can contain a place holder for the dayname also - ddd or dddd. How can I get the d or dd, if present?
I tried [^d](?<pattern>d{1,2})[^d] which works well with the standard German format (dddd, d. MMMM yyyy). But that fails when the daynumber comes first (say: d. dddd MMMM yyyy; here, ^(?<pattern>d{1,2})[^d] does the trick), and it fails when the daynumber comes last.
Actually I need something like a "either start of the string or not a d", i.e. ^|[^d] - but that does not work. How can that be solved?
AnswerRe: Either start or not a "d" Pin
Bernhard Hiller6-Mar-12 3:02
memberBernhard Hiller6-Mar-12 3:02 
QuestionTrying to match non-quoted sections [modified] Pin
PIEBALDconsult24-Jan-12 5:30
memberPIEBALDconsult24-Jan-12 5:30 
AnswerRe: Trying to match non-quoted sections Pin
Andreas Gieriet7-Apr-12 5:33
memberAndreas Gieriet7-Apr-12 5:33 
GeneralRe: Trying to match non-quoted sections Pin
PIEBALDconsult7-Apr-12 10:17
memberPIEBALDconsult7-Apr-12 10:17 
GeneralRe: Trying to match non-quoted sections Pin
Andreas Gieriet7-Apr-12 12:04
memberAndreas Gieriet7-Apr-12 12:04 
GeneralRe: Trying to match non-quoted sections Pin
PIEBALDconsult9-Apr-12 19:03
memberPIEBALDconsult9-Apr-12 19:03 
GeneralRe: Trying to match non-quoted sections Pin
Andreas Gieriet10-Apr-12 10:59
memberAndreas Gieriet10-Apr-12 10:59 
GeneralRe: Trying to match non-quoted sections Pin
PIEBALDconsult11-Apr-12 4:10
memberPIEBALDconsult11-Apr-12 4:10 
GeneralRe: Trying to match non-quoted sections Pin
Andreas Gieriet11-Apr-12 14:11
memberAndreas Gieriet11-Apr-12 14:11 
GeneralRe: Trying to match non-quoted sections Pin
PIEBALDconsult11-Apr-12 15:45
memberPIEBALDconsult11-Apr-12 15:45 
GeneralRe: Trying to match non-quoted sections Pin
Andreas Gieriet11-Apr-12 22:52
memberAndreas Gieriet11-Apr-12 22:52 
GeneralRe: Trying to match non-quoted sections Pin
Luc Pattyn7-Apr-12 10:43
mvpLuc Pattyn7-Apr-12 10:43 
GeneralRe: Trying to match non-quoted sections [modified] Pin
Andreas Gieriet7-Apr-12 11:39
memberAndreas Gieriet7-Apr-12 11:39 
QuestionSomething I just learned, with IP addresses Pin
Timothy CIAN20-Jan-12 7:42
memberTimothy CIAN20-Jan-12 7:42 
AnswerRe: Something I just learned, with IP addresses Pin
Andreas Gieriet7-Apr-12 14:10
memberAndreas Gieriet7-Apr-12 14:10 
QuestionHow to regex this Pin
Jacek Gajek17-Jan-12 13:05
memberJacek Gajek17-Jan-12 13:05 
AnswerRe: How to regex this Pin
Peter_in_278017-Jan-12 13:37
memberPeter_in_278017-Jan-12 13:37 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150427.4 | Last Updated 2 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid