Using PowerShell I am able to get the lines from a file which contain the needed text:
Get-ChildItem -recurse -Attributes !Directory+!System | Get-Content | Select-String "tshtml"
This gives the result below:
templateUrl: '/tshtml/generic/gkeyvalue/gkeyvalue.html'
templateUrl: '/tshtml/generic/permission/permission.html'
templateUrl: '/tshtml/generic/permission2/permission2.html'
But now I want part of this as output:
/generic/gkeyvalue/gkeyvalue.html
/generic/permission/permission.html
/generic/permission2/permission2.html
How do I do that? I am reading about regex, but I am not getting much about it :(