Search found 3 matches

by MikeAtWorley
Thu Jan 29, 2009 7:22 pm
Forum: General
Topic: Simple RE, hard for a nubie
Replies: 4
Views: 377

Thanks

Bob and Ben,

Your solution works great. Thanks!!!!!

Mike
by MikeAtWorley
Thu Jan 29, 2009 4:44 pm
Forum: General
Topic: Simple RE, hard for a nubie
Replies: 4
Views: 377

Please excuse the typo.

Bob,
You are correct, I left one character out in the output example. I hope you can suggest a RE that I can use, in spite of my typo.

Thanks,
Mike
by MikeAtWorley
Thu Jan 29, 2009 3:40 pm
Forum: General
Topic: Simple RE, hard for a nubie
Replies: 4
Views: 377

Simple RE, hard for a nubie

I want to replace characters between fixed positions on each line of text. For example, in the following lines, I want to replace charcacters 5th trough 8th with YYYY.

Given this:
23 aad sssxxxx
faf ffee sscc ee67y
sss xees kkkpa

I neeed this:
23 aYYYYssxxxx
faf fYYYYsscc ee67y
sss YYYY kkkpa

I ...