--- title: "Create and Use a Custom Redaction Pattern" slug: "create-a-custom-redaction-pattern" description: "Create custom redaction patterns in NextRequest to efficiently search and redact sensitive data like emails, phone numbers, and Social Security Numbers." updated: 2025-10-13T14:12:57Z published: 2025-10-13T14:12:57Z canonical: "www.civicplus.help/create-a-custom-redaction-pattern" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://www.civicplus.help/llms.txt > Use this file to discover all available pages before exploring further. # Create and Use a Custom Redaction Pattern You can search for specific data in documents with **Redaction Patterns**. NextRequest provides basic preloaded patterns that search for email addresses, phone numbers, Social Security Numbers (SSN), dates, and zip codes. Did you know you can create custom redaction patterns to locate the specific information you need to redact? For example, maybe you don't need to redact all email addresses in a document, only the addresses that do not belong to public employees. You can do this with custom search patterns. Custom search patterns are created with regular expressions. A regular expression, or regex, is a sequence of characters that define a search pattern. Usually, such patterns are used by string searching algorithms for "find" or "find and replace" operations on strings, or for input validation. > [!NOTE] > Important Note > > Use custom regex (regular expression) or redaction patterns at your own risk. NextRequest cannot be responsible for your regular expression/redaction pattern if it does not perform as expected. We always recommend testing before applying to documents on live requests. ## Tips - Check out [Regular Expressions 101](https://regex101.com/) or [Rubular](https://rubular.com/) to test your regular expressions before adding them to the portal. - Test your pattern on realistic documents so you can be sure it will locate the data correctly. ## Create a Custom Redaction 1. Log in to NextRequest as an Admin or Department Admin 2. Navigate to the **Settings** header and click **Redaction Patterns** in the drop-down ![Settings menu with Redaction patterns highlighted in the drop-down.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Settings Redaction patterns - NR.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=WQ4sgttJQgCBVUs5e1t0666qDwnUzQzTFLs%2Fmu7pAyA%3D) 3. Click **Create Redaction Pattern ![Create redaction pattern button in the top right corner of the redaction patterns page.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Create redaction pattern - NR.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=4uCBHv5CdbD36cduMhCY%2F8zgXq3%2F5QKiYjU2TR6Muhk%3D)** 4. Enter the **Name** of the pattern. This is what will be displayed in the drop-down menu in RapidReview. ![Redaction pattern name.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/13671278942231.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=fGd%2BmzTGuoTG12P5MsdMj%2Fiq3HklSWN79xV5LXaTguE%3D) 5. Enter the regular expression in the **Redaction Pattern** field ![Redaction pattern textbox.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/13671273930647.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=y2tNOuzfI63UxUvjuPqQkc%2F0N0A21fyqKnOM9V82Ja8%3D) 6. Click **Save ![Save button in bottom left corner.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/14877423969559.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=dDSuudnoI0wcOpFrjJVeTqXTjmMTIkc2K287VuRwa%2Bg%3D)** ## **Use a Custom Redaction Pattern in RapidReview** 1. Navigate to your Request 2. Access **RapidReview** ![Highlighted wrench icon representing tools in a user interface toolbar.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/RapidResponse Launch Button- nr.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=rAIXbcftd3TGirE%2FPNU40jVx7gym2z5Htm5zHm2Uvjc%3D) 3. Select documents, then **Batch Redact** ![Document management interface showing uploaded files and filter options for organization.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Batch Redact Wrench Icon- nr.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=hGlw5DaSbtL%2F2egLhk6hMj06pKuCHLgX8CbLtPHB%2F2g%3D) 4. Search under Redaction Type for your created Redaction Patterns and select which one you would like to apply. ![Interface for batch redaction, including options for redaction type and phrases.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Batch Redact Information Input Fields- nr.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=7Uxn4QB8AaWYIW0FzWMLlDJuLbkAIWhllm3d3jBt5Ds%3D) - **Redaction Type**: Select zero or more options - **Redaction Phrase**: Input a word or phrase to redact - **Place in Folder (Optional)**: Select a folder or start typing to create a new folder - **Set Redaction Reason**: Select a redaction reason 5. Select **Start Redaction** ![Interface for batch redaction, selecting types and phrases for document redaction. Start Redaction button highlighted](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Batch Redact Start Redaction Button- nr.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=8LaVTbO4E3aYIx%2F2sYt95TlfTn7jIs%2FoY2KEZwyd0%2FI%3D) ## Use Custom Redaction Pattern in Standard Redaction 1. Navigate to your Request 2. Navigate to the **Documents** tab ![Overview of request details including timeline, documents, and tasks sections.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Request Document Tab- nr.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=K8k%2FjNSC7LiIVyztvS8dJsh%2BxmEYKgNFRsghaN8bPVA%3D) 3. Find the file and select **Redact File** from the three horizontal dots dropdown ![Document management interface showing filters and options for file actions. Redact file menu option highlighted](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/File Dropdown Menu- Redact File- nr.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=qWEdRdDvf%2BgCrWsQDo6trtXWAjBI8gsuTEITJQK00fI%3D) 4. Select **Search** ![Document interface showing search and redaction options for a PDF file.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Redact File Magnifying Glass Search Button- nr.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=2yHIbCZ9CHdhsSCA1ClMFoATaTABQYIVNjmwR1o5GTE%3D) 5. Select the drop-down arrow next to Search Document and select your Redaction Pattern ![Document search options including USA Postal Code, SSN, Phone, Email, and weapon.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Search Document Drop Down Arrow Menu and Options- nr.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=ZiJyJgPianikjhf6JRDArSnwbFU3GGViQ9whpStDQ3U%3D) 6. When you have the Redaction Pattern selected, select **Search** ![Search document interface showing options for email and other data types. The search magnifying glass is highlighted](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Search Document Magnifying Glass Search Button.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=eHdeSOgHIrZdG2PsPRdu%2BT5j%2BAS9xC45N6dSQxJFGLE%3D) 7. The search will show you how many results have been found in the document and allow you to review them in the document. ![Document search interface showing results, filters, and navigation options for users.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Batch Redact Search Results.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=ICQnRj%2F%2Bv9e1JHhGyeV%2BMDrFthcL5MsiPN2%2B1ec1vNQ%3D) 8. Select the documents, then select **Redact** ![Document search interface showing redaction options and highlighted search results.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Batch Redact Search Results Redact Option.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=VnMva76z9mtj9i9ZQ0A67avcjfaJEWet%2BB%2F95a6khec%3D) 9. Select **Redact All** to apply redactions ![Document search results showing options to redact selected items and all results.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Redact All Option-nr.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=1IUVlzfBcdaBh%2FKTnaSs%2FwxRDwsqI7SQjKAUkcKxDnY%3D) 10. Select the **Save** button to burn in redactions ![Navigation buttons and a highlighted 'Save' option in a document viewer.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Batch Redact Save Button- nr.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A16%3A10Z&se=2026-11-21T22%3A16%3A10Z&sr=b&sp=r&sig=QMEFfIcGzYGxTc8HnJssPJQ2OyL8fPxAc0owbb2OUpw%3D)