| These are the most important patterns available in RegexMagic for generating regular expressions. The screen shots show the settings that you can make specific to each pattern. Some of the patterns have another screen shot in the right margin that expands when you hover the mouse over it. The screen shots in the margin show how the pattern settings appear in RegexMagic. Unicode Characters  Match Unicode characters. You can type or paste in individual characters, or select Unicode character categories in the list. If RegexMagic doesn't have a pattern for (a part of) the text you're trying to match, you can always use one or more "Unicode characters" patterns to describe that text. Basic Characters  Match ASCII characters. You can type or paste in individual characters, or select basic character categories in the list. Character Masks  Require this field to match one of a list of simple character masks. These masks are similar to the masks used by the masked edit controls that many development tools offer to make it easier for the user to enter specific numbers or codes. E.g. (999) 999-9999 could be the mask for a North American phone number. List Of Literal Text  Type in or paste in a list of text to generate a regular expression that matches one of the lines of text. Literal Text  Always match the same piece of text. Though this pattern is not very useful on its own (as you could just run a literal text search), it is very handy in combination with the other patterns when the text you want to match includes fixed labels or delimiters. Literal Bytes  Always match the same block of bytes. Though this pattern is not very useful on its own (as you could just run a literal bytes search), it is very handy in combination with the other patterns when the bytes you want to match include fixed sequences or delimiters. Control Characters  Match any of the ASCII control characters you select in the list. Number  Match floating point numbers or monetary values. RegexMagic provides a wide range of options for signs, decimals, separators, exponents, currency signs and codes, etc. Integer  Match integer numbers in decimal, hexadecimal, octal and/or binary notation. Date And Time  Match a date and/or a time. You can use simple date and time format specifiers to indicate which date and/or time formats you want to allow. When spelling out day and month names, you can type in the names in the language that your regex should support. Email Address  Match an email address. You can restrict the email address to certain user names and/or domain names. URL  Match an Internet address. RegexMagic provides various options to match only specific URLs. Country  Match a country code or country name as defined in the ISO 3166 standard. You can restrict the pattern to the codes and/or names of specific countries. State or Province  Match the name and/or code of a state or province from a list of specific states or all states or provinces from specific countries. Currency  match a currency code as defined in the ISO 4217 standard. You can restrict the pattern to specific currencies. Credit Card Number  Match a credit card number issues by one or more of the world's major credit card companies. National ID  ID card numbers, social security numbers, license plate numbers, etc. used in particular countries. VAT Number  Value Added Tax numbers used in the European Union. IPv4 Address  Match an IPv4 internet address or a range of addresses in dotted decimal notation or as a decimal or hexadecimal number. GUID  Match a Globally Unique Identifier. Regular Expression  Use an arbitrary regular expression. This pattern is useful for using regular expressions you've obtained from elsewhere with RegexMagic. RegexMagic can interpret all the regular expression flavors for which it can generate regular expressions. Pattern Used by Another Field  If two or more parts of your regular expression fit the same pattern then you need to specify that pattern only once. With the "pattern used by another field" pattern you can reference this pattern as many times as you want. Text Matched by Another Field  Make one part of your regular expression match exactly the same text as was matched by another part of your regular expression. Match Anything  Allow part of your regular expression to match any text. Since "anything" usually isn't truly anything this pattern provides various options to make sure the "anything" part of your regex doesn't overstep its boundaries. |