Difference between revisions of "Template:ExtractLinks"

From Culture.si
m (1 revision: import dev changes)
 
(3 intermediate revisions by 3 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

22ad62be8055dd98cc26521f816e0a08