Irregular includes 133 regular expressions
|Name|Description|IsGenerator|
|:—|:———-|:———-|
|ANSI_24BitColor|Matches an ANSI 24-bit color|False|
|ANSI_4BitColor|Matches an ANSI 3 or 4-bit color|False|
|ANSI_8BitColor|Matches an ANSI 8-bit color|False|
|ANSI_Blink|Matches ANSI Blink Start or End|False|
|ANSI_Bold|Matches an ANSI Bold Start or End|False|
|ANSI_Code|Matches an ANSI escape code|False|
|ANSI_Color|Matches an ANSI color|False|
|ANSI_Cursor|Matches an ANSI cursor control|False|
|ANSI_DefaultColor|Matches an ANSI 24-bit color|False|
|ANSI_Faint|Matches an ANSI Faint (aka dim) Start or End|False|
|ANSI_Hide|Matches ANSI Hide (aka conceal) Start or End|False|
|ANSI_Invert|Matches ANSI Invert Start or End|False|
|ANSI_Italic|Matches ANSI Italic Start or End|False|
|ANSI_Note|Matches an ANSI VT520 Note|False|
|ANSI_Reset|Matches an ANSI Reset (this clears formatting)|False|
|ANSI_Strikethrough|Matches ANSI Strikethrough Start or End|False|
|ANSI_Style|Matches an ANSI style (color or text option)|False|
|ANSI_Underline|Matches ANSI Underline/DoubleUnderline Start or Underline End|False|
|ArithmeticOperator|Simple Arithmetic Operators|False|
|BalancedBrackets|Matches content in brackets, as long as it is balanced|False|
|BalancedCode|Matches code balanced by a [, {, or (|True|
|BalancedCurlyBracket|Matches content in {}, as long as it is balanced|False|
|BalancedParenthesis|Matches content in parenthesis, as long as it is balanced|False|
|C_Define|Matches C/C++ #define|False|
|C_Enum|Matches a C/C++ Enum|False|
|C_IfDef|Matches C/C++ #if/#ifdef/#ifndef .. #endif|False|
|C_Include|Matches C/C++ #include|False|
|C_Struct|Matches a C/C++ Struct|False|
|CamelCaseSpace|Matches where a CamelCaseSpace would be|False|
|CNC_GCode|Matches GCode Instructions|False|
|Code_BuildVersion|Matches a build version|False|
|Code_Namespace|Finds a Namespace (captures the Name and the Content between {})|False|
|Code_Region|Matches a #region #endregion pair. Returns the Name of the Region and the Content.|True|
|Code_SemanticVersion|Matches a Semantic Version. See https://semver.org/.|False|
|Colon|Matches a literal colon|False|
|CSharp_Namespace|Matches a CSharp namespace|False|
|CSharp_Using|Matches a CSharp using keyword|False|
|Decimals|Matching any series of decimals is deceptively complicated|False|
|Digits|Repeated Digits|False|
|DoubleQuotedString|Matches a double quoted string, with an optional escape sequence (defaulting to backtick or backslash).|True|
|EmailAddress|Matches an Email Address|False|
|Equals|A literal equal sign =|False|
|FFmpeg_Configuration|Matches FFMpeg configuration|False|
|FFmpeg_Input|Matches FFMpeg inputs|False|
|FFmpeg_Metadata|Matches FFMpeg metadata|False|
|FFmpeg_Output|Matches FFMpeg outputs|False|
|FFmpeg_Progress|Matches Progress Lines in FFMpeg output|False|
|FFmpeg_Stream|Matches FFMpeg streams|False|
|GenericBalancingExpression|This expression matches content that is within “balanced” punctuation.
It does not validate that each type of open/close punctuation is valid.
Just that it any open punctuation is matched by closed punctuation.|False|
|GetMarkupTag|Gets one or more specific markup tags. By default, anchor tags.|True|
|Git_Diff|Matches Output from git diff|False|
|Git_DiffHeader|Matches Header information from the output of git diff|False|
|Git_DiffRange|Matches a diff range|False|
|Git_Log|Matches Output from git log|False|
|HexColor|Matches an RGB Hex Color|False|
|HexDigits|Matches one or more hexadecimal digits|False|
|HTML_DataAttribute|Matches an HTML data attribute|False|
|HTML_DataSet|Matches HTML5 start tags with data attributes|False|
|HTML_EndTag|Gets one or more end markup tags. By default, gets end anchor tags.|True|
|HTML_IDAttribute|Matches an HTML ID attribute|False|
|HTML_ItemScope|Matches HTML5 tags with an itemscope|False|
|HTML_LinkedData|Matches JSON Linked Data (JSON within HTML)|False|
|HTML_StartOrEndTag|Gets one or more start markup tags. By default, gets start anchor tags.|True|
|HTML_StartTag|Gets one or more start markup tags. By default, gets start anchor tags.|True|
|JSON_List|A JSON List|False|
|JSON_ListItem|Matches a JSON list item. If no -ListIndex is provided, will match all items in the list |True|
|JSON_ListSeparator|Matches a JSON list separator|False|
|JSON_Number|Matches a JSON Number|False|
|JSON_Property|Matches a JSON property. -PropertyName can be customized.|True|
|JSON_PropertyName|A property within a JSON string|False|
|JSON_String|Matches a JSON string|False|
|JSON_Value||False|
|Keyboard_Shortcut|Matches Keyboard Shortcuts
Keyboard Shortcuts are a
Code blocks can start/end with 3 or more backticks or tildas, or 4 indented whitespaces|True|
|[Markdown_Heading](/Irregular/RegEx/Markdown/Heading.regex.ps1)|Matches Markdown Headings. Can provide a -HeadingName, -HeadingLevel, and -IncludeContent.|True|
|[Markdown_Link](/Irregular/RegEx/Markdown/Link.regex.ps1)|Matches a Markdown Link. Can customize the link text and link url.|True|
|[Markdown_List](/Irregular/RegEx/Markdown/List.regex.txt)|Matches a Markdown List|False|
|[Markdown_ThematicBreak](/Irregular/RegEx/Markdown/ThematicBreak.regex.txt)|Matches markdown horizontal rules|False|
|[Markdown_YAMLHeader](/Irregular/RegEx/Markdown/YAMLHeader.regex.txt)|Matches a Markdown YAML Header|False|
|[MultilineComment](/Irregular/RegEx/MultilineComment.regex.ps1)|Matches Multline Comments from a variety of languages.
Currently supported: PowerShell, C#, C++, JavaScript, Ruby, HTML, and XML
When this generator is used with a piped in file, the extension will autodetect the format.
If the format could not be autodetected, the match will always fail.|True|
|[Mustache_Tag](/Irregular/RegEx/Mustache/Tag.regex.ps1)||True|
|[Network_IPv4Address](/Irregular/RegEx/Network/IPv4Address.regex.txt)|Matches an IPv4 Address|False|
|[Network_MACAddress](/Irregular/RegEx/Network/MACAddress.regex.txt)|Matches a MAC address|False|
|[NewLine](/Irregular/RegEx/NewLine.regex.txt)|A newline (in either Windows (\r\n) or Unix (\n) form)|False|
|[NextColon](/Irregular/RegEx/NextColon.regex.txt)|This returns the position of the next colon, but not the next colon itself.|False|
|[NextWord](/Irregular/RegEx/NextWord.regex.txt)|Finds all repeated text that is not whitespace or punctuation.|False|
|[NumberAndExponent](/Irregular/RegEx/NumberAndExponent.regex.txt)|Matches a decimal number with an exponent.|False|
|[NumberSign](/Irregular/RegEx/NumberSign.regex.txt)|A number sign \#|False|
|[OpenSCAD_Customization](/Irregular/RegEx/OpenSCAD/Customization.regex.txt)|Matches Potential Open SCAD Customizations|False|
|[OpenSCAD_Function](/Irregular/RegEx/OpenSCAD/Function.regex.txt)|Matches Open SCAD Functions|False|
|[OpenSCAD_Include](/Irregular/RegEx/OpenSCAD/Include.regex.txt)|Matches Open SCAD Modules|False|
|[OpenSCAD_Module](/Irregular/RegEx/OpenSCAD/Module.regex.txt)|Matches Open SCAD Modules|False|
|[OpenSCAD_Parameter](/Irregular/RegEx/OpenSCAD/Parameter.regex.txt)|Matches Potential Open SCAD Module Parameters|False|
|[OpenSCAD_Use](/Irregular/RegEx/OpenSCAD/Use.regex.txt)|Matches Open SCAD Modules|False|
|[OptionalWhitespace](/Irregular/RegEx/OptionalWhitespace.regex.txt)|This matches zero or more whitespace characters|False|
|[PHP_Tag](/Irregular/RegEx/PHP/Tag.regex.txt)|Matches most PHP tags|False|
|[PII_Redacted_SSN](/Irregular/RegEx/PII/Redacted_SSN.regex.txt)|Matches Unredacted Social Security Numbers|False|
|[PII_Unredacted_SSN](/Irregular/RegEx/PII/Unredacted_SSN.regex.txt)|Matches Unredacted Social Security Numbers|False|
|[PowerShell_Attribute](/Irregular/RegEx/PowerShell/Attribute.regex.txt)|Matches a PowerShell attribute declaration|False|
|[PowerShell_AttributeValue](/Irregular/RegEx/PowerShell/AttributeValue.regex.txt)|This expression extracts the key/value pairs from a PowerShell attribute body (the content within parenthesis)|False|
|[PowerShell_Function](/Irregular/RegEx/PowerShell/Function.regex.txt)|Matches PowerShell functions|False|
|[PowerShell_HelpField](/Irregular/RegEx/PowerShell/HelpField.regex.ps1)|Matches specific fields from inline help|True|
|[PowerShell_Invoke_Variable](/Irregular/RegEx/PowerShell/Invoke_Variable.regex.txt)|Matches any time a variable is invoked (with the . or & operator)|False|
|[PowerShell_ParameterSet](/Irregular/RegEx/PowerShell/ParameterSet.regex.txt)|Matches PowerShell ParameterSets (in [Parameter] and [CmdletBinding] attributes)|False|
|[PowerShell_Region](/Irregular/RegEx/PowerShell/Region.regex.ps1)|Matches a PowerShell #region/#endregion pair. Returns the Name of the Region and the Content.|True|
|[PowerShell_Requires](/Irregular/RegEx/PowerShell/Requires.regex.txt)|Matches PowerShell #requires|False|
|[PowerShell_ScriptBlock](/Irregular/RegEx/PowerShell/ScriptBlock.regex.txt)|Matches a PowerShell script block|False|
|[PowerShell_Variable](/Irregular/RegEx/PowerShell/Variable.regex.txt)|Matches a PowerShell Variable|False|
|[Punctuation](/Irregular/RegEx/Punctuation.regex.txt)|Matches any single or repeated punctuation.|False|
|[RegularExpression_Group](/Irregular/RegEx/RegularExpression/Group.regex.txt)|Matches groups in a regular expression|False|
|[RegularExpression_Quantifier](/Irregular/RegEx/RegularExpression/Quantifier.regex.txt)|Matches a quantifier|False|
|[REST_Variable](/Irregular/RegEx/REST/Variable.regex.ps1)|Matches variables within a RESTful URL. Variables can take several forms:
|True|
|[Security_AccessToken](/Irregular/RegEx/Security/AccessToken.regex.ps1)|Matches Access Tokens.
Access Tokens are single-line base64 strings that have more than -MinimumLength characters (default 40)|True|
|[Security_JWT](/Irregular/RegEx/Security/JWT.regex.txt)|Matches a JSON Web Token (JWT)|False|
|[SingleQuotedString](/Irregular/RegEx/SingleQuotedString.regex.ps1)|Matches a single quoted string, with an optional escape sequence (defaulting to two single quotes or a backslash).|True|
|[StartsWithCapture](/Irregular/RegEx/StartsWithCapture.regex.txt)|Matches if the string starts with a named capture, and captures the FirstCaptureName|False|
|[Subtitle_SRT](/Irregular/RegEx/Subtitle/SRT.regex.txt)|Matches a SubRip Subtitle|False|
|[Subtitle_VTT](/Irregular/RegEx/Subtitle/VTT.regex.txt)|Matches a WebVTT Subtitle|False|
|[Tag](/Irregular/RegEx/Tag.regex.txt)|This will match a balanced markup tag.|False|
|[TrueOrFalse](/Irregular/RegEx/TrueOrFalse.regex.txt)|Matches the literal 'true' or 'false'|False|
|[Unix_Conf_File](/Irregular/RegEx/Unix/Conf_File.regex.txt)|Matches Configuraiton File Content|False|
|[Unix_Conf_Line](/Irregular/RegEx/Unix/Conf_Line.regex.txt)|Matches Lines in a .conf or .ini file.|False|
|[Unix_Conf_Section](/Irregular/RegEx/Unix/Conf_Section.regex.txt)|Matches Sections in a .conf file.|False|
|[Unix_Cron_Interval](/Irregular/RegEx/Unix/Cron_Interval.regex.txt)|Matches a Cron interval|False|
|[Unix_Duration](/Irregular/RegEx/Unix/Duration.regex.txt)|Matches a Duration, defined in ISO 8601|False|
|[Unix_FileSystemType](/Irregular/RegEx/Unix/FileSystemType.regex.txt)|Matches a File System Type (described in /proc/filesystems)|False|
|[Unix_Mount](/Irregular/RegEx/Unix/Mount.regex.txt)|Matches a Unix Mount|False|
|[Unix_User](/Irregular/RegEx/Unix/User.regex.txt)|Matches a User (described in /etc/passwd)|False|