Click here to Skip to main content
15,886,873 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: RegEx remove duplicate need help Pin
Member 106011917-Aug-23 12:04
professionalMember 106011917-Aug-23 12:04 
AnswerRe: RegEx remove duplicate need help Pin
Andre Oosthuizen7-Aug-23 23:27
mveAndre Oosthuizen7-Aug-23 23:27 
AnswerRe: RegEx remove duplicate need help Pin
jschell11-Aug-23 10:49
jschell11-Aug-23 10:49 
GeneralRe: RegEx remove duplicate need help Pin
trønderen11-Aug-23 12:21
trønderen11-Aug-23 12:21 
GeneralRe: RegEx remove duplicate need help Pin
jschell14-Aug-23 6:01
jschell14-Aug-23 6:01 
QuestionRegex search and replace? Tabs ... Pin
Member 1483514610-Jul-23 9:57
Member 1483514610-Jul-23 9:57 
AnswerRe: Regex search and replace? Tabs ... Pin
jschell14-Aug-23 6:13
jschell14-Aug-23 6:13 
GeneralHow to insert a space at the beginning of a line in a "for next" code loop (.NET regular expressions) Pin
Piotr Przeklasa4-Jul-23 2:20
Piotr Przeklasa4-Jul-23 2:20 
How to insert a space at the beginning of a line in a "for next" code loop (.NET regular expressions)

I am trying to add spaces at the beginning of lines matched with look arounds

for
line of code
line of code
line of code
line of code
next


and this is the output I want to get


for
  line of code
  line of code
  line of code
  line of code
next


Please help me with .NET regular expressions


modified 5-Jul-23 3:49am.

GeneralRe: How to insert a space at the beginning of a line in a "for next" code loop (.NET regular expressions) Pin
Andre Oosthuizen5-Jul-23 1:15
mveAndre Oosthuizen5-Jul-23 1:15 
GeneralRe: How to insert a space at the beginning of a line in a "for next" code loop (.NET regular expressions) Pin
Richard MacCutchan5-Jul-23 2:21
mveRichard MacCutchan5-Jul-23 2:21 
GeneralRe: How to insert a space at the beginning of a line in a "for next" code loop (.NET regular expressions) Pin
jschell5-Jul-23 5:31
jschell5-Jul-23 5:31 
QuestionNeed help with Regular expression Pin
Member 1601263423-May-23 9:36
Member 1601263423-May-23 9:36 
AnswerRe: Need help with Regular expression Pin
PIEBALDconsult23-May-23 9:39
mvePIEBALDconsult23-May-23 9:39 
AnswerRe: Need help with Regular expression Pin
jschell24-May-23 5:58
jschell24-May-23 5:58 
QuestionRedirection with exclusions RegEx Pin
Member 1598311319-Apr-23 3:07
Member 1598311319-Apr-23 3:07 
QuestionI need help with a complex regex Pin
Member 127465326-Apr-23 3:57
Member 127465326-Apr-23 3:57 
AnswerRe: I need help with a complex regex Pin
Terry R 202312-Apr-23 10:53
Terry R 202312-Apr-23 10:53 
AnswerRe: I need help with a complex regex Pin
Richard MacCutchan12-Apr-23 20:41
mveRichard MacCutchan12-Apr-23 20:41 
GeneralRe: I need help with a complex regex Pin
jschell13-Apr-23 5:29
jschell13-Apr-23 5:29 
GeneralRe: I need help with a complex regex Pin
Richard MacCutchan13-Apr-23 5:52
mveRichard MacCutchan13-Apr-23 5:52 
GeneralRe: I need help with a complex regex Pin
jschell14-Apr-23 11:28
jschell14-Apr-23 11:28 
GeneralRe: I need help with a complex regex Pin
Member 1274653217-Apr-23 20:50
Member 1274653217-Apr-23 20:50 
GeneralRe: I need help with a complex regex Pin
Richard MacCutchan17-Apr-23 22:04
mveRichard MacCutchan17-Apr-23 22:04 
QuestionWhat is the regular expression for this string? Pin
Member 1595912122-Mar-23 11:29
Member 1595912122-Mar-23 11:29 
AnswerRe: What is the regular expression for this string? Pin
Richard MacCutchan22-Mar-23 23:12
mveRichard MacCutchan22-Mar-23 23:12 

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.