<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>body{font-family:Helvetica,Arial;font-size:13px}</style>
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
Hello Bernhard,</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br>
</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
that works w/o problems, if you mask the brackets during search and group the string you need in the replace, like:</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br>
</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
Find:<span class="Apple-tab-span" style="white-space:pre"> </span><span style="font-family: Helvetica; font-size: 12px;">\\citep\{(.*)\}</span></div>
<div><span style="font-family: Helvetica; font-size: 12px;">Replace<span class="Apple-tab-span" style="white-space:pre">
</span> </span><span style="font-family: Helvetica; font-size: 12px;"><citation><biblioref linkend="$1"/></citation></span></div>
<div><span style="font-family: Helvetica; font-size: 12px;"><br>
</span></div>
<div><span style="font-family: Helvetica; font-size: 12px;">Greetings,</span></div>
<div>Franz-Josef</div>
<div><span style="font-family: Helvetica; font-size: 12px;"><br>
</span></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br>
</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<img src="cid:9EC27951-5195-43D1-96A6-4A873D8FDD2D"></div>
<br>
<div id="bloop_sign_1507186849189693952" class="bloop_sign"></div>
<img src="cid:72C1CA44-3658-4701-9D8B-A8D128EF3208"><br>
<p class="airmail_on">Am 5. Oktober 2017 um 06:39:14, Bernhard Kleine (<a href="mailto:bernhard.kleine@gmx.net">bernhard.kleine@gmx.net</a>) schrieb:</p>
<blockquote type="cite" class="clean_bq"><span>
<div>
<div></div>
<div>Hi, <br>
<br>
while porting from LaTeX to docbook5 I encounter numerous cases where a <br>
regular expression search and replace would be extremely helpfull. E.g. <br>
I have a citation as \citep{ABC65}. This should become <br>
<citation><biblioref linkend="ABC65"/></citation>. <br>
<br>
Is that possible in oxygen and how to achieve it? <br>
<br>
Regards <br>
<br>
Bernhard Kleine <br>
<br>
-- <br>
spitzhalde9 <br>
D-79853 lenzkirch <br>
bernhard.kleine@gmx.net <br>
www.b-kleine.com, www.urseetal.net <br>
- <br>
thunderbird mit enigmail <br>
GPG schlüssel: D5257409 <br>
fingerprint: <br>
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09 <br>
<br>
<br>
_______________________________________________<br>
oXygen-user mailing list<br>
oXygen-user@oxygenxml.com<br>
https://www.oxygenxml.com/mailman/listinfo/oxygen-user<br>
</div>
</div>
</span></blockquote>

<P style="FONT-SIZE: 10pt; FONT-FAMILY: ARIAL"><BR></P>
<HR>

<P style="FONT-SIZE: 10pt; FONT-FAMILY: ARIAL"><B><FONT color=#006600 size=3 
face=Arial>AKG Software</FONT> <FONT color=#727272><SPAN 
style="FONT-SIZE: 12pt">Consulting GmbH</SPAN></FONT><BR><FONT color=#000000 
size=3 face=Arial> Franz-Josef Knelangen</FONT></B><BR><B><FONT color=#7f7f7f 
size=2 face=Arial></FONT></B><BR><BR><FONT color=#7f7f7f size=2 
face=Arial>Uhlandstra&#xDF;e 12<BR>79423 Heitersheim<BR>Germany</FONT><BR><BR><FONT 
color=#7f7f7f size=2 face=Arial>Tel.: +49 (0)7634 5612-611<BR>Fax: +49 (0)7634 5612-300<BR>E-Mail: 
<U>fjk@akgsoftware.de</U> <BR>Internet: <A 
href="http://www.akgsoftware.de">www.akgsoftware.de</A></FONT><BR><BR><FONT 
color=#7f7f7f size=2 face=Arial>Gesch&#xE4;ftsf&#xFC;hrer: Dipl.-Ing. Artur K. G&#xFC;nther, 
Dipl.-Ing. Arno Br&#xFC;ggemann, Dipl.-Ing. (FH) Bernhard Feser, Dipl.-Ing. Jens 
G&#xFC;nther <BR>Sitz der Gesellschaft: Heitersheim, HRB 310383 (Amtsgericht 
Freiburg)</FONT><BR><BR></P></body>
</html>