<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI Emoji";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
p.airmailon, li.airmailon, div.airmailon
        {mso-style-name:airmail_on;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.E-MailFormatvorlage22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-US">The *<b>real</b>* expert was quicker
</span><span style="font-family:"Segoe UI Emoji",sans-serif;color:windowtext;mso-fareast-language:EN-US">😊</span><span style="color:windowtext;mso-fareast-language:EN-US">
</span><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-US">– you find him in the imprint of nearly every converted eBook.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>

<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><div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:windowtext">Von:</span></b><span style="color:windowtext"> oXygen-user [mailto:oxygen-user-bounces@oxygenxml.com]
<b>Im Auftrag von </b>Bernhard Kleine<br>
<b>Gesendet:</b> Donnerstag, 5. </span><span lang="EN-US" style="color:windowtext">Oktober 2017 11:28<br>
<b>An:</b> oxygen-user@oxygenxml.com<br>
<b>Betreff:</b> Re: [oXygen-user] Search and Replace with regular expression<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US">Many thanks for this, Franz-Josef.<o:p></o:p></span></p>
<p><span lang="EN-US">since you are seemingly an expert I would also like to know<o:p></o:p></span></p>
<p><span lang="EN-US">how \index{Nerven>splanchnische} will become<o:p></o:p></span></p>
<p><span lang="EN-US"><indexterm><primary>Nerven</primary><secondary>splanchnische</secondary></indexterm>,<o:p></o:p></span></p>
<p><span lang="EN-US">a two parameter search<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">Merci vielmals in advance<br>
<br>
Bernhard<o:p></o:p></span></p>
<div>
<p class="MsoNormal">Am 05.10.2017 um 09:05 schrieb Franz-Josef Knelangen:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div id="bloop_customfont">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica",sans-serif">Hello Bernhard,<o:p></o:p></span></p>
</div>
<div id="bloop_customfont">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica",sans-serif"><o:p> </o:p></span></p>
</div>
<div id="bloop_customfont">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica",sans-serif">that works w/o problems, if you mask the brackets during search and group the string you need in the replace, like:<o:p></o:p></span></p>
</div>
<div id="bloop_customfont">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica",sans-serif"><o:p> </o:p></span></p>
</div>
<div id="bloop_customfont">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica",sans-serif">Find:<span class="apple-tab-span">
</span></span><a href="file://citep/%7b(.*)/%7d"><span lang="EN-US" style="font-size:9.0pt;font-family:"Helvetica",sans-serif">\\citep\{(.*)\}</span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica",sans-serif"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Helvetica",sans-serif">Replace</span><span class="apple-tab-span"><span style="font-size:9.0pt"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Helvetica",sans-serif"> <citation><biblioref linkend="$1"/></citation></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif">Greetings,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Franz-Josef<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="bloop_customfont">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif"><o:p> </o:p></span></p>
</div>
<div id="bloop_customfont">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif"><img border="0" width="883" height="630" style="width:9.1979in;height:6.5625in" id="Bild_x0020_1" src="cid:image001.png@01D33DD0.C82890F0" alt="cid:image001.png@01D33DD0.C82890F0"></span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><br>
<img border="0" width="883" height="630" style="width:9.1979in;height:6.5625in" id="Bild_x0020_2" src="cid:image002.png@01D33DD0.C82890F0" alt="cid:image002.png@01D33DD0.C82890F0"><o:p></o:p></p>
<p class="airmailon">Am 5. Oktober 2017 um 06:39:14, Bernhard Kleine (<a href="mailto:bernhard.kleine@gmx.net">bernhard.kleine@gmx.net</a>) schrieb:<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">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>
</span>Regards <br>
<br>
Bernhard Kleine <br>
<br>
-- <br>
spitzhalde9 <br>
D-79853 lenzkirch <br>
<a href="mailto:bernhard.kleine@gmx.net">bernhard.kleine@gmx.net</a> <br>
<a href="http://www.b-kleine.com">www.b-kleine.com</a>, <a href="http://www.urseetal.net">
www.urseetal.net</a> <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>
<a href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a><br>
<a href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><o:p></o:p></p>
</div>
</div>
</blockquote>
<p><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#006600">AKG Software</span></b><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif">
</span></b><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#727272">Consulting GmbH</span></b><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
</span></b><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif">Franz-Josef Knelangen</span></b><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
<br>
<br>
<span style="color:#7F7F7F">Uhlandstraße 12<br>
79423 Heitersheim<br>
Germany</span><br>
<br>
<span style="color:#7F7F7F">Tel.: +49 (0)7634 5612-611<br>
Fax: +49 (0)7634 5612-300<br>
E-Mail: </span></span><a href="mailto:fjk@akgsoftware.de"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">fjk@akgsoftware.de</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">
<br>
Internet: </span><a href="http://www.akgsoftware.de"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">www.akgsoftware.de</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
<br>
<span style="color:#7F7F7F">Geschäftsführer: Dipl.-Ing. Artur K. Günther, Dipl.-Ing. Arno Brüggemann, Dipl.-Ing. (FH) Bernhard Feser, Dipl.-Ing. Jens Günther
<br>
Sitz der Gesellschaft: Heitersheim, HRB 310383 (Amtsgericht Freiburg)</span><o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>spitzhalde9<o:p></o:p></pre>
<pre>D-79853 lenzkirch<o:p></o:p></pre>
<pre><a href="mailto:bernhard.kleine@gmx.net">bernhard.kleine@gmx.net</a><o:p></o:p></pre>
<pre><a href="http://www.b-kleine.com">www.b-kleine.com</a>, <a href="http://www.urseetal.net">www.urseetal.net</a><o:p></o:p></pre>
<pre>-<o:p></o:p></pre>
<pre>thunderbird mit enigmail<o:p></o:p></pre>
<pre>GPG schlüssel: D5257409<o:p></o:p></pre>
<pre><span lang="EN-US">fingerprint:<o:p></o:p></span></pre>
<pre><span lang="EN-US">08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09<o:p></o:p></span></pre>
</div>
</body>
</html>