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

Regular Expressions

 
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 
AnswerRe: Interrupted list Pin
OriginalGriff13-Jun-21 22:58
mveOriginalGriff13-Jun-21 22:58 
GeneralRe: Interrupted list Pin
Member 1524502414-Jun-21 0:25
MemberMember 1524502414-Jun-21 0:25 
I am using Notepad++

Thank you for pointing that out, I was not aware and I have comply to the forum common rules.

What is expected is:
1. a string like this to be matched:
Abc 2:5a; 24:51d, 53; 1:9b, 22-23c; 1:22-23, 9; 1:22-23, 24-25;
2. this string should not be matched if it is found at the start of a line, that is, a new row; only in the middle o at the end of a row.
3. if in the middle or at the end of a string/row, it should match only if it starts with capital letter. E.g. Abc, not abc
4. After matching the Replacing I need is like this:
Abc 2:5a; Abc 24:51d, 53; Abc 1:9b, 22-23c; Abc 1:22-23, 9; Abc 1:22-23, 24-25;

I hope I was more clear this time.
I welcome any perfecting, because reading regex is indeed pain enough. So, I should be very accurate.
Thank you, sir! Thumbs Up | :thumbsup:

-- modified 14-Jun-21 5:31am.
GeneralRe: Interrupted list Pin
OriginalGriff14-Jun-21 2:53
mveOriginalGriff14-Jun-21 2:53 
AnswerRe: Interrupted list Pin
User 1521787319-Jun-21 16:36
MemberUser 1521787319-Jun-21 16:36 
QuestionMatching exact string with a vertical bar and square brackets Pin
RanCohen31-May-21 4:02
MemberRanCohen31-May-21 4:02 
AnswerRe: Matching exact string with a vertical bar and square brackets Pin
Richard Deeming31-May-21 23:29
mveRichard Deeming31-May-21 23:29 
GeneralRe: Matching exact string with a vertical bar and square brackets Pin
RanCohen31-May-21 23:47
MemberRanCohen31-May-21 23:47 
GeneralRe: Matching exact string with a vertical bar and square brackets Pin
Richard Deeming1-Jun-21 0:12
mveRichard Deeming1-Jun-21 0:12 
GeneralRe: Matching exact string with a vertical bar and square brackets Pin
RanCohen1-Jun-21 0:20
MemberRanCohen1-Jun-21 0:20 
QuestionDetect only internal links containing the rel noopener Pin
Member 1519987919-May-21 7:15
MemberMember 1519987919-May-21 7:15 
AnswerRe: Detect only internal links containing the rel noopener Pin
Tony Hill19-May-21 9:53
MemberTony Hill19-May-21 9:53 
GeneralRe: Detect only internal links containing the rel noopener Pin
Member 1519987920-May-21 6:24
MemberMember 1519987920-May-21 6:24 
GeneralRe: Detect only internal links containing the rel noopener Pin
Tony Hill20-May-21 10:32
MemberTony Hill20-May-21 10:32 
GeneralRe: Detect only internal links containing the rel noopener Pin
Member 1519987921-May-21 0:55
MemberMember 1519987921-May-21 0:55 
GeneralRe: Detect only internal links containing the rel noopener Pin
User 1521787319-Jun-21 19:53
MemberUser 1521787319-Jun-21 19:53 
QuestionWhat Could Be RegExp For? Pin
IbnUlAdam16-May-21 23:08
MemberIbnUlAdam16-May-21 23:08 
AnswerRe: What Could Be RegExp For? Pin
Peter_in_278016-May-21 23:57
professionalPeter_in_278016-May-21 23:57 
QuestionRegex to detect href not correctly closed Pin
Member 1519987914-May-21 9:36
MemberMember 1519987914-May-21 9:36 
AnswerRe: Regex to detect href not correctly closed Pin
Richard Deeming18-May-21 4:46
mveRichard Deeming18-May-21 4:46 

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.