Macro Replace On Multiline while using wildcard.
-
- Posts: 10
- Joined: Tue May 29, 2007 3:10 pm
Macro Replace On Multiline while using wildcard.
I would like to be able to do this:
Ex of text file.
#NOTES:
dance-single:
Renard:
Challenge:
109: <----------------(RATING)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Hard:
93: <----------------(RATING)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Medium:
46: <----------------(RATING)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Easy
24: <----------------(RATING)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
Replace The Last digit from the number underneath Challenge, Medium, Easy or Hard and remove it completely.
NOTE: i will need to be able to replace over 400 of these located in seperate folders
link for example file:
http://www.jeffrey1790.com/children.sm
Thanks,
Jeff
jeff@jeffrey1790.com
Ex of text file.
#NOTES:
dance-single:
Renard:
Challenge:
109: <----------------(RATING)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Hard:
93: <----------------(RATING)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Medium:
46: <----------------(RATING)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Easy
24: <----------------(RATING)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
Replace The Last digit from the number underneath Challenge, Medium, Easy or Hard and remove it completely.
NOTE: i will need to be able to replace over 400 of these located in seperate folders
link for example file:
http://www.jeffrey1790.com/children.sm
Thanks,
Jeff
jeff@jeffrey1790.com
-
- Posts: 10
- Joined: Tue May 29, 2007 3:10 pm
FINAL WHAT I WANT!
#NOTES:
dance-single:
Renard:
Challenge:
10: <------(NO DECIMAL)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Hard:
9: <------(NO DECIMAL)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Medium:
4: <------(NO DECIMAL)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Easy
2:<------(NO DECIMAL)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Challenge:
10: <------(NO DECIMAL)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Hard:
9: <------(NO DECIMAL)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Medium:
4: <------(NO DECIMAL)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
#NOTES:
dance-single:
Renard:
Easy
2:<------(NO DECIMAL)
0.840,0.925,0.279,0.192,1.000:
0000
0000
0000
0000
-
- Posts: 10
- Joined: Tue May 29, 2007 3:10 pm
Please send a sample file to support@abacre.com
It's probably a problem of trailing spaces.
It's probably a problem of trailing spaces.
Thank you for the file.
Yes, indeed, it was a problem of trailing spaces before dance-single: text
Therefore use Search For:
(#NOTES:.*\d+)\d:
Yes, indeed, it was a problem of trailing spaces before dance-single: text
Therefore use Search For:
(#NOTES:.*\d+)\d:
Last edited by Abacre on Wed May 30, 2007 8:09 pm, edited 1 time in total.
-
- Posts: 10
- Joined: Tue May 29, 2007 3:10 pm