Click here to Skip to main content
15,120,459 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
AnswerRe: Regex to match exact word and dash symbol Pin
User 1521787324-Aug-21 18:47
MemberUser 1521787324-Aug-21 18:47 
GeneralRe: Regex to match exact word and dash symbol Pin
Member 1533502224-Aug-21 23:57
MemberMember 1533502224-Aug-21 23:57 
GeneralRe: Regex to match exact word and dash symbol Pin
User 1521787325-Aug-21 0:32
MemberUser 1521787325-Aug-21 0:32 
GeneralRe: Regex to match exact word and dash symbol Pin
Member 1533502225-Aug-21 0:37
MemberMember 1533502225-Aug-21 0:37 
GeneralRe: Regex to match exact word and dash symbol Pin
User 1521787325-Aug-21 1:08
MemberUser 1521787325-Aug-21 1:08 
GeneralRe: Regex to match exact word and dash symbol Pin
Member 1533502225-Aug-21 1:24
MemberMember 1533502225-Aug-21 1:24 
GeneralRe: Regex to match exact word and dash symbol Pin
User 1521787325-Aug-21 2:11
MemberUser 1521787325-Aug-21 2:11 
QuestionProblem capturing last group in a line: CLOSED Pin
mo149222-Aug-21 14:18
Membermo149222-Aug-21 14:18 
Don't know if this is the correct solution but it seems to work.
Using the RegexOptions.RightToLeft option seems to work.


I'm not too familiar with Regex. I've created an expression to capture data in a line and it works except for the last group DataType which does not extract the value "dtText". Can someone help?
Thank You

Expression:
FieldName=(?<FieldName>.*?),ColumnWidth=(?<ColumnWidth>.*?),Size=(?<Size>.*?),DataType=(?<DataType>.*?)

Data:
FieldName=Field1,ColumnWidth=50,Size=10,DataType=dtText

Output:
FieldName: [Field1]
ColumnWidth: [50]
Size: [10]
DataType []

-- modified 22-Aug-21 19:28pm.
AnswerRe: Problem capturing last group in a line: CLOSED Pin
Richard Deeming22-Aug-21 22:46
mveRichard Deeming22-Aug-21 22:46 
GeneralRe: Problem capturing last group in a line: CLOSED Pin
mo149223-Aug-21 7:17
Membermo149223-Aug-21 7:17 
QuestionEmployer Identification Number (EIN) Regex Pin
Member 153111493-Aug-21 10:49
MemberMember 153111493-Aug-21 10:49 
AnswerRe: Employer Identification Number (EIN) Regex Pin
User 1521787322-Aug-21 3:40
MemberUser 1521787322-Aug-21 3:40 
QuestionRegex select from list Pin
Jukec30-Jun-21 13:33
MemberJukec30-Jun-21 13:33 
AnswerRe: Regex select from list Pin
jschell8-Aug-21 9:27
Memberjschell8-Aug-21 9:27 
QuestionNeed some help with regular expression Pin
Member 1524909515-Jun-21 19:22
MemberMember 1524909515-Jun-21 19:22 
AnswerRe: Need some help with regular expression Pin
Member 1524502415-Jun-21 21:05
MemberMember 1524502415-Jun-21 21:05 
GeneralRe: Need some help with regular expression Pin
Member 1524909515-Jun-21 21:24
MemberMember 1524909515-Jun-21 21:24 
GeneralRe: Need some help with regular expression Pin
Member 1524502415-Jun-21 23:43
MemberMember 1524502415-Jun-21 23:43 
AnswerRe: Need some help with regular expression Pin
Richard MacCutchan15-Jun-21 23:25
mveRichard MacCutchan15-Jun-21 23:25 
GeneralRe: Need some help with regular expression Pin
Member 1524502415-Jun-21 23:48
MemberMember 1524502415-Jun-21 23:48 
GeneralRe: Need some help with regular expression Pin
Richard MacCutchan16-Jun-21 0:00
mveRichard MacCutchan16-Jun-21 0:00 
GeneralRe: Need some help with regular expression Pin
Member 1524502416-Jun-21 9:53
MemberMember 1524502416-Jun-21 9:53 
GeneralRe: Need some help with regular expression Pin
Richard MacCutchan16-Jun-21 11:10
mveRichard MacCutchan16-Jun-21 11:10 
AnswerRe: Need some help with regular expression Pin
User 1521787319-Jun-21 14:07
MemberUser 1521787319-Jun-21 14:07 
QuestionInterrupted list Pin
Member 1524502413-Jun-21 23:52
MemberMember 1524502413-Jun-21 23:52 

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.