I have this lines with regex expressions, separated by |
, by type Regex_A|Regex_B
(?s)((^.*)(<div class="entry-excerpt">)|(<!-- //.entry -->)(.*$))
(?s)((^.*)(<ul class="smallThumb-mainList">)|(<div class="navig">)(.*$))
(?s)((^.*)(word_2)|(<!-- //.entry -->)(.*$))
(?s)((^.*)(word_2)|(<!-- //.ambro34 -->)(.*$))
I want to find all those words\regex that are repeated before | and those that repeats after |
I try a regex, but doesn’t work too good: (?m)(.*)^(.*)\|(.*)(?=.*\1)
Help, please.