Wonderful!
My thanks go out to all who replied - especially Neil Faiman *(who was
first to reply)* for his detailed and very clear explanation. Just what I
needed.
Grateful thanks, once again.
Andy
On Friday, 21 April 2023 at 19:09:42 UTC+1 Neil Faiman wrote:
> So you want to find all
This is a regular expression pattern that matches any sequence of digits that
is at least 3 digits long and no more than 5 digits long. Here's a breakdown of
what each component of the pattern means:
\d: Matches any digit (0-9).
{3,5}: Quantifier that specifies that the preceding pattern (in
Select the search pattern in the Find dialog, head up to the Edit menu and
select Copy as Styled Text
\d{3,5}
Voila :]
> On 2023-04-22, at 07:16, Kevin Shay wrote:
>
> Oops, sorry. No syntax highlighting in Gmail :)
>
> On Fri, Apr 21, 2023 at 3:03 PM Kaveh Bazargan
Oops, sorry. No syntax highlighting in Gmail :)
On Fri, Apr 21, 2023 at 3:03 PM Kaveh Bazargan wrote:
> Kevin, small typo:
>
> \d{2,] should be \d{2,}
>
> ;-)
>
> On Fri, 21 Apr 2023 at 19:58, Kevin Shay wrote:
>
>> If you only want to apply this to figures of a certain length (i.e. 3 or
>>
Kevin, small typo:
\d{2,] should be \d{2,}
;-)
On Fri, 21 Apr 2023 at 19:58, Kevin Shay wrote:
> If you only want to apply this to figures of a certain length (i.e. 3 or
> more digits) so it would skip things like "3d" or 'B2B" or "23AndMe", you
> can use curly brackets to specify a number of
If you only want to apply this to figures of a certain length (i.e. 3 or
more digits) so it would skip things like "3d" or 'B2B" or "23AndMe", you
can use curly brackets to specify a number of occurrences, like:
\d{2,] <--matches 2 or more digits
\d{3,5} <--matches 3 to 5 digits
Kevin
On Fri,
So you want to find all occurrences of a digit immediately followed by a letter
and insert a space between them?
Get the search dialog. Check the Grep box. Clear the Case sensitive box.
Find: (\d)([a-z])
Replace: \1 \2
Click the Replace All button.
Detailed explanation:
\d matches any digit.
Forgive the level 0 question, but I want to find instances in a simple text
document where various figures have got up against some text, with no space
between them. (For example 123Xyz).
I want to keep the figures the same, and the following text the same, but
put a word space between them.