Thanks Tom and Christopher.
Howard
On Sunday, 16 January 2022 at 8:38:24 pm UTC-5 Christopher Waterman wrote:
> Hello Howard,
>
> Find: ^[^0-9A-Z]?([0-9A-Z]).*
>
> Replace: \1
>
>
>
> — Chris(topher)?
>
>
--
This is the BBEdit Talk public discussion group. If you have a feature request
or need
^[^a-z0-9]*(.).*$
^ at beginning of line
[^a-z0-9] look for anything which isn’t a-z 0-9
* 0 or more times
(.) any single character (i.e. a-z 0-9), and ‘capture’ it for replacement
pattern
★ any characters
$ end of line
Replace with
\1
Cheers
> On 2022-01-17, at 12:16, Howard wrote:
>
> Us
Using the *input data* below and using Grep, I need either the first digit
or letter extracted from each row (just one per row), so the *output* looks
like what is shown below. Though the output is displayed here in horizontal
format, I need the actual output in vertical format without any comm