Click here to Skip to main content
14,979,301 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
QuestionDetect only internal links containing the rel noopener Pin
Member 1519987919-May-21 6:15
MemberMember 1519987919-May-21 6:15 
AnswerRe: Detect only internal links containing the rel noopener Pin
Tony Hill19-May-21 8:53
MemberTony Hill19-May-21 8:53 
GeneralRe: Detect only internal links containing the rel noopener Pin
Member 1519987920-May-21 5:24
MemberMember 1519987920-May-21 5:24 
GeneralRe: Detect only internal links containing the rel noopener Pin
Tony Hill20-May-21 9:32
MemberTony Hill20-May-21 9:32 
GeneralRe: Detect only internal links containing the rel noopener Pin
Member 1519987920-May-21 23:55
MemberMember 1519987920-May-21 23:55 
GeneralRe: Detect only internal links containing the rel noopener Pin
Luuk200519-Jun-21 18:53
MemberLuuk200519-Jun-21 18:53 
QuestionWhat Could Be RegExp For? Pin
IbnUlAdam16-May-21 22:08
MemberIbnUlAdam16-May-21 22:08 
AnswerRe: What Could Be RegExp For? Pin
Peter_in_278016-May-21 22:57
professionalPeter_in_278016-May-21 22:57 
The \s+ in that regex will only match a single string of one or more consecutive whitespace characters, not "all spaces"
So your regex would match "This test" or "This      test" but not "This is testing"

There are lots of online regex builders and analysers, which I suggest you seek out.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

QuestionRegex to detect href not correctly closed Pin
Member 1519987914-May-21 8:36
MemberMember 1519987914-May-21 8:36 
AnswerRe: Regex to detect href not correctly closed Pin
Richard Deeming18-May-21 3:46
mveRichard Deeming18-May-21 3:46 
GeneralRe: Regex to detect href not correctly closed Pin
Member 1519987919-May-21 5:52
MemberMember 1519987919-May-21 5:52 
Questionworkaround for negative lookbehind regular expression in Javascript Pin
Ehsan sarshar26-Apr-21 6:27
MemberEhsan sarshar26-Apr-21 6:27 
AnswerRe: workaround for negative lookbehind regular expression in Javascript Pin
Richard Deeming26-Apr-21 6:39
mveRichard Deeming26-Apr-21 6:39 
AnswerRe: workaround for negative lookbehind regular expression in Javascript Pin
Pete O'Hanlon26-Apr-21 21:08
mvePete O'Hanlon26-Apr-21 21:08 
QuestionRegex for a Customer number Pin
poornima sadasivan30-Mar-21 4:11
Memberpoornima sadasivan30-Mar-21 4:11 
AnswerRe: Regex for a Customer number Pin
SeanChupas30-Mar-21 5:27
MemberSeanChupas30-Mar-21 5:27 
AnswerRe: Regex for a Customer number Pin
jschell9-Apr-21 15:21
Memberjschell9-Apr-21 15:21 
QuestionIgnoring repeating values? Pin
Jason Hotchkiss 202124-Mar-21 8:17
MemberJason Hotchkiss 202124-Mar-21 8:17 
AnswerRe: Ignoring repeating values? Pin
w 3g24-Mar-21 10:45
Memberw 3g24-Mar-21 10:45 
GeneralRe: Ignoring repeating values? Pin
Jason Hotchkiss 202125-Mar-21 1:06
MemberJason Hotchkiss 202125-Mar-21 1:06 
QuestionReplace certain characters in part of string? Pin
w 3g22-Mar-21 1:54
Memberw 3g22-Mar-21 1:54 
AnswerRe: Replace certain characters in part of string? Pin
Richard Deeming22-Mar-21 2:08
mveRichard Deeming22-Mar-21 2:08 
GeneralRe: Replace certain characters in part of string? Pin
w 3g22-Mar-21 23:38
Memberw 3g22-Mar-21 23:38 
GeneralRe: Replace certain characters in part of string? Pin
Richard Deeming22-Mar-21 23:49
mveRichard Deeming22-Mar-21 23:49 
GeneralRe: Replace certain characters in part of string? Pin
w 3g23-Mar-21 0:21
Memberw 3g23-Mar-21 0:21 

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.