Created
June 20, 2019 14:05
-
-
Save niikoo/5569789f052436d548c7776692da94a7 to your computer and use it in GitHub Desktop.
Useful regular expressions
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
# FOR VSCode # | |
From multi-line package references, to single line: | |
<PackageReference Include="(.+?)">\n\s+?<Version>(.+?)</Version>\n\s+?</PackageReference>/<PackageReference Include="(.+?)">\n\s+?<Version>(.+?)</Version>\n\s+?</PackageReference>/ | |
<PackageReference Include="$1" Version="$2" /> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment