You are here: PSPad forum > English discussion forum > How do find one or two or three or more separate characters in one line at the beginning?

How do find one or two or three or more separate characters in one line at the beginning?

#1 How do find one or two or three or more separate characters in one line at the beginning?

Posted by: maki | Date: 2019-05-22 14:50 | IP: IP Logged

How do find one or two or three or more separate characters in one line at the beginning?

X
XX
XXX
XXXX
XXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Edited 1 time(s). Last edit at 2019-05-22 14:50 by maki.

Options: Reply | Quote | Up ^


#2 Re: How do find one or two or three or more separate characters in one line at the beginning?

Posted by: pspad | Date: 2019-05-22 15:30 | IP: IP Logged

1 to 3 characters: x{1,3}
on or more characters: x{1,}
or
on or more characters: x.

Options: Reply | Quote | Up ^


#3 Re: How do find one or two or three or more separate characters in one line at the beginning?

Posted by: maki | Date: 2019-05-24 07:09 | IP: IP Logged

But why is the highlight of the result disappearing when the cursor is positioned elsewhere?

Options: Reply | Quote | Up ^


#4 Re: How do find one or two or three or more separate characters in one line at the beginning?

Posted by: pspad | Date: 2019-05-24 07:28 | IP: IP Logged

Because you move cursor elsewhere else?

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR