Click here to Skip to main content
15,793,547 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
QuestionRegex Expression to extract everything following a string and before a space Pin
Member 1457241529-Aug-19 7:30
Member 1457241529-Aug-19 7:30 
AnswerRe: Regex Expression to extract everything following a string and before a space Pin
Richard MacCutchan29-Aug-19 7:55
mveRichard MacCutchan29-Aug-19 7:55 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Richard Deeming29-Aug-19 8:04
mveRichard Deeming29-Aug-19 8:04 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Richard MacCutchan29-Aug-19 9:44
mveRichard MacCutchan29-Aug-19 9:44 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Member 1457241529-Aug-19 9:36
Member 1457241529-Aug-19 9:36 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Richard MacCutchan29-Aug-19 9:47
mveRichard MacCutchan29-Aug-19 9:47 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Member 1457241529-Aug-19 10:29
Member 1457241529-Aug-19 10:29 
AnswerRe: Regex Expression to extract everything following a string and before a space Pin
Richard Deeming29-Aug-19 8:10
mveRichard Deeming29-Aug-19 8:10 
If you want to include the "Order Date: " in your extracted value:
Order Date:\s*[^\s]+

If you just want the "01/12/2017", and you're using C#, then:
(?<=Order Date:\s*)[^\s]+

(Other regular expression processors may also support "zero-width positive lookbehind" assertions. But Javascript, for example, doesn't.)



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Member 1457241529-Aug-19 9:00
Member 1457241529-Aug-19 9:00 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Member 1457241529-Aug-19 9:03
Member 1457241529-Aug-19 9:03 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Richard Deeming29-Aug-19 9:50
mveRichard Deeming29-Aug-19 9:50 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Member 1457241529-Aug-19 10:12
Member 1457241529-Aug-19 10:12 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Richard Deeming29-Aug-19 10:53
mveRichard Deeming29-Aug-19 10:53 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Member 1457241529-Aug-19 11:05
Member 1457241529-Aug-19 11:05 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
phil.o29-Aug-19 20:29
professionalphil.o29-Aug-19 20:29 
GeneralRe: Regex Expression to extract everything following a string and before a space Pin
Richard Deeming30-Aug-19 4:05
mveRichard Deeming30-Aug-19 4:05 
QuestionMatching separate regions Pin
Member 1450443318-Jun-19 5:10
Member 1450443318-Jun-19 5:10 
AnswerRe: Matching separate regions Pin
OriginalGriff18-Jun-19 5:12
mvaOriginalGriff18-Jun-19 5:12 
GeneralRe: Matching separate regions Pin
Member 1450443318-Jun-19 6:40
Member 1450443318-Jun-19 6:40 
GeneralRe: Matching separate regions Pin
OriginalGriff18-Jun-19 6:46
mvaOriginalGriff18-Jun-19 6:46 
QuestionCannot extract end of line data Pin
mo14927-Jan-19 4:44
mo14927-Jan-19 4:44 
AnswerRe: Cannot extract end of line data Pin
jsc4211-Apr-20 9:48
professionaljsc4211-Apr-20 9:48 
QuestionRegex code to check textfield is working until a 'enter' is given Pin
Member 1255403315-Mar-18 7:10
Member 1255403315-Mar-18 7:10 
AnswerRe: Regex code to check textfield is working until a 'enter' is given Pin
Gerry Schmitz15-Mar-18 7:27
mveGerry Schmitz15-Mar-18 7:27 
QuestionRe: Regex code to check textfield is working until a 'enter' is given Pin
User 1013254615-Mar-18 7:42
User 1013254615-Mar-18 7:42 

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.