Glad it worked Dennis. As long as the punishment resulting from my good
deed is carried out by you, I am ok with it. ;-)

Seriously, feel free to come back on list or even directly for any more
help. You might find *regex101* useful. Great interactive sandbox. (I
know BBEdit has great sandbox too but I have not used it).

You can save pages and go back. e.g. see this
<https://regex101.com/r/pUgvcQ/1> page with your example

Regards
Kaveh

On Wed, 22 Sept 2021 at 15:45, D O <[email protected]> wrote:

> Hi Kaveh
> Thanks for your reply - I got it to work.
> I appreciate the help.
>
> As no good deed goes unpunished I am going to dig into Grep to sort out
> the rest of these files.
>
> Thanks
> Dennis
>
>
> On Tue, Sep 21, 2021 at 2:45 PM Kaveh <[email protected]>
> wrote:
>
>> Hi
>>
>> Please try this:
>>
>> </.+?>
>>
>> ensure "grep" is switched on. This searches for the shortest match for:
>>
>> </ any number of characters >
>>
>> . means any char
>> + means one or more
>> ? means shortest match, else it might find a >< within the match
>>
>> On Tue, 21 Sept 2021 at 21:22, D O <[email protected]> wrote:
>>
>>> I have a bunch of file that were formatted incorrectly
>>> So I have terms like this
>>>
>>> </SerCPU>
>>> </ShoeType>
>>>
>>> I want to find them and eliminate them
>>> I just don't get the wild cards to work
>>>
>>> If I search </*>  or - should this not return both of the above ?
>>>
>>> I really don't get this -
>>>
>>> --
>>> 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/152fae56-1dbe-4d68-9d82-564745e93484n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/bbedit/152fae56-1dbe-4d68-9d82-564745e93484n%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>
>> *Accelerating the Communication of Research*
>>
>> --
>> 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 a topic in the
>> Google Groups "BBEdit Talk" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/bbedit/cgnopswrob0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/bbedit/CAJ2R9pjy%2BhLUTqMRXW-24TyN0he%2BdZe_pMXPTXvQX0m_Z1rhyA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/bbedit/CAJ2R9pjy%2BhLUTqMRXW-24TyN0he%2BdZe_pMXPTXvQX0m_Z1rhyA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAG7NB9OYXdxGu8kgPw0SebLC%3DbgNM9GrFAsFXUuNosffYn3pyg%40mail.gmail.com
> <https://groups.google.com/d/msgid/bbedit/CAG7NB9OYXdxGu8kgPw0SebLC%3DbgNM9GrFAsFXUuNosffYn3pyg%40mail.gmail.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>
*Accelerating the Communication of Research*

-- 
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/CAJ2R9pgeph2bZhzdiwY%3DN57V6m9o8jPr5Qh%3D1irn7SHbbzgdvg%40mail.gmail.com.

Reply via email to