Wikipedia talk:AutoWikiBrowser/Regular expression: Difference between revisions
Content deleted Content added
Kwamikagami (talk | contribs) |
→How do I add a line break: new section |
||
Line 64:
::::Okay. Thanks. — [[User:Kwamikagami|kwami]] ([[User talk:Kwamikagami|talk]]) 03:26, 27 February 2012 (UTC)
== How do I add a line break ==
For example using the expression: (\[\[..:.*\]\])(\[\[..:.*\]\]) or for that matter any expression:
<pre>(Capture group1)(Capture group2)</pre>
and transform into:
<pre>
(Capture group1)
(Capture group2)
</pre>
I.e. what should I place between $1 and $2 ? and I dont want to place <br/> as I want the effect to be shown in te editor. I tried the documented \n but it doesnt seem to work it just place the text \n betwen the two parts. --[[Special:Contributions/79.183.192.85|79.183.192.85]] ([[User talk:79.183.192.85|talk]]) 03:50, 20 May 2012 (UTC)
|