Hi Andy

I suggest you give several examples of what should be picked up and made
bold, and several of what should not be. Still not clear for me. ;-)

On Mon, 15 May 2023 at 09:19, 'Andy Nickless' via BBEdit Talk <
[email protected]> wrote:

> My grateful thanks to those who have patiently tried to help, but I think
> we're over-complicating it.
> (My apologies once more).
> It occurred to me just now that what I'm looking for, is lines of text and
> digits (but not html) between <p> and the colon:
> Searching for *<p>(\w+):* works well if there are no digits - so how can
> I include text like 22nd, 1st, or even a number on its own (1234 for
> example?).
>
> I try to make my posts clear, but equally, I don't want to bore people
> with excess detail.
>
> On Monday, 15 May 2023 at 07:45:43 UTC+1 Kaveh Bazargan wrote:
>
>> Ah, so no digit dependency at all, right? Does this work:
>>
>> Search: *<p>(.+?):(.+)</p>*
>> replace: *<p><strong>\1</strong>:\2</p>*
>>
>> On Sun, 14 May 2023 at 23:05, 'Andy Nickless' via BBEdit Talk <
>> [email protected]> wrote:
>>
>>> No Kaveh - Unfortunately Fletcher's reply doesn't help.
>>> I'll try to clarify.
>>>
>>> In this case, I want to make *bold* parts of some lines of text which
>>> begin with <p> up to where the bold part will end at a colon (:) Any text
>>> after the colon won't be bold.
>>>
>>> <p>*All this text will be bold, as until the first colon*: The text
>>> after the colon will be normal.</p>
>>>
>>> <p><strong>123</strong>Any lines which begin as this one does, will not
>>> be changed.</p>
>>> (The number being any combination of 1-3 digits).
>>>
>>> I hope that's more clear. Apologies for the lack of clarity.
>>> Andy
>>>
>>> On Sunday, 14 May 2023 at 20:11:38 UTC+1 Kaveh Bazargan wrote:
>>>
>>>> Sorry, still not clear for me. Does Fletcher's answer work?
>>>>
>>>> Are you saying there are specific numbers you do not want to match, say
>>>> <strong>135</strong>
>>>> but ones that you do want to match, say
>>>> <strong>137</strong>
>>>> ?
>>>>
>>>> Otherwise can you explain further?
>>>>
>>>> On Sun, 14 May 2023 at 18:09, 'Andy Nickless' via BBEdit Talk <
>>>> [email protected]> wrote:
>>>>
>>>>> Yes, of course, Kaveh - thanks for your speedy reply - again!
>>>>> I got this the other day (you helped with it) to find a line of text
>>>>> (or text and numbers) which end with a colon and a space -
>>>>> <p>(.+?)\:
>>>>> It's brilliant, but there are occasions when I want to avoid a pattern
>>>>> such as <strong>123</strong>. The number varies, (from 1 to 999) and there
>>>>> may be other numbers, but I want to include those. In other words, avoid
>>>>> lines with numbers within the <strong></strong> tags.
>>>>>
>>>>> At other times, I want to avoid a certain word (or html).
>>>>> I hope that makes sense!
>>>>> Andy
>>>>>
>>>>> On Sunday, 14 May 2023 at 17:57:20 UTC+1 Kaveh Bazargan wrote:
>>>>>
>>>>>> can you give examples of strings you want to match and strings you
>>>>>> don't want to match?
>>>>>>
>>>>>> On Sun, 14 May 2023 at 17:29, 'Andy Nickless' via BBEdit Talk <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Something that I've been unable to find out is how to skip searching
>>>>>>> something which already contains a simple pattern:
>>>>>>> For instance, to find a number consisting 1-3 digits I use (\d{1,3})
>>>>>>> - but how can I AVOID a number of up to 3 digits?
>>>>>>> Thanks in advance -
>>>>>>> Andy
>>>>>>>
>>>>>>> --
>>>>>>> This is the BBEdit Talk public discussion group. If you have a
>>>>>>> feature request or need technical support, please email "
>>>>>>> [email protected]" rather than posting here. Follow @bbedit on
>>>>>>> Twitter: <https://twitter.com/bbedit>
>>>>>>> ---
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "BBEdit Talk" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to [email protected].
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/bbedit/4455d2a7-6efe-4183-903e-ea1baa8e091dn%40googlegroups.com
>>>>>>> <https://groups.google.com/d/msgid/bbedit/4455d2a7-6efe-4183-903e-ea1baa8e091dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Kaveh Bazargan PhD
>>>>>> Director
>>>>>> River Valley Technologies <http://rivervalley.io> ● Twitter
>>>>>> <https://twitter.com/rivervalley1000> ● LinkedIn
>>>>>> <https://www.linkedin.com/in/bazargankaveh/> ● ORCID
>>>>>> <https://orcid.org/0000-0002-1414-9098> ● @[email protected]
>>>>>> <https://mastodon.social/@kaveh1000>
>>>>>> *Accelerating the Communication of Research*
>>>>>>
>>>>>> *
>>>>>> <https://www.linkedin.com/posts/bazargankaveh_ismte-innovation-award-recipient-kaveh-bazargan-activity-7039348552526921728-XAEB/?utm_source=share&utm_medium=member_desktop>
>>>>>>   [image:
>>>>>> https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/]
>>>>>> <https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/>*
>>>>>>
>>>>> --
>>>>> This is the BBEdit Talk public discussion group. If you have a feature
>>>>> request or need technical support, please email "[email protected]"
>>>>> rather than posting here. Follow @bbedit on Twitter: <
>>>>> https://twitter.com/bbedit>
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "BBEdit Talk" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>>
>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/bbedit/1adbf484-f522-457c-ae49-6558ec336b19n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/bbedit/1adbf484-f522-457c-ae49-6558ec336b19n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>
>>>>
>>>> --
>>>> Kaveh Bazargan PhD
>>>> Director
>>>> River Valley Technologies <http://rivervalley.io> ● Twitter
>>>> <https://twitter.com/rivervalley1000> ● LinkedIn
>>>> <https://www.linkedin.com/in/bazargankaveh/> ● ORCID
>>>> <https://orcid.org/0000-0002-1414-9098> ● @[email protected]
>>>> <https://mastodon.social/@kaveh1000>
>>>> *Accelerating the Communication of Research*
>>>>
>>>> *
>>>> <https://www.linkedin.com/posts/bazargankaveh_ismte-innovation-award-recipient-kaveh-bazargan-activity-7039348552526921728-XAEB/?utm_source=share&utm_medium=member_desktop>
>>>>   [image:
>>>> https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/]
>>>> <https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/>*
>>>>
>>> --
>>> This is the BBEdit Talk public discussion group. If you have a feature
>>> request or need technical support, please email "[email protected]"
>>> rather than posting here. Follow @bbedit on Twitter: <
>>> https://twitter.com/bbedit>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BBEdit Talk" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/bbedit/e8c65a54-7efb-44e5-9bbd-06d306f7aa8en%40googlegroups.com
>>> <https://groups.google.com/d/msgid/bbedit/e8c65a54-7efb-44e5-9bbd-06d306f7aa8en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> Kaveh Bazargan PhD
>> Director
>> River Valley Technologies <http://rivervalley.io> ● Twitter
>> <https://twitter.com/rivervalley1000> ● LinkedIn
>> <https://www.linkedin.com/in/bazargankaveh/> ● ORCID
>> <https://orcid.org/0000-0002-1414-9098> ● @[email protected]
>> <https://mastodon.social/@kaveh1000>
>> *Accelerating the Communication of Research*
>>
>> *
>> <https://www.linkedin.com/posts/bazargankaveh_ismte-innovation-award-recipient-kaveh-bazargan-activity-7039348552526921728-XAEB/?utm_source=share&utm_medium=member_desktop>
>>   [image:
>> https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/]
>> <https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/>*
>>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "[email protected]"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/6c97dff0-bc37-4ddf-a5db-fe7c1ca23484n%40googlegroups.com
> <https://groups.google.com/d/msgid/bbedit/6c97dff0-bc37-4ddf-a5db-fe7c1ca23484n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Kaveh Bazargan PhD
Director
River Valley Technologies <http://rivervalley.io> ● Twitter
<https://twitter.com/rivervalley1000> ● LinkedIn
<https://www.linkedin.com/in/bazargankaveh/> ● ORCID
<https://orcid.org/0000-0002-1414-9098> ● @[email protected]
<https://mastodon.social/@kaveh1000>
*Accelerating the Communication of Research*

*
<https://www.linkedin.com/posts/bazargankaveh_ismte-innovation-award-recipient-kaveh-bazargan-activity-7039348552526921728-XAEB/?utm_source=share&utm_medium=member_desktop>
 [image:
https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/]
<https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/>*

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAJ2R9pg6p1dYDzoK%3D7m0F2G_RVVqNw%3DqwDLXm6gTOj%2Bgak8qYQ%40mail.gmail.com.

Reply via email to