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/CAJ2R9phr4STbsRYjh%3DwtHj-g3qzYc%2BUetEu_d_VWy2nTF1tS7A%40mail.gmail.com.

Reply via email to