Yes simple when you know how! Sorry about error in first reply. \1 etc
replace each set of brackets. You will find regex101 helpful for search
pattens. Google it.

Sent from MetroMail


On Fri, 10 May 2024 at 13:33, Marcus Abundis <[email protected]> wrote:

> Yeah, thanks. I eventually figured that out.
>
> On Friday, May 10, 2024 at 4:39:08 AM UTC+2 Kaveh Bazargan wrote:
>
>> Hi Marcus
>>
>> Sorry I think I made a mistake. I am not at my computer but pls try and
>> put a semicolon before the backslash in replace. So replace is semicolon
>> plus whatever was in brackets.
>>
>> Sent from MetroMail
>>
>>
>> On Fri, 10 May 2024 at 00:13, Marcus Abundis <[email protected]> wrote:
>>
>>> Hi Kaveh,
>>>
>>> Thanks much for your note!
>>> Yeah, I see how  " (\d\d\.\d\d\.\d\d\d\d, \d\d:\d\d, )" SHOULD work
>>> with  ";(\d\d\.\d\d\.\d\d\d\d, \d\d:\d\d, )" . . .
>>> but I don't see how using a Backreference like "\1" applies to this
>>> situation—how does this produce an ";" ?!
>>> Am I missing something?
>>> Can you be more specific about how this applies to my situation?
>>>
>>> Thanks!
>>>
>>> Marcus
>>>
>>> On Wednesday, May 8, 2024 at 6:12:58 PM UTC+2 Kaveh Bazargan wrote:
>>>
>>>> Try:
>>>> Search: " (\d\d\.\d\d\.\d\d\d\d, \d\d:\d\d, )"
>>>> replace: "\1"
>>>>
>>>> \1 replaces the first item in brackets found.
>>>>
>>>> On Wed, 8 May 2024 at 13:13, Marcus Abundis <[email protected]> wrote:
>>>>
>>>>> Greetings,
>>>>>
>>>>> I am new to BBEdit (trying it out) and I have a problem in using the
>>>>> standard “Find and Replace” window in BBEdit. Only the “Grep” and “Show
>>>>> matches” boxes checked in that window (no other boxes checked), and the
>>>>> situation unfolds as follows:
>>>>>
>>>>> TARGET STRING/FIELD: “ 29.12.2023, 10:23, ”
>>>>> — Target values, held in varied records, with varied fields for each
>>>>> record, all in one .CSV file.
>>>>>
>>>>> FIND STRING: “ \d\d\.\d\d\.\d\d\d\d, \d\d:\d\d, ”
>>>>> — This Find String works exactly as I wish, no problems.
>>>>>
>>>>> REPLACE STRING: “;\d\d\.\d\d\.\d\d\d\d, \d\d:\d\d, ”
>>>>> — This Replace String does NOT work as desired. I want to replace the
>>>>> leading “ ” space with a “;” while RETAINING all original digital values.
>>>>>
>>>>> OUTPUT STRING: “;dd.dd.dddd, dd:dd, ”
>>>>> — What I ACTUALLY end up with is directly above . . .
>>>>>
>>>>> EXPECTED OUTPUT: “;29.12.2023, 10:23, ”
>>>>> — What I EXPECTED to achieve is directly above.
>>>>>
>>>>> What am I missing?! — thanks much for your help!!
>>>>>
>>>>> Marcus
>>>>>
>>>>> --
>>>>> This is the BBEdit Talk public discussion group. If you have a feature
>>>>> request or believe that the application isn't working correctly, please
>>>>> email "[email protected]" rather than posting here. Follow @bbedit
>>>>> on Mastodon: <https://mastodon.social/@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/5ad4d9d9-d32c-415a-aa7c-2d3282ad0802n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/bbedit/5ad4d9d9-d32c-415a-aa7c-2d3282ad0802n%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 believe that the application isn't working correctly, please
>>> email "[email protected]" rather than posting here. Follow @bbedit
>>> on Mastodon: <https://mastodon.social/@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/e5257b22-9ae4-45c9-ac16-20c0313a22e2n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/bbedit/e5257b22-9ae4-45c9-ac16-20c0313a22e2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or believe that the application isn't working correctly, please
> email "[email protected]" rather than posting here. Follow @bbedit on
> Mastodon: <https://mastodon.social/@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/e0ef86f1-f683-4224-808e-a364e4031d52n%40googlegroups.com
> <https://groups.google.com/d/msgid/bbedit/e0ef86f1-f683-4224-808e-a364e4031d52n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@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/CAJ2R9phyQVWv0O2Df1pF%2B-eTcBdJFaXDypoRhUeqFM6toc8ORQ%40mail.gmail.com.

Reply via email to