Kate regex question

Emil Obermayr nobs at nobswolf.info
Mon May 16 09:17:01 BST 2011


On Sun, May 15, 2011 at 01:19:51PM -0700, Graham Lawrence wrote:
> I have dates in mm/dd/yy format that I wish to convert to yy-mm-dd format.
> 
> Using kate, I find them with (\d\d)/(\d\d)/(\d\d)
> but when I try to replace via $3-$1-$2
> kate simply treats it as a text literal

use this as replace-text

\2-\1-\3
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list