i would like to know if there is a way to search for text at a particular column location.
Please help.
Ythank You,
Dan Wojtasiewicz
danwo@bluefrog.biz
replacing text
Moderators: AmigoJack, bbadmin, helios, MudGuard
Yes, use regex, search for
^.{17}yourText
^ searches for start of line
. for any character
{17} for 17 occurrences of previous part, therefore
^.{17} searches for any 17 characters at the beginning of a line
and finally
^.{17}yourText
searches for any 17 characters at the beginning of a line followed by "yourText" or - with other words -
for "yourText" starting in column 18.
(replace number to fit the column you need...)
^.{17}yourText
^ searches for start of line
. for any character
{17} for 17 occurrences of previous part, therefore
^.{17} searches for any 17 characters at the beginning of a line
and finally
^.{17}yourText
searches for any 17 characters at the beginning of a line followed by "yourText" or - with other words -
for "yourText" starting in column 18.
(replace number to fit the column you need...)