Re: Kate regex question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux