Click here to Skip to main content
15,847,903 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: MySQL Select query that chooses something dot something between certain underscores Pin
Richard MacCutchan19-Sep-23 23:09
mveRichard MacCutchan19-Sep-23 23:09 
AnswerRe: MySQL Select query that chooses something dot something between certain underscores Pin
jschell14-Sep-23 11:55
jschell14-Sep-23 11:55 
QuestionExclude already masked data in regex Pin
NathanAsh25-Aug-23 12:14
NathanAsh25-Aug-23 12:14 
AnswerRe: Exclude already masked data in regex Pin
Terry R 202325-Aug-23 13:48
Terry R 202325-Aug-23 13:48 
GeneralRe: Exclude already masked data in regex Pin
NathanAsh28-Aug-23 6:32
NathanAsh28-Aug-23 6:32 
QuestionRegEx remove duplicate need help Pin
manoo885-Aug-23 14:04
manoo885-Aug-23 14:04 
GeneralRe: RegEx remove duplicate need help Pin
Member 106011917-Aug-23 13:04
professionalMember 106011917-Aug-23 13:04 
AnswerRe: RegEx remove duplicate need help Pin
Andre Oosthuizen8-Aug-23 0:27
mveAndre Oosthuizen8-Aug-23 0:27 
The regex you provided is close, but there are a few modifications needed to achieve your desired result. Here's the correct regex and how you can use it in Notepad++ -
Regular
("\/.*?\.(?:jpg|png))\s*,\s*(?=.*\1)


I have tested this regex in Notepad++ using the following steps -

1) Open your CSV file in Notepad++.
2) Press Ctrl + H to open the "Find" dialog.
3) In the "Find what" field, enter the regex: ("\/.*?\.(?:jpg|png))\s*,\s*(?=.*\1).
4) Leave the "Replace with" field empty.
5) In the "Search Mode" section, select "Regular expression".
6) Click on "Replace All".

Make sure to have a backup of your data before performing any find and replace operations, just in case...
AnswerRe: RegEx remove duplicate need help Pin
jschell11-Aug-23 11:49
jschell11-Aug-23 11:49 
GeneralRe: RegEx remove duplicate need help Pin
trønderen11-Aug-23 13:21
trønderen11-Aug-23 13:21 
GeneralRe: RegEx remove duplicate need help Pin
jschell14-Aug-23 7:01
jschell14-Aug-23 7:01 
QuestionRegex search and replace? Tabs ... Pin
Member 1483514610-Jul-23 10:57
Member 1483514610-Jul-23 10:57 
AnswerRe: Regex search and replace? Tabs ... Pin
jschell14-Aug-23 7:13
jschell14-Aug-23 7: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 3:20
Piotr Przeklasa4-Jul-23 3:20 
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 2:15
mveAndre Oosthuizen5-Jul-23 2: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 3:21
mveRichard MacCutchan5-Jul-23 3: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 6:31
jschell5-Jul-23 6:31 
QuestionNeed help with Regular expression Pin
Member 1601263423-May-23 10:36
Member 1601263423-May-23 10:36 
AnswerRe: Need help with Regular expression Pin
PIEBALDconsult23-May-23 10:39
mvePIEBALDconsult23-May-23 10:39 
AnswerRe: Need help with Regular expression Pin
jschell24-May-23 6:58
jschell24-May-23 6:58 
QuestionRedirection with exclusions RegEx Pin
Member 1598311319-Apr-23 4:07
Member 1598311319-Apr-23 4:07 
QuestionI need help with a complex regex Pin
Member 127465326-Apr-23 4:57
Member 127465326-Apr-23 4:57 
AnswerRe: I need help with a complex regex Pin
Terry R 202312-Apr-23 11:53
Terry R 202312-Apr-23 11:53 
AnswerRe: I need help with a complex regex Pin
Richard MacCutchan12-Apr-23 21:41
mveRichard MacCutchan12-Apr-23 21:41 
GeneralRe: I need help with a complex regex Pin
jschell13-Apr-23 6:29
jschell13-Apr-23 6:29 

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.