Last active
December 7, 2018 02:53
-
-
Save aliselcuk/03c1c8b43e1699e29848c6273d2814f4 to your computer and use it in GitHub Desktop.
PhpStorm RegEx Search & Replace
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: | |
import (\w+) from '@shared.*' | |
# Replace | |
import \{ $1 \} from 'library-js' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replaces:
import AnyModel from '@shared/........'
With:
import { AnyModel } from 'library-js'