Click here to Skip to main content
15,896,522 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: Matching separate regions Pin
Member 1450443318-Jun-19 5:40
Member 1450443318-Jun-19 5:40 
GeneralRe: Matching separate regions Pin
OriginalGriff18-Jun-19 5:46
mveOriginalGriff18-Jun-19 5:46 
QuestionCannot extract end of line data Pin
mo14927-Jan-19 3:44
mo14927-Jan-19 3:44 
AnswerRe: Cannot extract end of line data Pin
jsc4211-Apr-20 8:48
professionaljsc4211-Apr-20 8:48 
QuestionRegex code to check textfield is working until a 'enter' is given Pin
Member 1255403315-Mar-18 6:10
Member 1255403315-Mar-18 6:10 
AnswerRe: Regex code to check textfield is working until a 'enter' is given Pin
Gerry Schmitz15-Mar-18 6:27
mveGerry Schmitz15-Mar-18 6:27 
QuestionRe: Regex code to check textfield is working until a 'enter' is given Pin
User 1013254615-Mar-18 6:42
User 1013254615-Mar-18 6:42 
AnswerRe: Regex code to check textfield is working until a 'enter' is given Pin
Member 1255403315-Mar-18 6:53
Member 1255403315-Mar-18 6:53 
GeneralRe: Regex code to check textfield is working until a 'enter' is given Pin
User 1013254616-Mar-18 3:07
User 1013254616-Mar-18 3:07 
GeneralRe: Regex code to check textfield is working until a 'enter' is given Pin
Member 1255403316-Mar-18 4:51
Member 1255403316-Mar-18 4:51 
GeneralMessage Closed Pin
11-Feb-18 0:50
skawjdgus8811-Feb-18 0:50 
QuestionMessage Closed Pin
10-Feb-18 21:42
Member 1367229110-Feb-18 21:42 
Questionregular expression to find tax file numbers Pin
Copalol3-Dec-17 19:08
Copalol3-Dec-17 19:08 
AnswerRe: regular expression to find tax file numbers Pin
Peter_in_27803-Dec-17 19:48
professionalPeter_in_27803-Dec-17 19:48 
GeneralRe: regular expression to find tax file numbers Pin
jschell5-Dec-17 12:06
jschell5-Dec-17 12:06 
AnswerRe: regular expression to find tax file numbers Pin
George Jonsson4-Dec-17 23:25
professionalGeorge Jonsson4-Dec-17 23:25 
GeneralRe: regular expression to find tax file numbers Pin
Copalol5-Dec-17 13:05
Copalol5-Dec-17 13:05 
GeneralRe: regular expression to find tax file numbers Pin
jschell8-Dec-17 6:51
jschell8-Dec-17 6:51 
AnswerRe: regular expression to find tax file numbers Pin
jschell5-Dec-17 12:22
jschell5-Dec-17 12:22 
GeneralRe: regular expression to find tax file numbers Pin
Copalol5-Dec-17 13:32
Copalol5-Dec-17 13:32 
QuestionCorrect Expression For 'Any Character Including Whitespace' Pin
Sonhospa7-May-17 9:23
Sonhospa7-May-17 9:23 
Hi all,

I've been fighting with this for hours now, but don't get it to work. I want to strip out some information from an ini-file, which basically looks like this:
[CameraDefinition.1]
Title=Linke Seite
Guid={0ae3f864-da10-4e5a-977c-b9bba47d6f7a}
Description=Ansicht nach links
Origin=Center
It's a standard Windows text file, the sections are separated with two new lines (\r\n\r\n). My regex currently looks like this: "\[CameraDefinition\.(?<camnumber>\d+)\][.|\s]*Guid=(?<guid>\{[0-9A-F\-]*\})"

While the first (CamNumber) and the last part (Guid) return correct results as 'partial match', the critical part seems to be the underlined expression for "everything between the top and the Guid", which might be several lines.

I'd be happy if someone of you helps me solve this... Thank you in advance!
Regards
Mick
SuggestionRe: Correct Expression For 'Any Character Including Whitespace' Pin
Richard MacCutchan7-May-17 21:22
mveRichard MacCutchan7-May-17 21:22 
GeneralRe: Correct Expression For 'Any Character Including Whitespace' Pin
Sonhospa7-May-17 23:12
Sonhospa7-May-17 23:12 
GeneralRe: Correct Expression For 'Any Character Including Whitespace' Pin
Richard MacCutchan7-May-17 23:30
mveRichard MacCutchan7-May-17 23:30 
AnswerRe: Correct Expression For 'Any Character Including Whitespace' Pin
Bernhard Hiller7-May-17 23:13
Bernhard Hiller7-May-17 23:13 

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.