#1 : 06/04-17 18:16 Fabiano
Posts: 4
|
Hi
How can i move a word to start file name ps. I don't know the position of word Ex.1 586999 RED 12.70 304L ESGOTADO.jpg to RED 586999 12.70 304L ESGOTADO Ex.2 345 2016025515 672513 RED 88.90 304L 001.jpg to RED 345 2016025515 672513 88.90 304L 001.jpg |
#2 : 06/04-17 19:08 G. Lambany
Posts: 187
|
Reply to #1:
Method: Replace Text to be replaced: (^[\d\s]+)(\w+)\s?(.+) Replace with: \2 \1\3 use regular expression: checked It is not bullet proof, but with a list of all colors possible, it could be made so. *this one will work with any colors*, but not with other than numbers and space in front of the color. cheers |
#3 : 06/04-17 19:38 Fabiano
Posts: 4
|
Reply to #2:
Perfect!!!!! Thanks for help! I'm catch this, but "RED" is not a color is a abreviation of "REDONDO" i'm brazilian. "RED" can be "SEXT" or "QUAD" I starting understand |
#4 : 06/04-17 20:08 Fabiano
Posts: 4
|
If i want it.
Ex.1 586999 RED 12.70 304L ESGOTADO.jpg to RED 12.70 304L 586999 ESGOTADO.jpg Ex.2 345 2016025515 672513 RED 88.90 304L 001.jpg to RED 88.90 304L 345 2016025515 672513 001.jpg |
#5 : 06/04-17 23:22 Tester123
Posts: 92
|
Reply to #4:
Method: Replace Text to be replaced: ^([\d\s]+)(\w+)\s(.+\s.+)\s(.+)$ Replace with: \2 \3 \1 \4 Use regular expression: checked |
#6 : 07/04-17 20:05 Fabiano
Posts: 4
|
Reply to #5:
Perfect !!!! Thanks... And to finish.... using just one Method Replace to do it: Ex.1 586999 RED 12.70 304L ESGOTADO.jpg to RED 12.70 304L 586999 ESGOTADO.jpg Ex.2 345 2016025515 672513 RED 88.90 304L 001 ESGOTADO.jpg to RED 88.90 304L 345 2016025515 672513 001 ESGOTADO.jpg |
#7 : 07/04-17 21:58 Tester123
Posts: 92
|
Reply to #6:
This should do the trick: Method: Replace Text to be replaced: ^([\d\s]+)(\w+)\s(.+?\s.+?)\s(.+)$ Replace with: \2 \3 \1 \4 Use regular expression: checked |