Common Regex Patterns

Technical Articles

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US

The following table lists some of the common regex patterns:

Regex Patterns

Description

. Matches any character, excluding new lines
^Matches the beginning of a line
?Matches 0 or 1 occurrences of a value
+Matches 1 or more times
*Matches 0 or more times
$Matches the end of a line
\dMatches a numeric digit

There are many additional regex patterns that can be used to search for information in Jamf Pro, and you are not limited to the ones listed here.

Note:

The > & < characters are XML reserved characters that overlap with valid regex characters. These reserved characters must be referenced as entities when the literal character is needed.