Click here to Skip to main content
15,797,682 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: Need some help with regular expression Pin
Member 1524502415-Jun-21 23:43
Member 1524502415-Jun-21 23:43 
AnswerRe: Need some help with regular expression Pin
Richard MacCutchan15-Jun-21 23:25
mveRichard MacCutchan15-Jun-21 23:25 
GeneralRe: Need some help with regular expression Pin
Member 1524502415-Jun-21 23:48
Member 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
Member 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
User 1521787319-Jun-21 14:07 
QuestionInterrupted list Pin
Member 1524502413-Jun-21 23:52
Member 1524502413-Jun-21 23:52 
Hi to all! My name is Dumitru, and I am a newbie to regex.

My situation is that I studied some regex on my own, but I realized I have some lacks so I have to ask other people who really understand regex.

<b>An example of my target text:</b>
Abc. 2:5a; 24:51d, 53; 1:9b, 22-23c; 1:22-23, 9; 1:22-23, 24-25;

<b>Am example of my insufficient regex formula:</b>
((((\d)?\w*(\.)?\s\d*:\d*)((-|: |,)?\s)?)(((-)?|(\d*))?(,)?(\s)?){5})


# Case 01. My formula does not match small letters, after and next to digits, as <b>a</b>, <b>d</b>, <b>b</b>, <b>c</b>
# Case 02. My formula does not find <b>;</b>
# Case 03. When Replace I have to add <b>Abc.</b> after each <b>;</b> and before the next series of digits, like this: <b>Abc. 2:5a; Abc. 24:51d, 53; Abc. 1:9b, 22-23c;</b> etc.
<b>Note:</b> The small letter after and next to the digits, may or may not be there.

And I need to find / match only those that are <b>not</b> at the start of a string, that is, only those that are in the middle or at the end of a string.

I would really appreciate any help. Thank you!
AnswerRe: Interrupted list Pin
OriginalGriff13-Jun-21 22:58
mvaOriginalGriff13-Jun-21 22:58 
GeneralRe: Interrupted list Pin
Member 1524502414-Jun-21 0:25
Member 1524502414-Jun-21 0:25 
GeneralRe: Interrupted list Pin
OriginalGriff14-Jun-21 2:53
mvaOriginalGriff14-Jun-21 2:53 
AnswerRe: Interrupted list Pin
User 1521787319-Jun-21 16:36
User 1521787319-Jun-21 16:36 
QuestionMatching exact string with a vertical bar and square brackets Pin
RanCohen31-May-21 4:02
RanCohen31-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
RanCohen31-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
RanCohen1-Jun-21 0:20 
QuestionDetect only internal links containing the rel noopener Pin
Member 1519987919-May-21 7:15
Member 1519987919-May-21 7:15 
AnswerRe: Detect only internal links containing the rel noopener Pin
Tony Hill19-May-21 9:53
mveTony Hill19-May-21 9:53 
GeneralRe: Detect only internal links containing the rel noopener Pin
Member 1519987920-May-21 6:24
Member 1519987920-May-21 6:24 
GeneralRe: Detect only internal links containing the rel noopener Pin
Tony Hill20-May-21 10:32
mveTony Hill20-May-21 10:32 
GeneralRe: Detect only internal links containing the rel noopener Pin
Member 1519987921-May-21 0:55
Member 1519987921-May-21 0:55 
GeneralRe: Detect only internal links containing the rel noopener Pin
User 1521787319-Jun-21 19:53
User 1521787319-Jun-21 19:53 
QuestionWhat Could Be RegExp For? Pin
IbnUlAdam16-May-21 23:08
IbnUlAdam16-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 

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.