'Regex in Notepad++ to get the resource keys
I need help to come up with a regular expression for cleaning the aspx page entries.
....
Line 24: <asp:Button ID="id1" runat="server" meta:resourceKey="ButtonTxt"/>
Line 35: <asp:Label ID="id2" runat="server" meta:resourceKey="Name"></asp:Label>
Line 47: <asp:Label ID="id3" runat="server" meta:resourcekey="Other_Name"></asp:Label>
....
How do I write the regular expression to extract only meta:resourceKey="ButtonTxt", meta:resourceKey="Name", meta:resourcekey="Other_Name" and so on. Basically I need to extract only the meta:resourcekey="xxxx" strings.
I tried .*?(meta:.*?").* but this gets only till the first ".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
