Difference between revisions of "Template:ExtractLinks"

From Culture.si
m (1 revision: import dev changes)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#arr:split|{{#str:replace|{{{text|{{{1}}}}}}|^.*?\[\[(.*)\]\].*?$|$1}}|(\{{!}}[^[]*)?]].*?\[\[}}
+
{{#arr:split|{{#str:replace|{{{text|{{{1}}}}}}|.*?\[\[([^\|\]]*).*?\]\]|$1\n}}|\n}}

Latest revision as of 19:13, 28 June 2017

7d2c6950146e25826baa205158191328