<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Masamitsu,</p>
<p>I'm afraid I do not have a good idea about how to do this.</p>
<p>Indeed with a regexp expression you can select the entire text:</p>
<p>(1), (2), and (3)terminal</p>
<p>but I have no solution for the situation in which you want the
Find Next to find sequentially (1), (2) and (3).<br>
</p>
<p>Regards,</p>
<p>Radu</p>
<pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
<div class="moz-cite-prefix">On 1/28/21 05:39, 一木 雅光 wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANbcu7EhwRW88J+0ikOzcPQuk5SsasRhvxJGDS-r4qT+WumoKg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Dear Radu Coravu, </div>
<div><br>
</div>
<div>I do apologize for my unclear explanation. </div>
<div>Naoki Hirai has corrected my regular expressions, but
reached a conclusion that what I wanted to find was not
realistic. </div>
<div><br>
</div>
<div>But if you have any idea, please let me know. <br>
</div>
<div><br>
</div>
<div><b>Corrected regular expression: </b></div>
<div> \([\d|a-z|A-Z]+?\)|\)[\d|a-z|A-Z]<br>
<br>
<b>What I wanted to find: </b></div>
<div>Example sentence: (1), (2), and (3)terminal</div>
<div>Find "(1)" "(2)" "(3)" and ")t" everytime pressing
[next]. </div>
<div><br>
</div>
<div>Thank you. </div>
<div>Regards, </div>
<div>Masamitsu Ichiki</div>
<br clear="all">
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr" style="color:rgb(34,34,34)"><font
face="arial narrow, sans-serif"><font size="1"
color="#999999">■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■</font><br>
</font></div>
<div dir="ltr" style="color:rgb(34,34,34)"><font size="1"
face="arial narrow, sans-serif" color="#000000">
クボタエイトサービス株式会社 オフィス情報サービス本部 </font></div>
<div dir="ltr" style="color:rgb(34,34,34)"><font size="1"
face="arial narrow, sans-serif" color="#000000"> 堺CAEセンター
一木 雅光 <a href="mailto:masamitsu.ichiki@kubota.com"
rel="noreferrer" style="color:rgb(17,85,204)"
target="_blank" moz-do-not-send="true">masamitsu.ichiki@kubota.com</a></font></div>
<div dir="ltr" style="color:rgb(34,34,34)"><font size="1"
face="arial narrow, sans-serif" color="#000000">
〒590-0806 大阪府堺市堺区緑ヶ丘北町1-1-36 クボタサービスセンター</font>
<div><span style="font-family:"arial
narrow",sans-serif;font-size:x-small"><font
color="#999999">■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■</font></span></div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">2021年1月28日(木) 9:24 一木 雅光 <<a
href="mailto:masamitsu.ichiki@kubota.com"
moz-do-not-send="true">masamitsu.ichiki@kubota.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Dear Radu Coravu,
<div><br>
</div>
<div>Thank you so much for helping us all the time. </div>
<div><br>
</div>
<div>Today, I am writing an email to ask you for any
solutions regarding Find/Replace. </div>
<div><br>
Question: </div>
<div>If I would like to find these sets at a time (not
separately), how will the search settings be? </div>
<div>
<ul>
<li>Numbers with brackets on both sides, such as <font
color="#ff0000">(1), (2)... (99)</font><br>
<img src="cid:part3.4ED52E85.F49E2453@oxygenxml.com"
alt="image.png" style="margin-right: 0px;" class=""
width="188" height="186"><br>
By using "\(\d.?\)", I could highlight what I wanted. <br>
<br>
</li>
<li>No spacing after ")", such as "(3<font
color="#ff0000">)t</font>erminal"<br>
<img src="cid:part4.677E9658.34FE32E2@oxygenxml.com"
alt="image.png" style="margin-right: 0px;" class=""
width="188" height="186"><br>
By using "\)[0-9a-zA-Z]", I could highlight what I
wanted. <br>
<br>
</li>
<li>Numbers with brackets and missing a space after
closing brackets, such as "<font color="#ff0000">(1),
(2)</font> and (3<font color="#ff0000">)t</font>erminal"<br>
<img src="cid:part5.AB479261.25758BF8@oxygenxml.com"
alt="image.png" style="margin-right: 0px;" class=""
width="188" height="186"><br>
(1), (2) and (3) are highlighted but not ")t". </li>
</ul>
</div>
<div>Thank you for helping us and we await your response. </div>
<div><br>
</div>
<div>Yours sincerely,<br>
Masamitsu Ichiki<br>
</div>
<div><br>
</div>
<div> <br clear="all">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr" style="color:rgb(34,34,34)"><font
face="arial narrow, sans-serif"><font size="1"
color="#999999">■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■</font><br>
</font></div>
<div dir="ltr" style="color:rgb(34,34,34)"><font
size="1" face="arial narrow, sans-serif"
color="#000000"> クボタエイトサービス株式会社 オフィス情報サービス本部 </font></div>
<div dir="ltr" style="color:rgb(34,34,34)"><font
size="1" face="arial narrow, sans-serif"
color="#000000"> 堺CAEセンター 一木 雅光 <a
href="mailto:masamitsu.ichiki@kubota.com"
rel="noreferrer" style="color:rgb(17,85,204)"
target="_blank" moz-do-not-send="true">masamitsu.ichiki@kubota.com</a></font></div>
<div dir="ltr" style="color:rgb(34,34,34)"><font
size="1" face="arial narrow, sans-serif"
color="#000000"> 〒590-0806 大阪府堺市堺区緑ヶ丘北町1-1-36
クボタサービスセンター</font>
<div><span style="font-family:"arial
narrow",sans-serif;font-size:x-small"><font
color="#999999">■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■</font></span></div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">2020年11月17日(火) 16:13 一木
雅光 <<a href="mailto:masamitsu.ichiki@kubota.com"
target="_blank" moz-do-not-send="true">masamitsu.ichiki@kubota.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">Dear Radu Coravu, </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Thank you so much for your reply. </div>
<div dir="ltr">Your clear explanation helped me
understand how it works and what to do to find
things or letters at the beginning and the end
of block elements (same as external tags?). </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">
<div><img
src="cid:part8.786D2F25.99A26A70@oxygenxml.com"
alt="image.png" class="" width="547"
height="513"><br>
</div>
</div>
<div dir="ltr"><br>
</div>
<div>Once again, thank you for your help. </div>
<div><br>
</div>
<div>Regards, <br>
Masamitsu Ichiki</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br clear="all">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr" style="color:rgb(34,34,34)"><font
face="arial narrow, sans-serif"><font
size="1" color="#999999">■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■</font><br>
</font></div>
<div dir="ltr" style="color:rgb(34,34,34)"><font
size="1" face="arial narrow, sans-serif"
color="#000000"> クボタエイトサービス株式会社
オフィス情報サービス本部 </font></div>
<div dir="ltr" style="color:rgb(34,34,34)"><font
size="1" face="arial narrow, sans-serif"
color="#000000"> 堺CAEセンター 一木 雅光 <a
href="mailto:masamitsu.ichiki@kubota.com"
rel="noreferrer"
style="color:rgb(17,85,204)"
target="_blank" moz-do-not-send="true">masamitsu.ichiki@kubota.com</a></font></div>
<div dir="ltr" style="color:rgb(34,34,34)"><font
size="1" face="arial narrow, sans-serif"
color="#000000"> 〒590-0806
大阪府堺市堺区緑ヶ丘北町1-1-36 クボタサービスセンター</font>
<div><span style="font-family:"arial
narrow",sans-serif;font-size:x-small"><font
color="#999999">■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■</font></span></div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">2020年11月17日(火)
14:34 Radu Coravu <<a
href="mailto:support@oxygenxml.com"
target="_blank" moz-do-not-send="true">support@oxygenxml.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<p>Dear Masamitsu Ichiki,</p>
<p>Thank you for contacting us.</p>
<p>I searched for your initial email but could
not find it in our email system, sorry about
this, it probably got lost somehow. So I'm
glad you wrote to us again.</p>
<p>In a document opened in the Author visual
editing mode there are inline elements like
the DITA <b> and <i> and block
elements like <p>. When you search
content the inline elements are transparent
and their text is considered to be part of the
parent paragraph. But block elements
contribute special hidden characters with the
digital value "0" corresponding to their start
and end.</p>
<p>So for what you want you can search using
this regexp "\00-\00", it means find a "-"
between two "0" special characters which mark
a block element. You can also use the "XPath"
filter with an expression like "//p" to focus
only on DITA <p> elements.</p>
<p>I added an internal issue to see if we can
make the original expression you tried "^-$"
work also for such situation.<br>
</p>
<p>Regards,</p>
<p>Radu<br>
</p>
<pre cols="72">Radu Coravu
Oxygen XML Editor</pre>
<p>On 11/17/20 6:15 AM, 一木 雅光 wrote:<br>
</p>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">Dear Sir or Madam, </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">My name is Masamitsu Ichiki
and I am writing to you again (to a
different email address) since there has
been no reply from you for days. <br>
</div>
<div><br>
</div>
<div>Would you please help me find "a text
which contains only '-' between a pair of
<p> tags? "</div>
<div>Please refer to my previous email for
more information. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I look forward to hearing
from you soon.<br>
Yours sincerely,<br>
<br>
Masamitsu Ichiki <br clear="all">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"
style="color:rgb(34,34,34)"><font
face="arial narrow, sans-serif"><font
size="1" color="#999999">■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■</font><br>
</font></div>
<div dir="ltr"
style="color:rgb(34,34,34)"><font
size="1" face="arial narrow,
sans-serif" color="#000000">
クボタエイトサービス株式会社 オフィス情報サービス本部 </font></div>
<div dir="ltr"
style="color:rgb(34,34,34)"><font
size="1" face="arial narrow,
sans-serif" color="#000000"> 堺CAEセンター
一木 雅光 <a
href="mailto:masamitsu.ichiki@kubota.com"
rel="noreferrer"
style="color:rgb(17,85,204)"
target="_blank"
moz-do-not-send="true">masamitsu.ichiki@kubota.com</a></font></div>
<div dir="ltr"
style="color:rgb(34,34,34)"><font
size="1" face="arial narrow,
sans-serif" color="#000000">
〒590-0806 大阪府堺市堺区緑ヶ丘北町1-1-36
クボタサービスセンター</font>
<div><span><font color="#999999">■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■</font></span></div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">2020年11月13日(金)
13:41 一木 雅光 <<a
href="mailto:masamitsu.ichiki@kubota.com"
target="_blank" moz-do-not-send="true">masamitsu.ichiki@kubota.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Dear Sir or Madam,<br>
<br>
My name is Masamitsu Ichiki and I am
writing to you from Japan.<br>
<br>
<div>I have a question about regular
expression search regarding your
product, Oxygen.
<div><b>How can I find a text which
contains only "-" between a pair
of <p> tags? <br>
</b></div>
<div>
<div><img
src="cid:part13.1B8B4AB7.92AAE2AE@oxygenxml.com"
alt="image.png" class=""
width="52" height="25"><br>
</div>
</div>
<div><br>
</div>
<div>I have tried these
regular expressions as follows,
but none of them could hit for
the search. </div>
<div>
<ul>
<li>^\-$</li>
<li>^-$</li>
<li>^\-</li>
<li>\-$</li>
</ul>
</div>
<div>
<div>Search settings are shown as
below. </div>
<div><img
src="cid:part14.8367A0B4.2142131B@oxygenxml.com"
alt="image.png" class=""
width="469" height="444"><br>
</div>
</div>
<div><br>
</div>
<div>As either "-" or "\-" hits the
search, it seems start (^) and end
($) are not working properly. </div>
<div><br>
</div>
<div>For your information, I am
searching the hyphen on a Author
mode, not Text mode, and I would
like to know the way to find - on
the Author mode. </div>
<div>
<div><img
src="cid:part15.3F364CDF.92041FED@oxygenxml.com"
alt="image.png" class=""
width="470" height="404"><br>
</div>
</div>
<div><br>
</div>
<div>I look forward to hearing from
you soon.<br>
Yours sincerely,<br>
<br>
Masamitsu Ichiki<br clear="all">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"
style="color:rgb(34,34,34)"><font
face="arial narrow,
sans-serif"><font
size="1"
color="#999999">■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■</font><br>
</font></div>
<div dir="ltr"
style="color:rgb(34,34,34)"><font
size="1" face="arial
narrow, sans-serif"
color="#000000">
クボタエイトサービス株式会社
オフィス情報サービス本部 </font></div>
<div dir="ltr"
style="color:rgb(34,34,34)"><font
size="1" face="arial
narrow, sans-serif"
color="#000000"> 堺CAEセンター
一木 雅光 <a
href="mailto:masamitsu.ichiki@kubota.com"
rel="noreferrer"
style="color:rgb(17,85,204)"
target="_blank"
moz-do-not-send="true">masamitsu.ichiki@kubota.com</a></font></div>
<div dir="ltr"
style="color:rgb(34,34,34)"><font
size="1" face="arial
narrow, sans-serif"
color="#000000">
〒590-0806
大阪府堺市堺区緑ヶ丘北町1-1-36
クボタサービスセンター</font>
<div><span><font
color="#999999">■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■ □ ■</font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>