Regular expressions
Generates a string based opn a custom regular expression (Regex)
Last updated
Was this helpful?
Generates a string based opn a custom regular expression (Regex)
Last updated
Was this helpful?
Pattern: Enter the regular expression pattern to generate the data. For example, [a-z0-5]{10}
generates a 10-character string consisting of lowercase letters and digits from 0 to 5. Click on ...
button to display the Regex Expression Editor.
Add Suffix: Enter any additional suffix to append to the generated data (optional).
Replace only if Non-Null: Check this box to ensure that the faker only replaces non-null values in the column. If unchecked, it will replace all values, including nulls.
The regular expression "[a-z0-5]{10}" specifies a pattern that matches any sequence of 10 characters which are either lowercase letters between 'a' and 'z' or digits between '0' and '5'. The curly braces { } indicate that the preceding character set [a-z0-5] should be matched exactly 10 times.