Difference between revisions of "Template:ExtractLinks"

From Culture.si
 
(One intermediate revision by the same user 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