-
-
Save m4r71n/6fd7452cba0151436639 to your computer and use it in GitHub Desktop.
transforms german date format to english date format and adds as entry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Commands] | |
1\Name=Date german -> english | |
1\Match=[0-9]{2}.[0-9]{2}.[0-9]{4} | |
1\Command="copyq eval \"add( str(input()).trim().replace(/([0-9]{2}).([0-9]{2}).([0-9]{4})/, '$3-$2-$1') )\"" | |
1\Separator=\\n | |
1\Input=text/plain | |
1\Automatic=true | |
1\InMenu=true | |
size=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment