Click here to Skip to main content
15,792,397 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
QuestionString Replacement Pin
Michael Eckstein19-Sep-20 21:27
Michael Eckstein19-Sep-20 21:27 
AnswerRe: String Replacement Pin
Richard MacCutchan19-Sep-20 22:11
mveRichard MacCutchan19-Sep-20 22:11 
GeneralRe: String Replacement Pin
Michael Eckstein19-Sep-20 23:28
Michael Eckstein19-Sep-20 23:28 
GeneralRe: String Replacement Pin
Michael Eckstein20-Sep-20 1:19
Michael Eckstein20-Sep-20 1:19 
GeneralRe: String Replacement Pin
Michael Eckstein20-Sep-20 2:01
Michael Eckstein20-Sep-20 2:01 
GeneralRe: String Replacement Pin
Richard MacCutchan20-Sep-20 2:32
mveRichard MacCutchan20-Sep-20 2:32 
QuestionRegEx Split Pin
Member 148774747-Sep-20 8:56
Member 148774747-Sep-20 8:56 
AnswerRe: RegEx Split Pin
Richard Deeming7-Sep-20 23:43
mveRichard Deeming7-Sep-20 23:43 
Your function works fine for me if you pass in the correct values.
C#
const string input = "\"\"|*\"I have delimiter |* and an escaped \\\" quote  in me\"|*100|*200|*300|*\"am a string\"|*\"\"";
string[] result = Split(input, "|*", @"\""", false);
Split | C# Online Compiler | .NET Fiddle[^]



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

Question9 million Rows in Excel Pin
IzaacSpyro30-Aug-20 23:20
IzaacSpyro30-Aug-20 23:20 
QuestionFinding a specific number in a string. Pin
Member 1086910714-Aug-20 12:36
Member 1086910714-Aug-20 12:36 
AnswerRe: Finding a specific number in a string. Pin
Richard MacCutchan14-Aug-20 22:40
mveRichard MacCutchan14-Aug-20 22:40 
GeneralRe: Finding a specific number in a string. Pin
Member 1086910715-Aug-20 2:17
Member 1086910715-Aug-20 2:17 
QuestionHow to skip a particular term in regex find and replace? Pin
usernamekiran11-Aug-20 5:34
usernamekiran11-Aug-20 5:34 
AnswerRe: How to skip a particular term in regex find and replace? Pin
Gerry Schmitz11-Aug-20 7:39
mveGerry Schmitz11-Aug-20 7:39 
QuestionFind Sequence of alphabets in the string Pin
arisaravanan11-Apr-20 2:32
arisaravanan11-Apr-20 2:32 
AnswerRe: Find Sequence of alphabets in the string Pin
Richard MacCutchan11-Apr-20 5:21
mveRichard MacCutchan11-Apr-20 5:21 
AnswerRe: Find Sequence of alphabets in the string Pin
Richard Deeming14-Apr-20 1:30
mveRichard Deeming14-Apr-20 1:30 
QuestionUsing A Regular Expression To Show Rows In Pandas (Python) Pin
Eddie Winch2-Feb-20 10:05
Eddie Winch2-Feb-20 10:05 
QuestionTSV out of a tab-based tree-like file Pin
DynV9-Nov-19 20:43
DynV9-Nov-19 20:43 
Questiongetting all the image files in a HTML Inspection Pin
Member 1463488025-Oct-19 5:03
Member 1463488025-Oct-19 5:03 
QuestionRe: getting all the image files in a HTML Inspection Pin
Richard MacCutchan25-Oct-19 5:15
mveRichard MacCutchan25-Oct-19 5:15 
AnswerRe: getting all the image files in a HTML Inspection Pin
Member 1463488025-Oct-19 10:38
Member 1463488025-Oct-19 10:38 
GeneralRe: getting all the image files in a HTML Inspection Pin
Richard MacCutchan25-Oct-19 22:57
mveRichard MacCutchan25-Oct-19 22:57 
QuestionRegular Expression To Extract Everything Including the String And Before The First Space Character Pin
Member 1457241529-Aug-19 15:46
Member 1457241529-Aug-19 15:46 
AnswerRe: Regular Expression To Extract Everything Including the String And Before The First Space Character Pin
Richard MacCutchan29-Aug-19 21:43
mveRichard MacCutchan29-Aug-19 21:43 

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.