Click here to Skip to main content
15,073,040 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: Interrupted list Pin
OriginalGriff14-Jun-21 1:53
mveOriginalGriff14-Jun-21 1:53 
AnswerRe: Interrupted list Pin
User 1521787319-Jun-21 15:36
MemberUser 1521787319-Jun-21 15:36 
QuestionMatching exact string with a vertical bar and square brackets Pin
RanCohen31-May-21 3:02
MemberRanCohen31-May-21 3:02 
AnswerRe: Matching exact string with a vertical bar and square brackets Pin
Richard Deeming31-May-21 22:29
mveRichard Deeming31-May-21 22:29 
GeneralRe: Matching exact string with a vertical bar and square brackets Pin
RanCohen31-May-21 22:47
MemberRanCohen31-May-21 22:47 
GeneralRe: Matching exact string with a vertical bar and square brackets Pin
Richard Deeming31-May-21 23:12
mveRichard Deeming31-May-21 23:12 
GeneralRe: Matching exact string with a vertical bar and square brackets Pin
RanCohen31-May-21 23:20
MemberRanCohen31-May-21 23:20 
QuestionDetect only internal links containing the rel noopener Pin
Member 1519987919-May-21 6:15
MemberMember 1519987919-May-21 6:15 
Hello,
I would like to process a regex to look for only the internal links containing the rel="noopener"
For example search for this link:
HTML
<a href="https://www.linkinterno.it/2018/10/titolo/" target="_blank" rel="noopener"> anchor text </a>

In this case the regex should be:
HTML
href="https://www.linkinterno.it(.*?)rel="noopener"

and it should work as I checked it with the following regex test:
https://www.freeformatter.com/regex-tester.html

However, I am not looking for internal links correctly, only those with rel="noopener". How can I solve?

Thank you Wink | ;)
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
User 1521787319-Jun-21 18:53
MemberUser 1521787319-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 
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 

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.