API/CodeSamples/AddAllFilterRegex.md
... ...
@@ -1,8 +1,10 @@
1 1
#AddAllFilterRegex
2 2
3
+[[_TOC_]]
4
+
3 5
This setting allows the user to use a regular expression to filter certain fields from being added through the "Add All" button (the "Add All" button can be turned on in the features tab of the settings guide and is added in the fields section of report designer). An example of when this may be used is if you don't want social security numbers added to reports you could add part of the name of that field to the regular expression.
4 6
5
-##Global.asax (C)
7
+##Global.asax (C♯)
6 8
```csharp
7 9
//main class: inherits DatabaseAdHocConfig or FileSystemAdHocConfig
8 10
public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig