Bombasarkadian: -------------------------------------------------------------------------------- Welcome, I'd like to make the following using PSPad. I've got a text like this:
123 456 789 And I want to automaticaly reverse it to get this: 321 654 987 Is it possible with PSPad?? -------------------------------------------------------------------------------- Hi, if your data is that uniform (3 characters each line), you can use a regular expression replacement like: cite: -------------------------------------------------------------------------------- ^(.)(.)(.)$ with: $3$2$1 -------------------------------------------------------------------------------- Otherwise you can use potentially empty submatches like: cite: -------------------------------------------------------------------------------- ^(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?) (.?)(.?)$ with: $20$19$18$17$16$15$14$13$12$11$10$9$8$7$6$5$4$3$2$1 -------------------------------------------------------------------------------- But there might be a limit on the number of the parethesised items somewhere ... hth vbr -- <http://forum.pspad.com/read.php?2,49769,49770> PSPad freeware editor http://www.pspad.com
