Created
August 26, 2020 12:09
-
-
Save davidsharp/bef56f86de6ab8415c354a4a4d4ce10f to your computer and use it in GitHub Desktop.
find and replace string for turning illustrator `transform="translate(x y)"` to x and y attributes
This file contains hidden or 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
| // replace transform translate with x & y | |
| transform="translate\(([0-9]*\.[0-9]*) ([0-9]*\.[0-9]*)\)" | |
| x="$1" y="$2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment