Last active
November 5, 2021 13:53
-
-
Save loke-dev/1154b8a00ff69997fec6cbb2167b0fa6 to your computer and use it in GitHub Desktop.
Vscode - search and replace with wildcard
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
// Search for: | |
breakpoint\("([a-zA-Z]*)?"\s*(\) - 1px) | |
// Replace with: | |
(breakpoint("$1") - 1px) | |
// Will produce the following change: | |
@media (max-width: breakpoint("tiny") - 1px) { | |
@media (max-width: (breakpoint("tiny") - 1px)) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment