<ReportExport ID="export1" runat="server" AlertNoTests="false" PDFPageOrientation="Portrait"
HideExcel="true" OnPDFClicked="CreatePDF" AllowPDFOptions="true" HideBulkPDFOptions="false"
HideOrientation="true" HidePaperSize="true" MaxReportsAtOnce="250" HideTextExport="true" />
I’m trying to use Visual Studio’s find feature using regular expressions to find ReportExport in my entire solution where the HideTextExport property is not being set. This is only ever defined in the markup once on a given page.
Any ideas on how I would find where ReportExport exists… but HideTextExport does not exist in the text?
Thanks in advance!
This works for me:
:Wh+matches the whitespace preceding the attribute name and:wmatches the name, but only after~(HideTextExport)confirms that the name is not “HideTextExport”.:qmatches the attribute’s value (assuming values are always quoted).<and>have to be escaped or VS Find will treat them as word boundaries.This is effectively the same as the .NET regex,