Click here to Skip to main content
15,794,475 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: Match if token exists only power of n times; Match if length of string is power of n Pin
Member 1556219611-Mar-22 3:23
Member 1556219611-Mar-22 3:23 
Questionregex for one Capital Pin
Member 140883235-Mar-22 11:01
Member 140883235-Mar-22 11:01 
AnswerRe: regex for one Capital Pin
OriginalGriff5-Mar-22 11:09
mvaOriginalGriff5-Mar-22 11:09 
GeneralRe: regex for one Capital Pin
Member 140883235-Mar-22 11:22
Member 140883235-Mar-22 11:22 
GeneralRe: regex for one Capital Pin
OriginalGriff5-Mar-22 21:20
mvaOriginalGriff5-Mar-22 21:20 
GeneralRe: regex for one Capital Pin
Richard Andrew x646-Mar-22 5:41
professionalRichard Andrew x646-Mar-22 5:41 
GeneralRe: regex for one Capital Pin
OriginalGriff6-Mar-22 6:38
mvaOriginalGriff6-Mar-22 6:38 
QuestionRegex with condition? Should be easy Pin
Cp Divers21-Feb-22 5:44
Cp Divers21-Feb-22 5:44 
Hello,

I have not worked. with regex for a long time, and I m sure I forgot something simple

In the list below

12334p4p
2345stk
5643stk43
1234db43
1234a1
1234a

I want to capture the first 4 items because the logic to NOT capture is:
Start with 1 to 8 digits
Should have 1 to 3 letters AND 2 or more digit again

I do not want to get the 2 last entries because it finishes with a single letter OR a single letter and a single digit. In other word, if it does finish with 1 letter only OR 1 letter and 1 digit, I do not want to return it

Thank you guys, I'm sure this one is easy !

modified 22-Feb-22 10:08am.

QuestionRe: Regex with condition? Should be easy Pin
Eddy Vluggen21-Feb-22 10:48
professionalEddy Vluggen21-Feb-22 10:48 
AnswerRe: Regex with condition? Should be easy Pin
Peter_in_278021-Feb-22 13:35
professionalPeter_in_278021-Feb-22 13:35 
QuestionRe: Regex with condition? Should be easy Pin
Richard MacCutchan21-Feb-22 22:10
mveRichard MacCutchan21-Feb-22 22:10 
AnswerRe: Regex with condition? Should be easy Pin
Peter_in_278022-Feb-22 0:03
professionalPeter_in_278022-Feb-22 0:03 
GeneralRe: Regex with condition? Should be easy Pin
Richard MacCutchan23-Feb-22 4:03
mveRichard MacCutchan23-Feb-22 4:03 
GeneralRe: Regex with condition? Should be easy Pin
Peter_in_278023-Feb-22 14:42
professionalPeter_in_278023-Feb-22 14:42 
GeneralRe: Regex with condition? Should be easy Pin
Cp Divers22-Feb-22 5:06
Cp Divers22-Feb-22 5:06 
GeneralRe: Regex with condition? Should be easy Pin
Peter_in_278022-Feb-22 13:40
professionalPeter_in_278022-Feb-22 13:40 
Question06h36m03s to 06h36.1, etc., in filename via regex? Pin
Member 148351468-Feb-22 11:02
Member 148351468-Feb-22 11:02 
AnswerRe: 06h36m03s to 06h36.1, etc., in filename via regex? Pin
Richard Deeming8-Feb-22 23:12
mveRichard Deeming8-Feb-22 23:12 
GeneralRe: 06h36m03s to 06h36.1, etc., in filename via regex? Pin
Member 148351467-Mar-22 22:52
Member 148351467-Mar-22 22:52 
AnswerRe: 06h36m03s to 06h36.1, etc., in filename via regex? Pin
RedDk8-Mar-22 9:18
RedDk8-Mar-22 9:18 
QuestionUse content of a database field in RegEx Pin
John Bradford 202227-Jan-22 8:31
John Bradford 202227-Jan-22 8:31 
AnswerRe: Matching a unknown range of lines Pin
Pete O'Hanlon18-Jan-22 23:37
subeditorPete O'Hanlon18-Jan-22 23:37 
Questionregex related query Pin
Member 154859391-Jan-22 9:23
Member 154859391-Jan-22 9:23 
AnswerRe: regex related query Pin
Gerry Schmitz1-Jan-22 9:45
mveGerry Schmitz1-Jan-22 9:45 
QuestionFind and Replace starting... until Pin
Roland Plomp31-Dec-21 5:11
Roland Plomp31-Dec-21 5:11 

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.