---
title: "Regular Expressions in Policy Rules"
canonical: "https://docs.infoblox.com/space/netmri760/357238370/Regular%20Expressions%20in%20Policy%20Rules"
format: markdown
---
NetMRI uses Ruby-style regular expressions, which are similar to perl regular expressions. When entering a regular expression in the Raw XML Editor, the Simple Rule Editor, or the Rule Logic Builder, starting the line with "/" allows you to use the "i" or "m" options for regular expressions. For example,

`^banner motd my banner`

will fail to match "banner motd MYBANNER" in the configuration file. For a case-sensitive match, enter instead

`/^banner motd my banner/i`