J
Joe Christl
Hello,
I've got a minor problem that I haven't been able to pin down using my
editor and Search/Replace using regex.
I got my my search part down:
(^[\w\s]{9})B([\w\s]{12})
.... but my replace is a little harder. Basically, I want to find every
line that has a B in the 10th spot, and replace anything after that
with X's for the next 12 spots. I could do this:
$1BXXXXXXXXXXXX
as my replace, but actually I'd like to NOT replace spaces and zero's,
only Alphas and 1-9 digits.
Is there anyone out there that understands regex better than I that can
help me out?
Thanks,
Joe
ps (sorry if I'm posting in the wrong newsgroup)
I've got a minor problem that I haven't been able to pin down using my
editor and Search/Replace using regex.
I got my my search part down:
(^[\w\s]{9})B([\w\s]{12})
.... but my replace is a little harder. Basically, I want to find every
line that has a B in the 10th spot, and replace anything after that
with X's for the next 12 spots. I could do this:
$1BXXXXXXXXXXXX
as my replace, but actually I'd like to NOT replace spaces and zero's,
only Alphas and 1-9 digits.
Is there anyone out there that understands regex better than I that can
help me out?
Thanks,
Joe
ps (sorry if I'm posting in the wrong newsgroup)