gre?a?y matches "grey" and "gray" and "greay" and "gry" andĬreates a group to which other regular expression operations can be applied.įor example, ab+ matches "ab" and "abbbbbbb", but (ab)+ matches "ab" and "abab" and "ababab".
Matches the preceding character or group exactly zero or one times. Matches the preceding character or group one or more times.įor example, loo+k matches "look" and "looooooook" but not "lok". Matches the preceding character or group zero or more times.įor example, yay* matches "yay" and "yayyyyyyyy" and "ya". įor example, man. matches "many" and "mane". Below are some of the essential special characters to use when making your own RegEx: #Period. The strength of using regular expressions is utilizing special characters to find a variety of patterns within one search. While in some coding languages you can add a /g or /i or /m at the end of some RegEx searches, Iterable will not read that those as modifiers and will instead search for those specific characters. Iterable does not accept modifiers at the end of a RegEx search. ".*" is a wildcard that suggests the possibility of any number of characters existing wherever it is placed (including the possibility of zero characters). *Iterable.* will return anything containing a capitalized "Iterable". *Iterable will return "Iterable" and "Check out Iterable", but not "Iterable Growth Marketing Platform".
Iterable.* will return "Iterable" and "Iterable Growth Marketing Platform", but not "Check out Iterable".
Think of this as an "equals" or "exact match" search. If you are searching for (case-sensitive) "Iterable", this is how you might approach it: alifornia) allow you to account for different capitalizations.īy default, any RegEx value entered in Iterable will be pinned to the beginning and end of the string that you're searching for (no need to include "^" or "$"). Since performing Segmentation in Iterable does not require you to know be a proficient coder, there are a few key tips to know before creating your first RegEx expressions in Iterable:Ī RegEx of California will match any string that exactly resembles "California" ("california" would not be a match). Most assume you will be using RegEx while coding.
Validation check with asterisk how to#
Many online resources exist for tips on how to use RegEx. Comparing current day of the week to a value on the user profile.
Find phone numbers (including multiple formats).
Find all two-letter state abbreviations as used by the USPS.
Finding people who have birthdays in the first three months of the year.
Finding items with either upper case or lower case.
Searching for terms that have international spellings.