Click here to Skip to main content
12,395,143 members (66,677 online)

Regular Expressions

 
GeneralRe: Swap two values based on pattern Pin
biop.codeproject2-Aug-12 23:43
memberbiop.codeproject2-Aug-12 23:43 
GeneralRe: Swap two values based on pattern Pin
Peter_in_27803-Aug-12 0:08
memberPeter_in_27803-Aug-12 0:08 
GeneralRe: Swap two values based on pattern Pin
biop.codeproject5-Aug-12 16:09
memberbiop.codeproject5-Aug-12 16:09 
GeneralRe: Swap two values based on pattern Pin
biop.codeproject5-Aug-12 17:12
memberbiop.codeproject5-Aug-12 17:12 
GeneralRe: Swap two values based on pattern Pin
Peter_in_27805-Aug-12 17:59
memberPeter_in_27805-Aug-12 17:59 
QuestionRegEx Problem Pin
Kevin Marois19-Jun-12 12:12
memberKevin Marois19-Jun-12 12:12 
AnswerRe: RegEx Problem Pin
AspDotNetDev19-Jun-12 12:34
protectorAspDotNetDev19-Jun-12 12:34 
GeneralRe: RegEx Problem Pin
AspDotNetDev19-Jun-12 12:52
protectorAspDotNetDev19-Jun-12 12:52 
GeneralRe: RegEx Problem Pin
Kevin Marois19-Jun-12 13:02
memberKevin Marois19-Jun-12 13:02 
AnswerRe: RegEx Problem Pin
AspDotNetDev19-Jun-12 13:35
protectorAspDotNetDev19-Jun-12 13:35 
Questioncan someone tell me whats wrong with this expression? Pin
ChekGuy29-Apr-12 11:48
memberChekGuy29-Apr-12 11:48 
AnswerRe: can someone tell me whats wrong with this expression? Pin
egenis29-Apr-12 19:22
memberegenis29-Apr-12 19:22 
AnswerRe: can someone tell me whats wrong with this expression? Pin
Peter_in_278029-Apr-12 19:46
memberPeter_in_278029-Apr-12 19:46 
QuestionEither start or not a "d" Pin
Bernhard Hiller6-Mar-12 0:50
memberBernhard Hiller6-Mar-12 0: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 2:02
memberBernhard Hiller6-Mar-12 2:02 
QuestionTrying to match non-quoted sections Pin
PIEBALDconsult24-Jan-12 4:30
memberPIEBALDconsult24-Jan-12 4:30 
AnswerRe: Trying to match non-quoted sections Pin
Andreas Gieriet7-Apr-12 4:33
memberAndreas Gieriet7-Apr-12 4:33 
GeneralRe: Trying to match non-quoted sections Pin
PIEBALDconsult7-Apr-12 9:17
memberPIEBALDconsult7-Apr-12 9:17 
GeneralRe: Trying to match non-quoted sections Pin
Andreas Gieriet7-Apr-12 11:04
memberAndreas Gieriet7-Apr-12 11:04 
GeneralRe: Trying to match non-quoted sections Pin
PIEBALDconsult9-Apr-12 18:03
memberPIEBALDconsult9-Apr-12 18:03 
GeneralRe: Trying to match non-quoted sections Pin
Andreas Gieriet10-Apr-12 9:59
memberAndreas Gieriet10-Apr-12 9:59 
GeneralRe: Trying to match non-quoted sections Pin
PIEBALDconsult11-Apr-12 3:10
memberPIEBALDconsult11-Apr-12 3:10 
GeneralRe: Trying to match non-quoted sections Pin
Andreas Gieriet11-Apr-12 13:11
memberAndreas Gieriet11-Apr-12 13:11 
GeneralRe: Trying to match non-quoted sections Pin
PIEBALDconsult11-Apr-12 14:45
memberPIEBALDconsult11-Apr-12 14:45 
GeneralRe: Trying to match non-quoted sections Pin
Andreas Gieriet11-Apr-12 21:52
memberAndreas Gieriet11-Apr-12 21:52 
GeneralRe: Trying to match non-quoted sections Pin
Luc Pattyn7-Apr-12 9:43
mvpLuc Pattyn7-Apr-12 9:43 
GeneralRe: Trying to match non-quoted sections Pin
Andreas Gieriet7-Apr-12 10:39
memberAndreas Gieriet7-Apr-12 10:39 
QuestionSomething I just learned, with IP addresses Pin
Timothy CIAN20-Jan-12 6:42
memberTimothy CIAN20-Jan-12 6:42 
AnswerRe: Something I just learned, with IP addresses Pin
Andreas Gieriet7-Apr-12 13:10
memberAndreas Gieriet7-Apr-12 13:10 
QuestionHow to regex this Pin
Jacek Gajek17-Jan-12 12:05
memberJacek Gajek17-Jan-12 12:05 
AnswerRe: How to regex this Pin
Peter_in_278017-Jan-12 12:37
memberPeter_in_278017-Jan-12 12:37 
GeneralRe: How to regex this Pin
Jacek Gajek17-Jan-12 12:55
memberJacek Gajek17-Jan-12 12:55 
AnswerRe: How to regex this Pin
Peter_in_278018-Jan-12 17:41
memberPeter_in_278018-Jan-12 17:41 
GeneralRe: How to regex this Pin
Jacek Gajek19-Jan-12 4:12
memberJacek Gajek19-Jan-12 4:12 
GeneralRe: How to regex this Pin
Jacek Gajek19-Jan-12 4:52
memberJacek Gajek19-Jan-12 4:52 
AnswerRe: How to regex this Pin
Andreas Gieriet7-Apr-12 11:17
memberAndreas Gieriet7-Apr-12 11:17 
GeneralRe: How to regex this Pin
Jacek Gajek7-Apr-12 13:11
memberJacek Gajek7-Apr-12 13:11 
QuestionCan anybody explain how this Regex works. Pin
fiaolle15-Nov-11 2:26
memberfiaolle15-Nov-11 2:26 
AnswerRe: Can anybody explain how this Regex works. Pin
PIEBALDconsult15-Nov-11 5:04
memberPIEBALDconsult15-Nov-11 5:04 
GeneralRe: Can anybody explain how this Regex works. Pin
fiaolle15-Nov-11 6:08
memberfiaolle15-Nov-11 6:08 
GeneralRe: Can anybody explain how this Regex works. Pin
PIEBALDconsult15-Nov-11 6:34
memberPIEBALDconsult15-Nov-11 6:34 
GeneralRe: Can anybody explain how this Regex works. Pin
fiaolle15-Nov-11 6:45
memberfiaolle15-Nov-11 6:45 
GeneralRe: Can anybody explain how this Regex works. Pin
PIEBALDconsult15-Nov-11 13:46
memberPIEBALDconsult15-Nov-11 13:46 
GeneralRe: Can anybody explain how this Regex works. Pin
Andreas Gieriet8-Apr-12 1:02
memberAndreas Gieriet8-Apr-12 1:02 
AnswerRe: Can anybody explain how this Regex works. Pin
Andreas Gieriet7-Apr-12 12:06
memberAndreas Gieriet7-Apr-12 12:06 
QuestionUrl rewriting rule Pin
Gaurav.goel20913-Sep-11 0:18
memberGaurav.goel20913-Sep-11 0:18 
AnswerRe: Url rewriting rule Pin
Shahriar Iqbal Chowdhury24-Sep-11 11:00
memberShahriar Iqbal Chowdhury24-Sep-11 11:00 
AnswerRe: Url rewriting rule Pin
AspDotNetDev24-Sep-11 11:37
mvpAspDotNetDev24-Sep-11 11:37 
QuestionRegular expression to check special character Pin
sri_34648-Sep-11 11:16
membersri_34648-Sep-11 11:16 
AnswerRe: Regular expression to check special character Pin
Mizard X25-Sep-11 0:06
memberMizard X25-Sep-11 0:06 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 26 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid