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 < bbedit@googlegroups.com> 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 < >> bbe...@googlegroups.com> 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 "sup...@barebones.com" >>> 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 bbedit+un...@googlegroups.com. >>> 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> ● @kave...@mastodon.social >> <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 "supp...@barebones.com" > 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 bbedit+unsubscr...@googlegroups.com. > 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> ● @kaveh1000@mastodon.social <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 "supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CAJ2R9pgngkU1CLc0-%2Bn9XfaNt4ptpCggZAtd%3Dseud-imJv5%2B8w%40mail.gmail.com.