General questions about using TextPad
Moderators: AmigoJack , bbadmin , helios , MudGuard
NineIron
Posts: 3 Joined: Thu Jun 10, 2010 3:14 pm
Location: Brockton, MA
Post
by NineIron » Thu Jun 10, 2010 3:17 pm
Most of the records in my file have a length of 251. How can I identify the few with a smaller record length?
ben_josephs
Posts: 2464 Joined: Sun Mar 02, 2003 9:22 pm
Post
by ben_josephs » Thu Jun 10, 2010 9:41 pm
Fi nd what: ^.{0,250}$
[X ] Regular e xpression
This assumes you are using Posix regular expression syntax:
C onfigure | P references | Editor
[X ] Use P OSIX regular expression syntax
NineIron
Posts: 3 Joined: Thu Jun 10, 2010 3:14 pm
Location: Brockton, MA
Post
by NineIron » Fri Jun 11, 2010 5:48 pm
I get a message "Cannot find regular expression: '^.{0,250}$'
ben_josephs
Posts: 2464 Joined: Sun Mar 02, 2003 9:22 pm
Post
by ben_josephs » Fri Jun 11, 2010 7:06 pm
Either there are no lines shorter than 251 characters or you're not using Posix regular expression syntax.
NineIron
Posts: 3 Joined: Thu Jun 10, 2010 3:14 pm
Location: Brockton, MA
Post
by NineIron » Fri Jun 11, 2010 7:47 pm
What will TextPad do to "find" the rows? Will they be highlighted?
I did have to switch to Posix expression.
ben_josephs
Posts: 2464 Joined: Sun Mar 02, 2003 9:22 pm
Post
by ben_josephs » Sat Jun 12, 2010 1:21 pm
If you select F ind Next it will highlight the next string that matches the search expression. If you select M ark All it will bookmark all lines that match the search expression.