Click here to Skip to main content

Regular Expressions

 
GeneralRe: Swap two values based on pattern Pinmemberbiop.codeproject3-Aug-12 0:43 
GeneralRe: Swap two values based on pattern PinmemberPeter_in_27803-Aug-12 1:08 
GeneralRe: Swap two values based on pattern Pinmemberbiop.codeproject5-Aug-12 17:09 
GeneralRe: Swap two values based on pattern [modified] Pinmemberbiop.codeproject5-Aug-12 18:12 
GeneralRe: Swap two values based on pattern PinmemberPeter_in_27805-Aug-12 18:59 
QuestionRegEx Problem PinmemberKevin Marois19-Jun-12 13:12 
AnswerRe: RegEx Problem [modified] PinprotectorAspDotNetDev19-Jun-12 13:34 
GeneralRe: RegEx Problem PinprotectorAspDotNetDev19-Jun-12 13:52 
GeneralRe: RegEx Problem PinmemberKevin Marois19-Jun-12 14:02 
AnswerRe: RegEx Problem PinprotectorAspDotNetDev19-Jun-12 14:35 
Questioncan someone tell me whats wrong with this expression? [modified] PinmemberChekGuy29-Apr-12 12:48 
AnswerRe: can someone tell me whats wrong with this expression? Pinmemberegenis29-Apr-12 20:22 
AnswerRe: can someone tell me whats wrong with this expression? PinmemberPeter_in_278029-Apr-12 20:46 
QuestionEither start or not a "d" PinmemberBernhard 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" PinmemberBernhard Hiller6-Mar-12 3:02 
QuestionTrying to match non-quoted sections [modified] PinmemberPIEBALDconsult24-Jan-12 5:30 
AnswerRe: Trying to match non-quoted sections PinmemberAndreas Gieriet7-Apr-12 5:33 
GeneralRe: Trying to match non-quoted sections PinmemberPIEBALDconsult7-Apr-12 10:17 
GeneralRe: Trying to match non-quoted sections PinmemberAndreas Gieriet7-Apr-12 12:04 
GeneralRe: Trying to match non-quoted sections PinmemberPIEBALDconsult9-Apr-12 19:03 
GeneralRe: Trying to match non-quoted sections PinmemberAndreas Gieriet10-Apr-12 10:59 
GeneralRe: Trying to match non-quoted sections PinmemberPIEBALDconsult11-Apr-12 4:10 
GeneralRe: Trying to match non-quoted sections PinmemberAndreas Gieriet11-Apr-12 14:11 
GeneralRe: Trying to match non-quoted sections PinmemberPIEBALDconsult11-Apr-12 15:45 
GeneralRe: Trying to match non-quoted sections PinmemberAndreas Gieriet11-Apr-12 22:52 
GeneralRe: Trying to match non-quoted sections PinmvpLuc Pattyn7-Apr-12 10:43 
GeneralRe: Trying to match non-quoted sections [modified] PinmemberAndreas Gieriet7-Apr-12 11:39 
QuestionSomething I just learned, with IP addresses PinmemberTimothy CIAN20-Jan-12 7:42 
AnswerRe: Something I just learned, with IP addresses PinmemberAndreas Gieriet7-Apr-12 14:10 
QuestionHow to regex this PinmemberJacek Gajek17-Jan-12 13:05 
AnswerRe: How to regex this PinmemberPeter_in_278017-Jan-12 13:37 
GeneralRe: How to regex this PinmemberJacek Gajek17-Jan-12 13:55 
AnswerRe: How to regex this PinmemberPeter_in_278018-Jan-12 18:41 
GeneralRe: How to regex this PinmemberJacek Gajek19-Jan-12 5:12 
GeneralRe: How to regex this PinmemberJacek Gajek19-Jan-12 5:52 
AnswerRe: How to regex this [modified] PinmemberAndreas Gieriet7-Apr-12 12:17 
GeneralRe: How to regex this PinmemberJacek Gajek7-Apr-12 14:11 
QuestionCan anybody explain how this Regex works. Pinmemberfiaolle15-Nov-11 3:26 
AnswerRe: Can anybody explain how this Regex works. PinmemberPIEBALDconsult15-Nov-11 6:04 
GeneralRe: Can anybody explain how this Regex works. Pinmemberfiaolle15-Nov-11 7:08 
GeneralRe: Can anybody explain how this Regex works. PinmemberPIEBALDconsult15-Nov-11 7:34 
GeneralRe: Can anybody explain how this Regex works. Pinmemberfiaolle15-Nov-11 7:45 
GeneralRe: Can anybody explain how this Regex works. PinmemberPIEBALDconsult15-Nov-11 14:46 
GeneralRe: Can anybody explain how this Regex works. PinmemberAndreas Gieriet8-Apr-12 2:02 
AnswerRe: Can anybody explain how this Regex works. [modified] PinmemberAndreas Gieriet7-Apr-12 13:06 
QuestionUrl rewriting rule PinmemberGaurav.goel20913-Sep-11 1:18 
AnswerRe: Url rewriting rule PinmemberShahriar Iqbal Chowdhury24-Sep-11 12:00 
AnswerRe: Url rewriting rule PinmvpAspDotNetDev24-Sep-11 12:37 
QuestionRegular expression to check special character Pinmembersri_34648-Sep-11 12:16 
AnswerRe: Regular expression to check special character PinmemberMizard X25-Sep-11 1:06 

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
Web04 | 2.8.141223.1 | Last Updated 13 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid