{"expression": "^\\d$", "raw_prompt": "Matches exactly 1 numeric digit (0-9).", "refined_prompt": "Matches exactly 1 numeric digit (0-9).\nMatch examples:\n- \"1\"\n- \"2\"\n- \"3\"\nNon-match examples:\n- \"a\"\n- \"324\"", "matches": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"], "non_matches": ["a", "324", "num", "location = 3", "ssda", "11", "hello world", "something something", "asd", "123fsf", "the car", "lorem ipsum"], "id": 1} {"expression": "^\\d{5}$", "raw_prompt": "Matches 5 numeric digits, such as a zip code.", "refined_prompt": "Matches 5 numeric digits, such as a zip code.\nMatch examples:\n- \"33333\"\n- \"55555\"\n- \"23445\"\nNon-match examples:\n- \"abcd\"\n- \"1324\"", "matches": ["33333", "55555", "23445", "89343", "46556", "25432", "25336", "43576", "68797", "30495", "54348", "45935", "93857"], "non_matches": ["abcd", "1324", "as;lkjdf", "jaldks", "234", "8hr4f", "fsdg", "2546dgwre", "8j989", "xhsn", "potrewjdsg", "h345gf43"], "id": 2} {"expression": "^\\d{5}-\\d{4}$", "raw_prompt": "Numeric and hyphen 5+4 ZIP code match for ZIP+4.", "refined_prompt": "Matches a string that starts with five digits, followed by a hyphen, and ends with four digits.\nMatch examples:\n- \"22222-3333\"\n- \"34545-2367\"\n- \"56334-2343\"\nNon-match examples:\n- \"123456789\"\n- \"A3B 4C5\"", "matches": ["22222-3333", "34545-2367", "56334-2343", "34539-5433", "12349-5943", "54329-9875", "34852-5493", "83542-2314", "52435-3489", "12345-0983", "98745-2385", "48294-2945"], "non_matches": ["123456789", "A3B 4C5", "55335", "dinfa", "sfalijad234", "asdf3453", "dsjlka3", "234fsd", "gaqwer3", "adfa2", "23457-4332w2"], "id": 3} {"expression": "^\\d{5}$|^\\d{5}-\\d{4}$", "raw_prompt": "This regular expression will match either a 5 digit ZIP code or a ZIP+4 code formatted as 5 digits, a hyphen, and another 4 digits. Other than that, this is just a really really long description of a regular expression that I'm using to test how my front page will look in the case where very long expression descriptions are used.", "refined_prompt": "Match either a 5 digit ZIP code or a ZIP+4 code formatted as a string that starts with five digits, followed by a hyphen, and ends with four digits..\nMatch examples:\n- \"55555-5555\"\n- \"34564-3342\"\n- \"90210\"\nNon-match examples:\n- \"434454444\"\n- \"645-32-2345\"", "matches": ["55555-5555", "34564-3342", "90210", "03945", "02946", "46556", "52346", "34534-3252", "49672-3923", "59403-6934", "35349-6753", "52346-3953"], "non_matches": ["434454444", "645-32-2345", "abc", "394-3498", "234565423", "j3942fw", "43-5432", "5324523-345", "h909f34f", "0953jg", "wtre-0n", "3409fjg43"], "id": 4} {"expression": "^\\d{3}-\\d{2}-\\d{4}$", "raw_prompt": "This regular expression will match a hyphen-separated Social Security Number (SSN) in the format NNN-NN-NNNN.", "refined_prompt": "This regular expression will match a hyphen-separated Social Security Number (SSN) in the format NNN-NN-NNNN.\nMatch examples:\n- \"333-22-4444\"\n- \"123-45-6789\"\n- \"534-74-2573\"\nNon-match examples:\n- \"123456789\"\n- \"SSN\"", "matches": ["333-22-4444", "123-45-6789", "534-74-2573", "234-45-6235", "968-24-4395", "948-53-5924", "493-42-5938", "954-97-5942", "534-96-3623", "549-69-3456", "543-54-6396", "294-68-1957"], "non_matches": ["123456789", "SSN", "-243", "4523-24352-453", "2346-2345-2435", "dgsfjkl", "2204fj", "234jgs-345", "4235-fgdsg", "afd-asdf", "dfg", "32542"], "id": 5} {"expression": "^[a-zA-Z]$", "raw_prompt": "Matches any single upper- or lower-case letter.", "refined_prompt": "Matches any single upper- or lower-case letter.\nMatch examples:\n- \"a\"\n- \"B\"\n- \"c\"\nNon-match examples:\n- \"0\"\n- \"&\"", "matches": ["a", "B", "c", "f", "J", "D", "s", "D", "d", "o", "F", "p", "r"], "non_matches": ["0", "&", "AbC", "rewv342", "vr", "@", "sdfSDF", "asf", "324df", "34fs2", "34d2vdw", "99999@gmail"], "id": 6} {"expression": "^[a-zA-Z]+$", "raw_prompt": "Matches any string of only upper- and lower- case letters (no spaces).", "refined_prompt": "Matches any string of only upper- and lower- case letters (no spaces).\nMatch examples:\n- \"abc\"\n- \"ABC\"\n- \"aBcDeF\"\nNon-match examples:\n- \"abc123\"\n- \"mr.\"", "matches": ["abc", "ABC", "aBcDeF", "dfasdfs", "ALKFJsf", "FDSfdsf", "AJFDAL", "sfdjk", "FISD", "sadfkjl", "fadghui", "FDSnfsdFDS", "sdfjoi"], "non_matches": ["abc123", "mr.", "a word", "a a a", "209fsd", "3nf@", "fgsda23", "nu9", "u09nKLJG FSL", "gdfios jsfoi", "JFLSKJ FSDOIJ", "GOOD friend"], "id": 7} {"expression": "^[a-zA-Z0-9]+$", "raw_prompt": "Matches any alphanumeric string (no spaces).", "refined_prompt": "Matches any alphanumeric string (a string that contains only English letters and/or digits without spaces).\nMatch examples:\n- \"10a\"\n- \"ABC\"\n- \"A3fg\"\nNon-match examples:\n- \"45.3\"\n- \"this or that\"", "matches": ["10a", "ABC", "A3fg", "AFDSA", "asfsafd", "123", "123123abcAfds", "2398djAD", "dsfhoi329", "98hsd", "NOTREDAME", "ILOVEND", "notredame46556"], "non_matches": ["45.3", "this or that", "$23", "...111", "2346-2345-2435", "3nf@", "43-5432", "2546dgwre fsdfsd", "u09nKLJG FSL", "90ndfdfs ,./././ dcf", "sdf324 abc...", "99999@gmail"], "id": 8} {"expression": "^\\d+$", "raw_prompt": "Positive integer value.", "refined_prompt": "Positive integer value.\nMatch examples:\n- \"123\"\n- \"10\"\n- \"54\"\nNon-match examples:\n- \"-54\"\n- \"54.234\"", "matches": ["123", "10", "54", "39", "583", "395", "2394", "2394854", "384", "324", "222", "1", "2", "39", "583", "395", "2394", "2394854", "384", "324", "222", "1", "2"], "non_matches": ["-54", "54.234", "abc", "-123", "9ijn", "qwer", "-312", "1.1", "1.1.1", "1-1-2", "34.31", "8h98009hu", "-123", "9ijn", "qwer", "-312", "1.1", "1.1.1", "1-1-2", "34.31", "8h98009hu"], "id": 9} {"expression": "^(\\+|-)?\\d+$", "raw_prompt": "Matches any signed integer.", "refined_prompt": "Matches any signed integer, in other words, a string that can start with an optional plus (+) or minus (-) sign, followed by one or more digits.\nMatch examples:\n- \"-34\"\n- \"34\"\n- \"+5\"\nNon-match examples:\n- \"abc\"\n- \"3.1415\"", "matches": ["-34", "34", "+5", "809", "790987", "+5483920", "-2354", "+540893", "-234", "2349", "5094", "234234", "+123"], "non_matches": ["abc", "3.1415", "-5.3", "0bu9", "234dc", "312ccc", "123u98b", "1.2", "-2.3", "4.5", "+4.5", "-99.99"], "id": 10} {"expression": "^[a-zA-Z]\\w{3,14}$", "raw_prompt": "The password's first character must be a letter, it must contain at least 4 characters and no more than 15 characters and no characters other than letters, numbers and the underscore may be used", "refined_prompt": "The password's first character must be a letter, it must contain at least 4 characters and no more than 15 characters and no characters other than letters, numbers and the underscore may be used.\nMatch examples:\n- \"abcd\"\n- \"aBc45DSD_sdf\"\n- \"password\"\nNon-match examples:\n- \"afv\"\n- \"1234\"", "matches": ["abcd", "aBc45DSD_sdf", "password", "F3fsdsdf_234", "F0392", "fd02934", "k2039", "ABC09314", "abc_ABC", "NOTREDAME", "fadghui", "QWERTY", "p0p0p0"], "non_matches": ["afv", "1234", "reallylongpassword", "1", "234", "ab", "123312312", "98iojk", "9ijk", "98hsdf", "longlonglonglonglong", "hello12345hello12345"], "id": 11} {"expression": "^\\w+@[a-zA-Z_]+?\\.[a-zA-Z]{2,3}$", "raw_prompt": "Simple email expression. Doesn't allow numbers in the domain name and doesn't allow for top level domains that are less than 2 or more than 3 letters (which is fine until they allow more). Doesn't handle multiple "." in the domain (joe@abc.co.uk).", "refined_prompt": "Checks if an email address starts with one or more alphanumeric characters, followed by the \"@\" symbol, a domain name with letters or underscores, a dot, and finally a domain extension with two or three letters.\nMatch examples:\n- \"joe@aol.com\"\n- \"ssmith@aspalliance.com\"\n- \"a@b.cc\"\nNon-match examples:\n- \"joe@123aspx.com\"\n- \"joe@web.info\"", "matches": ["joe@aol.com", "ssmith@aspalliance.com", "a@b.cc", "apple@qq.com", "123@qq.com", "abc@abc.com", "ab@ab.ab", "bc@bc.bc", "avpl@qq.cn", "sustech@nd.com", "msft@nd.us", "notredame@nd.edu"], "non_matches": ["joe@123aspx.com", "joe@web.info", "joe@company.co.uk", "234dsf@032ijsd.fasdf.sdf", "fads@sdaf@asdf", "89ioj@9ijosf", "abc@abc", "a@a.a.a", "qwerty@123.123", "123@sustech.edu.cn", "apple@banana", "test@test.test"], "id": 12} {"expression": "^\\d{1,2}\\/\\d{1,2}\\/\\d{4}$", "raw_prompt": "This regular expressions matches dates of the form XX/XX/YYYY where XX can be 1 or 2 digits long and YYYY is always 4 digits long.", "refined_prompt": "This regular expressions matches dates of the form XX/XX/YYYY where XX can be 1 or 2 digits long and YYYY is always 4 digits long.\nMatch examples:\n- \"4/1/2001\"\n- \"12/12/2001\"\n- \"55/5/3434\"\nNon-match examples:\n- \"1/1/01\"\n- \"12 Jan 01\"", "matches": ["4/1/2001", "12/12/2001", "55/5/3434", "1/1/1111", "2/2/2222", "23/3/3333", "11/11/1111", "1/1/1111", "30/30/3030", "55/5/5555", "5/55/5678", "12/12/1221", "55/44/4321"], "non_matches": ["1/1/01", "12 Jan 01", "1-1-2001", "1/1/1", "2/2/22", "3/3/333", "5/5/55555", "44/444/4", "Oct 7 2002", "1007", "qwerty", "2020/2/2"], "id": 13} {"expression": "^[1-5]$", "raw_prompt": "This matches a single numeric digit between 1 and 5, and is the same as saying ^[12345]$.", "refined_prompt": "Matches a single digit between 1 and 5, inclusive. It will only match a single character that is exactly one of the digits 1, 2, 3, 4, or 5, and is the same as saying ^[12345]$.\nMatch examples:\n- \"1\"\n- \"3\"\n- \"4\"\nNon-match examples:\n- \"6\"\n- \"23\"", "matches": ["1", "3", "4", "2", "5"], "non_matches": ["6", "23", "a", "12", "243", "562", "f324", "fvd", "-2", "7", "-1", "000"], "id": 15} {"expression": "^[12345]$", "raw_prompt": "This matches a single numeric digit between 1 and 5, and is the same as saying ^[1-5]$.", "refined_prompt": "This matches a single numeric digit between 1 and 5, and is the same as saying ^[1-5]$.\nMatch examples:\n- \"1\"\n- \"2\"\n- \"4\"\nNon-match examples:\n- \"6\"\n- \"-1\"", "matches": ["1", "2", "4", "3", "5"], "non_matches": ["6", "-1", "abc", "-123", "234", "3nf@", "-312", "2546dgwre", "u09nKLJG FSL", "1-1-2", "dfg", "32542"], "id": 16} {"expression": "^[2-9]\\d{2}-\\d{3}-\\d{4}$", "raw_prompt": "This expression matches a hyphen separated US phone number, of the form ANN-NNN-NNNN, where A is between 2 and 9 and N is between 0 and 9.", "refined_prompt": "This expression matches a hyphen separated US phone number, of the form ANN-NNN-NNNN, where A is between 2 and 9 and N is between 0 and 9.\nMatch examples:\n- \"800-555-5555\"\n- \"333-444-5555\"\n- \"212-666-1234\"\nNon-match examples:\n- \"000-000-0000\"\n- \"123-456-7890\"", "matches": ["800-555-5555", "333-444-5555", "212-666-1234", "444-555-6666", "300-000-0000", "444-444-4444", "678-678-6789", "987-987-9876", "543-543-5678", "794-564-7456", "368-654-7568", "987-978-4732", "655-878-3664"], "non_matches": ["000-000-0000", "123-456-7890", "2126661234", "549-234-253", "235235234", "9h09dh9", "000-000-0000", "111-111-1111", "u09nKLJG FSL", "adfa2", "222-222-22222", "123-456-7890"], "id": 18} {"expression": "^[a-zA-Z0-9\\-\\.]+\\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$", "raw_prompt": "Domain names:\nThis regular expression tests the validity of a domain or hostname. It will match any valid domain name that does not contain characters which are invalid in URLs, and which ends in .com, .org, .net, .mil, or .edu. You can add additional valid TLDs by appending the | (pipe) character and the desired TLD to the list in the parens.", "refined_prompt": "Match strings that start with one or more alphanumeric characters, hyphens, or dots, followed by a dot, and end with either \"com\", \"org\", \"net\", \"mil\", or \"edu\" (case insensitive). This is typically used to validate domain names.\nMatch examples:\n- \"3SquareBand.com\"\n- \"asp.net\"\n- \"army.mil\"\nNon-match examples:\n- \"$SquareBand.com\"\n- \"asp/dot.net\"", "matches": ["3SquareBand.com", "asp.net", "army.mil", "baidu.com", "google.com", "sustech.edu", "milion.mil", "brooklyn.net", "apple.com", "nd.edu", "abc.net", "zzz.edu", "notredame.com"], "non_matches": ["$SquareBand.com", "asp/dot.net", "army.military", "adsfsafs.com.qer", "9injd23.net.abc", "a/b/c.com", "nd.education", "nd.computer", "github.abc", "com.edu.github", "@#$.com", "abcabc.abc"], "id": 20} {"expression": "^(?=.*\\d).{4,8}$", "raw_prompt": "Password expression. Password must be between 4 and 8 digits long and include at least one numeric digit.", "refined_prompt": "Password expression. Password must be between 4 and 8 digits long and include at least one numeric digit.\nMatch examples:\n- \"1234\"\n- \"asdf1234\"\n- \"asp123\"\nNon-match examples:\n- \"asdf\"\n- \"asdf12345\"", "matches": ["1234", "asdf1234", "asp123", "09jio", "dfahui09", "ifjd9", "dsuui6", "34jio23", "1234567", "9jid33", "09jc", "nonum00", "a1b2c3"], "non_matches": ["asdf", "asdf12345", "password", "oijsdfa000", "90jio09iomk", "123", "999", "4digitlong", "helloworld", "number", "abc111def", "8a8"], "id": 25} {"expression": "^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$", "raw_prompt": "Password matching expression. Password must be at least 4 characters, no more than 8 characters, and must include at least one upper case letter, one lower case letter, and one numeric digit.", "refined_prompt": "Password matching expression. Password must be at least 4 characters, no more than 8 characters, and must include at least one upper case letter, one lower case letter, and one numeric digit.\nMatch examples:\n- \"asD1\"\n- \"asDF1234\"\n- \"ASPgo123\"\nNon-match examples:\n- \"asdf\"\n- \"1234\"", "matches": ["asD1", "asDF1234", "ASPgo123", "Aa1Bb2", "sdafAF1", "FDS3fs", "111AAAa", "pokdfsA9", "FODISd8", "823FDSd", "j09FFF", "jso00QQ", "SD0dsff"], "non_matches": ["asdf", "1234", "ASDF12345", "oinjoFW", "FWOEjinfw908", "lkkl0908", "AAAAAAA", "adfjsfk", "88888888", "Aa1", "BbBbBbBb2222", "0j0jweBBBB"], "id": 26} {"expression": "^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$", "raw_prompt": "RegExp for validating the format of IP Addresses. This works great with the ASP.NET RegularExpressionValidator server control.", "refined_prompt": "Ensures that the string matches a valid IP address format, where each part of the address falls within the range of 0 to 255.\nMatch examples:\n- \"127.0.0.1\"\n- \"255.255.255.0\"\n- \"192.168.0.1\"\nNon-match examples:\n- \"1200.5.4.3\"\n- \"abc.def.ghi.jkl\"", "matches": ["127.0.0.1", "255.255.255.0", "192.168.0.1", "234.234.234.234", "1.1.1.1", "195.35.98.3", "5.5.5.5", "88.88.88.88", "38.68.64.123", "199.198.197.196", "123.124.125.126", "135.146.157.168", "53.24.34.67"], "non_matches": ["1200.5.4.3", "abc.def.ghi.jkl", "255.foo.bar.1", "nd.nd.nd.nd", "123.456.789", "987.988.989", "carry", "12f3.21f3.213f", "9.9.9.9.9", "654.654.654", "g3.g543.g45", "0988.74534.5464"], "id": 27} {"expression": "^[\\w\\.=-]+@[\\w\\.-]+\\.[\\w]{2,3}$", "raw_prompt": "Much simpler email expression. This one forces a length of 2 or 3, which fits current specs, but you may need to alter the end as this one allows all numerals on the .COM section.", "refined_prompt": "Starts with one or more word characters, dots, equal signs, or hyphens.\r\nFollowed by an @ symbol.\r\nFollowed by one or more word characters, dots, hyphens, or dots.\r\nFollowed by a dot (.)\r\nEnds with two or three word characters.\nMatch examples:\n- \"a@a.com\"\n- \"a@a.com.au\"\n- \"a@a.au\"\nNon-match examples:\n- \"word\"\n- \"word@\"", "matches": ["a@a.com", "a@a.com.au", "a@a.au", "abc@abc.abc", "baidu@qq.com", "qq@qq.com", "abc@ab.cn", "hi@nd.edu", "nd@edu.us", "us@nd.edu", "cse@nd.edu", "hello@hi.us", "abc@msft.org"], "non_matches": ["word", "word@", "@word", "iasdjf@", "@09jafsd", "sdaf.FSD", "@@fsdfa.fsad", "09jfs@osifdj@sdf", "dsfl", "092j3d", "sda sad", "@sdaf@sdf123"], "id": 34} {"expression": "^\\$[0-9]+(\\.[0-9][0-9])?$", "raw_prompt": "Validates a dollar amount including a dollar sign and 2 decmals. The decimal and cents are optional.", "refined_prompt": "Matches strings that start with a dollar sign, followed by one or more digits, and optionally followed by a dot and exactly two more digits representing the decimal part.\nMatch examples:\n- \"$1.50\"\n- \"$49\"\n- \"$0.50\"\nNon-match examples:\n- \"1.5\"\n- \"$1.333\"", "matches": ["$1.50", "$49", "$0.50", "$1", "$10", "$99.99", "$1.12", "$5.55", "$66.66", "$100", "$88", "$68", "$50.50"], "non_matches": ["1.5", "$1.333", "this $5.12 fails", "$4.2", "234.634", "$23.454", "$3.2", "66.66", "#32.34", "$.23", "$345.605", "\u00a5423.34"], "id": 36} {"expression": "^([\\w\\d\\-\\.]+)@{1}(([\\w\\d\\-]{1,67})|([\\w\\d\\-]+\\.[\\w\\d\\-]{1,67}))\\.(([a-zA-Z\\d]{2,4})(\\.[a-zA-Z\\d]{2})?)$", "raw_prompt": "This pattern allows standard e-mail addresses (e.g. user@domain.com), sub domains (e.g. user@foo.domain.com), the new two- and four-letter domains (e.g. user@domain.tv and user@domain.name) and country codes (e.g. user@foo.com.us). Also, this patter follows the Network Solutions standard length of 67 characters for top-level domains. The reason I allow numbers to be entered in the domain suffix is for future planning. If you do not want numbers to be able to be added as a domain suffix (e.g. user@domain.123), simply delete the last two occurrences of "\\d".", "refined_prompt": "This pattern allows standard e-mail addresses (e.g. user@domain.com), sub domains (e.g. user@foo.domain.com), the new two- and four-letter domains (e.g. user@domain.tv and user@domain.name) and country codes (e.g. user@foo.com.us). Also, this patter follows the Network Solutions standard length of 67 characters for top-level domains.\nMatch examples:\n- \"foo@foo.com\"\n- \"foo@foo-foo.com.au\"\n- \"foo@foo.foo.info\"\nNon-match examples:\n- \"foo@.com\"\n- \"foo@foo..com\"", "matches": ["foo@foo.com", "foo@foo-foo.com.au", "foo@foo.foo.info", "abc@abc.com", "fds@gad-agd.com.us", "bds@bfv.foo.info", "def@def.com", "foo@org-foo.org.au", "bop@foo.qre.info", "asd@fsa.com", "gad@afd.ghe.au", "hcs@bfq.foo.info", "gas@dfs-erw.org.au"], "non_matches": ["foo@.com", "foo@foo..com", "foo@me@.com", "fasd@fds.fasd@", "fa0efj3@fs.FSDFr32@", "vsdfaslk..adsaf", "cfa@oifsd", "@R#@@#RDS", "fdssdf@FSD.fweoijF@", "fdsa.@FDS.@FD", "fdsf@@@fsdf", "gsfdoji@FDS"], "id": 41} {"expression": "^[0-9]+$", "raw_prompt": "Validate a string to see if it contains a number / integer", "refined_prompt": "Matches strings that consist entirely of one or more digits (0-9).\nMatch examples:\n- \"1234567890\"\n- \"4123109\"\n- \"53421\"\nNon-match examples:\n- \"f423\"\n- \"f34fvfv\"", "matches": ["1234567890", "4123109", "53421", "512345", "123451", "5123543", "12356", "9", "65409", "34905", "5436", "65409", "245309"], "non_matches": ["f423", "f34fvfv", "34f2vf42e", "234.f23v425", "f2v3r", "f23r2", "2fre2", "vfre2fvre", "fer222r3", "erfv2", "2fe2vf", "2efr245"], "id": 42} {"expression": "^.{4,8}$", "raw_prompt": "Matches any string between 4 and 8 characters in length. Limits the length of a string. Useful to add to password regular expressions.", "refined_prompt": "Matches any string between 4 and 8 characters in length. Limits the length of a string.\nMatch examples:\n- \"asdf\"\n- \"1234\"\n- \"asdf1234\"\nNon-match examples:\n- \"asd\"\n- \"123\"", "matches": ["asdf", "1234", "asdf1234", "adsji", "gj0q3", "f234f24", "2f43f", "432g2g", "g324", "g342g432", "g43g23y", "u7jj74", "j746t"], "non_matches": ["asd", "123", "asdfe12345", "09u4ff2n3094", "23t4v90m2", "34", "2", "v", "2b3t2tb43", "t24b32tv43", "nu5624t3v", "j2v"], "id": 45} {"expression": "^\\d*$", "raw_prompt": "Accepts an unsigned integer number. Also matches empty strings.", "refined_prompt": "Accepts an unsigned integer number. Also matches empty strings.\nMatch examples:\n- \"123\"\n- \"000\"\n- \"43\"\nNon-match examples:\n- \"asbc\"\n- \"-34\"", "matches": ["123", "000", "43", "435", "513", "651", "3416", "16", "6143", "643", "76", "876", "34"], "non_matches": ["asbc", "-34", "3.1415", "f443", "2f43", "3.3", "-1", "25v3", "3425-13", "4352-5243254.", "gwerb", "32vt"], "id": 46} {"expression": "^[-+]?\\d*$", "raw_prompt": "Matches any integer number or numeric string, including positive and negative value characters (+ or -). Also matches empty strings.", "refined_prompt": "Matches any integer number or numeric string, including positive and negative value characters (+ or -). Also matches empty strings.\nMatch examples:\n- \"123\"\n- \"-123\"\n- \"+123\"\nNon-match examples:\n- \"abc\"\n- \"3.14159\"", "matches": ["123", "-123", "+123", "34091511", "+54", "-12314", "5134514", "-5243", "+4145", "35134", "-543", "+65", "5134513"], "non_matches": ["abc", "3.14159", "-3.14159", "543.435", "432v", "43.v234", "1-1-1", "2v345234v", "22-423", "435.vwre-34", "44-6234", "+24-234.345"], "id": 47} {"expression": "^\\d*\\.?\\d*$", "raw_prompt": "Matches any unsigned floating point number/numeric string. Also matches empty strings.", "refined_prompt": "Matches any unsigned floating point number/numeric string. Also matches empty strings.\nMatch examples:\n- \"123\"\n- \"3.14159\"\n- \".234\"\nNon-match examples:\n- \"abc\"\n- \"-3.14159\"", "matches": ["123", "3.14159", ".234", "354.5342", "654.435", "6254.2345", "543", "2345", "3465", "7542", "6254.4526", "742", "7225464526"], "non_matches": ["abc", "-3.14159", "3.4.2", "b5242g", "f45.2g", "b254yb54.254yb", "2y45.y245", "254627g.256", "-2.22", "3g54", "-652.63264", "3yb43yb5"], "id": 48} {"expression": "^([0-9]( |-)?)?(\\(?[0-9]{3}\\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$", "raw_prompt": "Matches US phone number format. 1 in the beginning is optional, area code is required, spaces or dashes can be used as optional divider between number groups. Also alphanumeric format is allowed after area code.", "refined_prompt": "Matches US phone number format. 1 in the beginning is optional, area code is required, spaces or dashes can be used as optional divider between number groups. Also alphanumeric format is allowed after area code.\nMatch examples:\n- \"1-(123)-123-1234\"\n- \"123 123 1234\"\n- \"1-800-ALPHNUM\"\nNon-match examples:\n- \"1.123.123.1234\"\n- \"(123)-1234-123\"", "matches": ["1-(123)-123-1234", "123 123 1234", "1-800-ALPHNUM", "258 426 6254", "1-(531)-123-5435", "258 426 5131", "1-(123)-754-7517", "1-846-ALPHNUM", "653 426 5431", "1-(866)-123-8648", "1-653-ALPHNUM", "534 643 6254", "258 426 7635"], "non_matches": ["1.123.123.1234", "(123)-1234-123", "123-1234", "546", "1324.1541", "f234f23", "56", "4562452642562456", "541543.415", "4325265426624", "654", "4351.1345"], "id": 53} {"expression": "^([0-1][0-9]|[2][0-3]):([0-5][0-9])$", "raw_prompt": "Matches a string if it is a valid time in the format of HH:MM", "refined_prompt": "Matches a string if it is a valid time in the format of HH:MM\nMatch examples:\n- \"02:04\"\n- \"16:56\"\n- \"23:59\"\nNon-match examples:\n- \"02:00 PM\"\n- \"PM2:00\"", "matches": ["02:04", "16:56", "23:59", "15:42", "15:34", "16:43", "06:54", "05:25", "05:23", "07:52", "06:24", "03:53", "03:27"], "non_matches": ["02:00 PM", "PM2:00", "24:00", "71:543t4", "51:534", "75:62", "86:75", "48:345", "57:73", "2am", "4pm", "253@#RFE"], "id": 54} {"expression": "^\\s*[a-zA-Z,\\s]+\\s*$", "raw_prompt": "Any Expression Upper/Lower Case, with commas and space between the text, with any amount of space before or after", "refined_prompt": "Match strings that consist of alphabetic characters (both lowercase and uppercase) and commas, allowing for leading and trailing whitespace.\nMatch examples:\n- \"Smith, Ed\"\n- \"Ed Smith\"\n- \"aBcDeFgH\"\nNon-match examples:\n- \"a123\"\n- \"AB5\"", "matches": ["Smith, Ed", "Ed Smith", "aBcDeFgH", "Michael afds", "fnsdkajf", "Hello world", "asdfafds adsf", "afdsffda asddas", "fads, asdf", "sda, fasf", "EFDSF, FSD", "fasdf, FDS", "FDSfdso JDSF"], "non_matches": ["a123", "AB5", "Mr. Ed", "vqvq.ecqw", "cqrewcr/qtv", "fqsdv$vw", "@#dfkjnav", "2546dgwre", "u09nKLJG FSL", "1-1-2", "34.31", "32542"], "id": 57} {"expression": "^\\d{5}(-\\d{4})?$", "raw_prompt": "Matches standard 5 digit US Zip Codes, or the US ZIP + 4 Standard.", "refined_prompt": "Matches standard 5 digit US Zip Codes, or the US ZIP + 4 Standard.\nMatch examples:\n- \"48222\"\n- \"48222-1746\"\n- \"51314\"\nNon-match examples:\n- \"4632\"\n- \"Blake\"", "matches": ["48222", "48222-1746", "51314", "61341", "64316", "43534", "46556", "54315-1634", "64316-1643", "74567-2456", "26543-2664", "27563", "57422"], "non_matches": ["4632", "Blake", "37333-32", "4235", "543161435", "1543543", "15436131", "1534513", "4351-345151", "13451534-514351", "3415-34564", "3461-436643"], "id": 68} {"expression": "(^\\+[0-9]{2}|^\\+[0-9]{2}\\(0\\)|^\\(\\+[0-9]{2}\\)\\(0\\)|^00[0-9]{2}|^0)([0-9]{9}$|[0-9\\-\\s]{10}$)", "raw_prompt": "Regular expression to evaluate dutch-style phone numbers. Possible example prefixes: +31, +31(0), (+31)(0), 0, 0031\nfollowed by 9 numbers (which can contain a space or -).", "refined_prompt": "Match strings representing Dutch-style phone numbers. It allows for an optional country code, with various formats accepted. Possible example prefixes: +31, +31(0), (+31)(0), 0, 0031\r\nfollowed by 9 numbers (which can contain a space or -). The main content of the phone number can consist of nine or ten digits, with optional hyphens or spaces in the ten-digit format.\nMatch examples:\n- \"+31235256677\"\n- \"+31(0)235256677\"\n- \"023-5256677\"\nNon-match examples:\n- \"+3123525667788999\"\n- \"3123525667788\"", "matches": ["+31235256677", "+31(0)235256677", "023-5256677", "+31235248394", "+31235256839", "+31(0)235256839", "+31(0)267395867", "+31(0)235259495", "+31(0)573956677", "023-5255729", "023-5268277", "023-5583757", "023-5839583"], "non_matches": ["+3123525667788999", "3123525667788", "232-2566778", "09827509480193284014", "9845092820459524-2435234", "2435-435", "2345-652", "23fu490n", "243.2543", "+354+534", "5334.435", "++63453.345"], "id": 69} {"expression": "^\\d{9}[\\d|X]$", "raw_prompt": "A very simple ISBN validation expression - it just checks for a 10 digit number where the last digit could also be a capital 'X'. Complete specs for ISBN available here:\nhttp://www.isbn.org/standards/home/isbn/international/html/usm4.htm. An enhancement would be to allow exactly 3 or 0 hyphens or 3 or 0 spaces, since these are also valid formats.", "refined_prompt": "Checks for a 10 digit number where the last digit could also be a capital 'X'.\nMatch examples:\n- \"1234123412\"\n- \"123412341X\"\n- \"4738195735\"\nNon-match examples:\n- \"not an isbn\"\n- \"54390853\"", "matches": ["1234123412", "123412341X", "4738195735", "4582943285", "5284574935", "5243524396", "5930285928", "5534098534", "620598320X", "534809534X", "123141414X", "432423432X", "502498905X"], "non_matches": ["not an isbn", "54390853", "53495083409x", "452093xx", "534985309XX", "24309X", "098423098029840293", "4029384230980980X", "9vu82i3nuif", "423890jidofs", "2398ufsd", "893420980)U(X"], "id": 73} {"expression": "^(([1-9])|(0[1-9])|(1[0-2]))\\/(([0-9])|([0-2][0-9])|(3[0-1]))\\/(([0-9][0-9])|([1-2][0,9][0-9][0-9]))$", "raw_prompt": "Dates\nday: d or dd, <= 31,\nmonth: m or mm, <= 12,\nyear: yy or yyyy >= 1900, <= 2099", "refined_prompt": "The regular expression represents a date format where the day, month, and year are separated by forward slashes (/), and the allowed ranges for each component are:\r\nday (d or dd): from 1 to 31\r\nmonth (m or mm): from 1 to 12\r\nyear (yy or yyyy): from 1900 to 2099\nMatch examples:\n- \"01/01/2001\"\n- \"1/1/1999\"\n- \"10/20/2080\"\nNon-match examples:\n- \"13/01/2001\"\n- \"1/1/1800\"", "matches": ["01/01/2001", "1/1/1999", "10/20/2080", "1/1/2000", "2/2/2022", "10/10/2020", "12/12/2012", "7/30/2020", "4/29/2008", "4/5/2034", "7/04/2043", "05/5/2005", "6/06/2006", "1/1/2000", "2/2/2022", "10/10/2020", "12/12/2012", "7/30/2020", "4/29/2008", "4/5/2034", "7/04/2043", "05/5/2005", "6/06/2006", "1/1/2000", "2/2/2022", "10/10/2020", "12/12/2012", "7/30/2020", "4/29/2008", "4/5/2034", "7/04/2043", "05/5/2005", "6/06/2006"], "non_matches": ["13/01/2001", "1/1/1800", "10/32/2080", "12/123/4322", "234/423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/9", "12/132/90", "12/123/4322", "234/423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/9", "12/132/90", "12/123/4322", "234/423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/9", "12/132/90"], "id": 74} {"expression": "^\\d*\\.?((25)|(50)|(5)|(75)|(0)|(00))?$", "raw_prompt": "This is a pattern to search and verify that a decimal number ends with a 25, 50, 75, 0 or 00. It does match for a nothing after decimal also but I guess thats ok !!", "refined_prompt": "This is a pattern to search and verify that a decimal number ends with a 25, 50, 75, 0 or 00. It also match for nothing after decimal or even without decimal point.\nMatch examples:\n- \"0.25\"\n- \".75\"\n- \"123.50\"\nNon-match examples:\n- \".77\"\n- \"1.435\"", "matches": ["0.25", ".75", "123.50", "45091674723.", "15584775298650162922847293711339482454366793954997125", "9882085266649734497491.5", "7268907166939050834340423712961385078969.50", "870674387058196172857063", "339138741572321245.75", "652119432575.", "654232119475.", "652119475.25", "652432119475.50"], "non_matches": [".77", "1.435", "3.13", "3124.324", "423.52", "312.452", "423.4234.243", "54.32", "3124.5242", "542.134", "542.423", "534.342435"], "id": 75} {"expression": "^(\\d{5}-\\d{4}|\\d{5})$|^([a-zA-Z]\\d[a-zA-Z] \\d[a-zA-Z]\\d)$", "raw_prompt": "This is a modification of the zip code regular expression submitted by Steven Smith (ssmith@aspalliance.com)\nIt no longer matches 78754-12aA", "refined_prompt": "This regular expression matches two patterns:\r\n\r\n1. A valid U.S. ZIP code, which can be either in the format \"12345-6789\" or just \"12345.\"\r\n2. A valid Canadian postal code, which is in the format \"A1A 1A1\" (a letter, a digit, a letter, a space, a digit, a letter, a digit).\nMatch examples:\n- \"78754\"\n- \"78754-1234\"\n- \"G3H 6A3\"\nNon-match examples:\n- \"78754-12aA\"\n- \"7875A\"", "matches": ["78754", "78754-1234", "G3H 6A3", "c3s 0Z1", "69402-6689", "Y1R 9B0", "V5l 2G4", "00176", "21458", "86175-8760", "20021-5752", "D7b 2j3", "89926"], "non_matches": ["78754-12aA", "7875A", "g3h6a3", "42324-412342", "3c12-12334f2", "vrf2-v32v4", "32", "verw2v-4v", "4234", "v43-v34v3v", "f34-f43rv", "5345-43534"], "id": 80} {"expression": "^[A-Za-z]{1,2}[0-9A-Za-z]{1,2}[ ]?[0-9]{0,1}[A-Za-z]{2}$", "raw_prompt": "This regular expression can be used to validate UK postcodes. Especially useful if want to provide a client side validation on a web site.", "refined_prompt": "This regular expression is used to validate codes with a specific format(UK postcodes), where the code starts with 1 to 2 letters, followed by 1 to 2 alphanumeric characters, an optional space, 0 to 1 digit, and ends with exactly 2 letters.\nMatch examples:\n- \"SW112LE\"\n- \"SW11 2LE\"\n- \"CR05LE\"\nNon-match examples:\n- \"12CR0LE\"\n- \"12CR 0LE\"", "matches": ["SW112LE", "SW11 2LE", "CR05LE", "AL52zp", "gW 0bY", "gRc7Fg", "Cah0UE", "VEz RE", "Jc2IW", "M2G1on", "CYD bL", "dSH4 6kM", "RZ8Vn"], "non_matches": ["12CR0LE", "12CR 0LE", "SWLE05", "2534", "511235", "6134", "FSSC VDVQWER4154", "21V3D1FV14VF", "F1FV13F4", "V34FGB45345", "AFDS23", "DVS2"], "id": 84} {"expression": "20\\d{2}(-|\\/)((0[1-9])|(1[0-2]))(-|\\/)((0[1-9])|([1-2][0-9])|(3[0-1]))(T|\\s)(([0-1][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9])", "raw_prompt": "Sql date format tester.", "refined_prompt": "This regular expression is used to validate date-time strings in a specific ISO 8601 format, where the year is in the 21st century, and it includes the year, month, day, hour, minute, and second components, separated by either hyphens or slashes, with a \"T\" or a space between the date and time.\nMatch examples:\n- \"2099-12-31T23:59:59\"\n- \"2002/02/09 16:30:00\"\n- \"2000-01-01T00:00:00\"\nNon-match examples:\n- \"2000-13-31T00:00:00\"\n- \"2002/02/33 24:00:00\"", "matches": ["2099-12-31T23:59:59", "2002/02/09 16:30:00", "2000-01-01T00:00:00", "2052/10-16T09:09:10", "2041-10/30\u200823:21:00", "2047/11-04T23:40:42", "2041/09-04\u205f03:05:18", "2067-10/31 10:12:42", "2033-10/31 18:12:50", "2053-10/19T01:37:06", "2002-11-13\u202809:52:58", "2045-07/31T08:19:50", "2084-08/25T22:13:40"], "non_matches": ["2000-13-31T00:00:00", "2002/02/33 24:00:00", "2000-01-01 60:00:00", "2084-08/25T98:13:40", "2002/02/33 24:45:00", "24323/02/33 24:00:00", "2002/02/343 24:00:00", "//::Gfsdfh9832", "2000-01-01 60:99:99", "2000-13-31T00:904829:00", "2000-100-01 60:00:00", "2000-01-100 60:00:00"], "id": 86} {"expression": "^\\d{4}[\\-\\/\\s]?((((0[13578])|(1[02]))[\\-\\/\\s]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\\-\\/\\s]?(([0-2][0-9])|(30)))|(02[\\-\\/\\s]?[0-2][0-9]))$", "raw_prompt": "- validates a yyyy-mm-dd, yyyy mm dd, or yyyy/mm/dd date\n- makes sure day is within valid range for the month\n- does NOT validate Feb. 29 on a leap year, only that Feb. CAN have 29 days", "refined_prompt": "- validates a yyyy-mm-dd, yyyy mm dd, or yyyy/mm/dd date\r\n- makes sure day is within valid range for the month\r\n- does NOT validate Feb. 29 on a leap year, only that Feb. CAN have 29 days\nMatch examples:\n- \"0001-12-31\"\n- \"9999 09 30\"\n- \"2002/03/03\"\nNon-match examples:\n- \"0001\\02\\30\"\n- \"9999.15.01\"", "matches": ["0001-12-31", "9999 09 30", "2002/03/03", "7518\u205f0814", "46650831", "3886\u200609\u00a011", "005002-10", "21101214", "941211/09", "5625\u20060227", "1538 02 04", "5043 0618", "39270910"], "non_matches": ["0001\\02\\30", "9999.15.01", "2002/3/3", "39270910243", "234/423/5243", "21/53/52353", "43-5432", "/5/5/20022", "245/524/12", "354/243/542", "9/9/9", "12/132/90"], "id": 87} {"expression": "^(1?(-?\\d{3})-?)?(\\d{3})(-?\\d{4})$", "raw_prompt": "US Telephone Reg expression that allows 7, 10 or 11 digits with or without hyphens.", "refined_prompt": "US Telephone Reg expression that allows 7, 10 or 11 digits with or without hyphens.\nMatch examples:\n- \"15615552323\"\n- \"1-561-555-1212\"\n- \"5613333\"\nNon-match examples:\n- \"1-555-5555\"\n- \"15553333\"", "matches": ["15615552323", "1-561-555-1212", "5613333", "891-0191149", "4662065", "329-6361", "277-9964574", "882-6119", "1-044788-3245", "5383738", "174-2712", "1-639-3507476", "722-0291"], "non_matches": ["1-555-5555", "15553333", "0-561-555-1212", "423142", "412", "13451435", "143534551", "164351345134", "BG323T", "wrtb", "4fc34f", "---1--1--12-3-4"], "id": 89} {"expression": "([a-zA-Z]:(\\\\w+)*\\\\[a-zA-Z0_9]+)?.xls", "raw_prompt": "This RegEx will help to validate a physical file path with a specific file extension (here xls)", "refined_prompt": "This RegEx will help to validate a physical file path with a specific file extension (here xls)\nMatch examples:\n- \"E:\\DyAGT\\SD01A_specV2.xls\"\n- \"E:\\DyAGT\\23FD.xls\"\n- \"C:\\DyAGT\\VF2FV.xls\"\nNon-match examples:\n- \"E:\\DyAGT\\SD01A_specV2.txt\"\n- \"E:\\DyAGT\\SD01A_specV2.jpg\"", "matches": ["E:\\DyAGT\\SD01A_specV2.xls", "E:\\DyAGT\\23FD.xls", "C:\\DyAGT\\VF2FV.xls", "C:\\F23V\\SD01A_specV2.xls", "C:\\DyAGT\\F32V.xls", "F:\\F23V\\SD01A_specV2.xls", "F:\\DyAGT\\gfb34.xls", "E:\\g34bg\\SD01A_specV2.xls", "D:\\DyAGT\\3g4b3.xls", "D:\\g3rbg\\SD01A_specV2.xls", "D:\\DyAGT\\Sgbr3.xls", "D:\\DyAGT\\SD3rgbA_specV2.xls", "E:\\DyAr3br3g3GT\\SD01A_specV2.xls"], "non_matches": ["E:\\DyAGT\\SD01A_specV2.txt", "E:\\DyAGT\\SD01A_specV2.jpg", "E:\\DyAGT\\fad.txt", "E:\\fadsfads\\SD01A_specV2.txt", "E:\\DyAGT\\XLS", "E:\\DyAGT\\SD01A_specV2.md", "C:\\DyAGT\\SD01A_fadsfdasspecV2.md", "C:\\DyAGT\\fadsfad123.md", "C:\\fads234\\fadsfad123.md", "C:\\afdsGSFD\\fadsfad123.md", "C:\\DyAGT\\DSAG42.md", "ADSF@FADSFXLS"], "id": 92} {"expression": "^( [1-9]|[1-9]|0[1-9]|10|11|12)[0-5]\\d$", "raw_prompt": "Matches a 12-hour time value expressed as either 4 numeric digits, 3 numeric digits, or a space and 3 numeric digits. 3 digit times (930) can be expressed with leading 0's (0930) or not. AM/PM designation is not included in this expression.", "refined_prompt": "Matches a 12-hour time value expressed as either 4 numeric digits, 3 numeric digits, or a space and 3 numeric digits. 3 digit times (930) can be expressed with leading 0's (0930) or not. AM/PM designation is not included in this expression.\nMatch examples:\n- \"1145\"\n- \"933\"\n- \"801\"\nNon-match examples:\n- \"0000\"\n- \"1330\"", "matches": ["1145", "933", "801", "1051", "529", "1210", "1226", "1031", "1145", "0457", "1106", "1234", "240"], "non_matches": ["0000", "1330", "8:30", "8498", "4512", "4512F45", "983", "21654", "9823", "2623", "6872", "16578"], "id": 94} {"expression": "^\\d{1,2}\\/\\d{2,4}$", "raw_prompt": "Accepts 1-2 digits followed by a slash followed by 2-4 digits. Useful for numeric month/year entry.", "refined_prompt": "Accepts 1-2 digits followed by a slash followed by 2-4 digits.\nMatch examples:\n- \"9/02\"\n- \"09/2002\"\n- \"09/02\"\nNon-match examples:\n- \"Fall 2002\"\n- \"Sept 2002\"", "matches": ["9/02", "09/2002", "09/02", "70/661", "52/086", "7/2550", "6/958", "38/46", "89/6259", "08/125", "3/470", "4/6039", "0/971"], "non_matches": ["Fall 2002", "Sept 2002", "651/561", "651/89", "1651/1", "61/87465", "987/8", "5846/564", "115/514", "564/26589", "45/15673", "486/465123"], "id": 95} {"expression": "^(|(0[1-9])|(1[0-2]))\\/((0[1-9])|(1\\d)|(2\\d)|(3[0-1]))\\/((\\d{4}))$", "raw_prompt": "This expression matches dates formatted as MM/DD/YYYY where months and days must be 2 digits each, zero padded. It is not perfect - it allows DD to be from 01 to 31 regardless of the month.", "refined_prompt": "This expression matches dates formatted as MM/DD/YYYY where months and days must be 2 digits each, zero padded. It allows DD to be from 01 to 31 regardless of the month.\nMatch examples:\n- \"01/01/2001\"\n- \"02/30/2001\"\n- \"12/31/2002\"\nNon-match examples:\n- \"1/1/02\"\n- \"1/1/2002\"", "matches": ["01/01/2001", "02/30/2001", "12/31/2002", "10/06/7411", "03/31/7001", "10/30/6747", "11/30/1618", "10/18/8654", "01/11/2633", "05/08/9895", "08/30/1968", "10/23/1386", "07/11/0558"], "non_matches": ["1/1/02", "1/1/2002", "1/25/2002", "12/123/4322", "234/423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/9", "12/132/90"], "id": 96} {"expression": "^((((0[13578])|(1[02]))[\\/]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\\/]?(([0-2][0-9])|(30)))|(02[\\/]?[0-2][0-9]))[\\/]?\\d{4}$", "raw_prompt": "Date expressions that matches MM/DD/YYYY where MM and DD must be two digits and zero padded. Validates correctly for all months except February, which it assumes to always have 29 days. The "/" separator is optional.", "refined_prompt": "Date expressions that matches MM/DD/YYYY where MM and DD must be two digits and zero padded. Validates correctly for all months except February, which it assumes to always have 29 days.\nMatch examples:\n- \"01/01/2001\"\n- \"02/29/2002\"\n- \"12/31/2002\"\nNon-match examples:\n- \"1/1/02\"\n- \"02/30/2002\"", "matches": ["01/01/2001", "02/29/2002", "12/31/2002", "02/08/9410", "12/30/0469", "04/23/4757", "02/16/1146", "02/21/4951", "02/16/5725", "04/30/9714", "02/22/0322", "02/07/8335", "03/31/7591"], "non_matches": ["1/1/02", "02/30/2002", "1/25/2002", "12/123/4322", "234/423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/9", "12/132/90"], "id": 97} {"expression": "^(\\d{1,3}'(\\d{3}')*\\d{3}(\\.\\d{1,3})?|\\d{1,3}(\\.\\d{3})?)$", "raw_prompt": "This regex match numeric data in the following format: thousands are separated by (') apostrophe, decimal places are separated by dot (.) Maximum three decimal places are not required. It's easy to change to other separators as well.", "refined_prompt": "This regex match numeric data in the following format: thousands are separated by (') apostrophe, decimal places are separated by dot (.) Maximum three decimal places are not required.\nMatch examples:\n- \"1'235.140\"\n- \"1'222'333.120\"\n- \"456\"\nNon-match examples:\n- \"1234.500\"\n- \"78'45.123\"", "matches": ["1'235.140", "1'222'333.120", "456", "88'424'905'415'870'699'285'830'800'903'879'489'436'003'210'644'340'569'556'469'475'309'055'661'827'487'006'380'173'497'118'326'412'807'895'326'354'231'911'768'449'680'069'565'892'099'646", "61", "7.680", "704'674'688'969'072'125'803'066'981'104'566'546'762'823'774'192'515'690'535'442'327'444'253'062'055'867'618'971'274'103'898'110'314'260'988'864'448'282", "8.994", "044'460'463'314'543'430'078'086'902.8", "0'204'839'396'143'045'546'478'160'791'591'415'414'532'729'941'933'374'184'756'933'515'705'683'090'047'631'201'287'271'916'852'943'106'297'549'637'040'683'634'664'375'759'438'357'499'337'979'149'266'238'139'511'076'976'138'616'984'064'975'705'850'930", "523", "11.117", "388.687"], "non_matches": ["1234.500", "78'45.123", "123,0012", "f2314132", "1v231v4", "1234v.4132.1423", "64563.1234.5234", "@#$.423", "234b.25342354", "524352344352'35342'325.2341", "132F4132F.12F143F2", "54B35G3.53G5G3"], "id": 98} {"expression": "^((0?[1-9]|[12][1-9]|3[01])\\.(0?[13578]|1[02])\\.20[0-9]{2}|(0?[1-9]|[12][1-9]|30)\\.(0?[13456789]|1[012])\\.20[0-9]{2}|(0?[1-9]|1[1-9]|2[0-8])\\.(0?[123456789]|1[012])\\.20[0-9]{2}|(0?[1-9]|[12][1-9])\\.(0?[123456789]|1[012])\\.20(00|04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96))$", "raw_prompt": "Fully functional date validator in format dd.MM.yyyy\nWorks only within range of years 2000-2099 !\nIt allows leading zeros but does not require them. The last year pattern (enumeration) is not very clever but I will improve it, if needed.", "refined_prompt": "Fully functional date validator in format dd.MM.yyyy\r\nWorks only within range of years 2000-2099 !\r\nIt allows leading zeros but does not require them.\nMatch examples:\n- \"31.01.2002\"\n- \"29.2.2004\"\n- \"09.02.2005\"\nNon-match examples:\n- \"31.11.2002\"\n- \"29.2.2002\"", "matches": ["31.01.2002", "29.2.2004", "09.02.2005", "26.12.2093", "2.08.2004", "15.4.2053", "02.9.2089", "3.10.2039", "01.08.2013", "12.8.2096", "24.03.2092", "01.7.2012", "30.12.2055"], "non_matches": ["31.11.2002", "29.2.2002", "33.06.2000", "12/123/4322", "234/423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "31/9/9", "12/132/90"], "id": 99} {"expression": "^(0[1-9]|1[0-2])\\/((0[1-9]|2\\d)|3[0-1])\\/(19\\d\\d|200[0-3])$", "raw_prompt": "This expression is an attempt to match the most obvious features of a valid date in American/US format of the form mm/dd/yyyy for any year 1900 through 2003. It can easily be adapted for different date ranges. It matches any date where the day part is any number 01-31, the month part is any number 01-12, and the year part is any number 1900-2003. The only invalid dates that it matches are ones where the day part may be in the range 01-31 but that range might not be valid for the specified month. An example of an invalid date that it would allow to pass through would be 11/31/2002. This date is invalid because 11/31 of any year does not exist, but this expression would allow it pass through since the day part is in the range 01-31.\nThis regular expression has been used successfully in ASP with VBScript using the windows scripting library RegExp object.", "refined_prompt": "This expression is an attempt to match the most obvious features of a valid date in American/US format of the form mm/dd/yyyy for any year 1900 through 2003. It matches any date where the day part is any number 01-31, the month part is any number 01-12, and the year part is any number 1900-2003. The only invalid dates that it matches are ones where the day part may be in the range 01-31 but that range might not be valid for the specified month. An example of an invalid date that it would allow to pass through would be 11/31/2002. This date is invalid because 11/31 of any year does not exist, but this expression would allow it pass through since the day part is in the range 01-31.\nMatch examples:\n- \"12/31/2003\"\n- \"01/01/1900\"\n- \"11/31/2002\"\nNon-match examples:\n- \"1/1/2002\"\n- \"01/01/02\"", "matches": ["12/31/2003", "01/01/1900", "11/31/2002", "10/31/2003", "03/31/1975", "10/02/2001", "10/29/2000", "05/05/1935", "11/30/2000", "08/31/1996", "11/21/2001", "02/05/1941", "10/01/1931"], "non_matches": ["1/1/2002", "01/01/02", "01/01/2004", "12/123/4322", "234/423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/99/9", "12/132/90"], "id": 100} {"expression": "^((((0[13578])|([13578])|(1[02]))[\\/](([1-9])|([0-2][0-9])|(3[01])))|(((0[469])|([469])|(11))[\\/](([1-9])|([0-2][0-9])|(30)))|((2|02)[\\/](([1-9])|([0-2][0-9]))))[\\/]\\d{4}$|^\\d{4}$", "raw_prompt": "The following validates dates with and without leading zeros in the following formats: MM/DD/YYYY and it also takes YYYY (this can easily be removed). All months are validated for the correct number of days for that particular month except for February which can be set to 29 days. date day month year", "refined_prompt": "The following validates dates with and without leading zeros in the following formats: MM/DD/YYYY and it also takes YYYY. All months are validated for the correct number of days for that particular month except for February which can be set to 29 days. date day month year\nMatch examples:\n- \"01/01/2001\"\n- \"1/01/2001\"\n- \"2002\"\nNon-match examples:\n- \"2/30/2002\"\n- \"13/23/2002\"", "matches": ["01/01/2001", "1/01/2001", "2002", "08/31/0540", "04/30/8307", "4353", "11/11/7404", "04/4/1252", "6488", "6118", "03/27/0608", "11/30/8589", "1/9/8118"], "non_matches": ["2/30/2002", "13/23/2002", "12345", "14314351", "15431543", "65763576", "76556", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/97777", "12/132/90"], "id": 103} {"expression": "^[-+]?\\d+(\\.\\d+)?$", "raw_prompt": "This matches any real number, with optional decimal point and numbers after the decimal, and optional positive (+) or negative (-) designation.", "refined_prompt": "This matches any real number, with optional decimal point and numbers after the decimal, and optional positive (+) or negative (-) designation.\nMatch examples:\n- \"123\"\n- \"-123.45\"\n- \"+123.56\"\nNon-match examples:\n- \"123x\"\n- \".123\"", "matches": ["123", "-123.45", "+123.56", "512345", "5", "25432", "234", "534.53", "+4145", "-423", "222", "742", "7225464526"], "non_matches": ["123x", ".123", "-123.", "2435.2543.53245", "243551-3425", "2/3/5235", "43-5432", "254627g.256", "432/524/2435", "1-1-2", "34.31sd", "++63453.345"], "id": 108} {"expression": "^((\\d{5}-\\d{4})|(\\d{5})|([A-Z]\\d[A-Z]\\s\\d[A-Z]\\d))$", "raw_prompt": "This expression matches three different formats of postal codes: 5 digit US ZIP code, 5 digit US ZIP code + 4, and 6 digit alphanumeric Canadian Postal Code. The first one must be 5 numeric digits. The ZIP+4 must be 5 numeric digits, a hyphen, and then 4 numeric digits. The Canadian postal code must be of the form ANA NAN where A is any uppercase alphabetic character and N is a numeric digit from 0 to 9.", "refined_prompt": "This expression matches three different formats of postal codes: 5 digit US ZIP code, 5 digit US ZIP code + 4, and 6 digit alphanumeric Canadian Postal Code. The first one must be 5 numeric digits. The ZIP+4 must be 5 numeric digits, a hyphen, and then 4 numeric digits. The Canadian postal code must be of the form ANA NAN where A is any uppercase alphabetic character and N is a numeric digit from 0 to 9.\nMatch examples:\n- \"44240\"\n- \"44240-5555\"\n- \"T2P 3C7\"\nNon-match examples:\n- \"44240ddd\"\n- \"t44240-55\"", "matches": ["44240", "44240-5555", "T2P 3C7", "02580-6821", "41092-0763", "63340-6274", "P4I\u20065O7", "C9C\u00a05L6", "C3T\u16802Q5", "17021-8260", "79433", "30395", "22696"], "non_matches": ["44240ddd", "t44240-55", "t2p3c7", "veq23vr", "23vr", "v23rrg2", "v232n2g", "grn2", "432523545-345", "5435-534225", "9/9/9", "3409fjg43"], "id": 110} {"expression": "^\\d{5}(-\\d{3})?$", "raw_prompt": "Matches standard 5 digit Brazilian Postal Codes (CEP), or the CEP + 3 digits (distribution identifiers - suffix).\nFor more info refer to: http://www.correios.com.br/servicos/cep/Estrutura_CEP.cfm (in portuguese).", "refined_prompt": "Matches strings that consist of either exactly five digits or five digits followed by a hyphen and then exactly three more digits (optional). Can be used to match standard 5 digit Brazilian Postal Codes (CEP), or the CEP + 3 digits (distribution identifiers - suffix).\nMatch examples:\n- \"13165-000\"\n- \"38175-000\"\n- \"81470-276\"\nNon-match examples:\n- \"13165-00\"\n- \"38175-abc\"", "matches": ["13165-000", "38175-000", "81470-276", "06959", "23625", "54551-990", "06611", "83396-591", "82624", "70036", "94193", "41467-951", "93134-586"], "non_matches": ["13165-00", "38175-abc", "81470-2763", "12312-3123", "243-234", "43-234", "654324", "436254-", "5468", "897-", "789798", "789798-8798"], "id": 113} {"expression": "^\\$(\\d{1,3}(\\,\\d{3})*|(\\d+))(\\.\\d{2})?$", "raw_prompt": "This re matches US currency format with lead dollar sign. Dollar value must have at least one digit and may or may not be comma separated. Cents value is optional.", "refined_prompt": "Matches US currency format with lead dollar sign. Dollar value must have at least one digit and may or may not be comma separated. Cents value is optional.\nMatch examples:\n- \"$0.84\"\n- \"$123458\"\n- \"$1,234,567.89\"\nNon-match examples:\n- \"$12,3456.01\"\n- \"12345\"", "matches": ["$0.84", "$123458", "$1,234,567.89", "$969,815,896,348,781", "$423098", "$9084320.24", "$439872", "$43920", "$324.32", "$34.32", "$490283", "$43.78", "$432"], "non_matches": ["$12,3456.01", "12345", "$1.234", "$32423.42323", "$3242jdsa", "4298234", "43-5432", "/5/5/20022", "245/524/12", "1-1-2", "(0xx12) 62509", "++63453.345"], "id": 114} {"expression": "(^([0-9]|[0-1][0-9]|[2][0-3]):([0-5][0-9])$)|(^([0-9]|[1][0-9]|[2][0-3])$)", "raw_prompt": "Matches a string if it is a valid time in the format of HH:MM / H:MM / HH / H", "refined_prompt": "Matches a string if it is a valid 24-hour time representations in the format of HH:MM / H:MM / HH / H\nMatch examples:\n- \"10:35\"\n- \"9:20\"\n- \"23\"\nNon-match examples:\n- \"24:00\"\n- \"20 PM\"", "matches": ["10:35", "9:20", "23", "9", "9:23", "8:38", "18:07", "06:10", "02:05", "04:59", "11", "4", "9"], "non_matches": ["24:00", "20 PM", "20:15 PM", "12/123/4322", "234", "123", "43-5432", "/5/5/20022", "000-000", "41", "34.31", "32542"], "id": 117} {"expression": "^\\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\\.[0-9][0-9])?$", "raw_prompt": "Matches US currency input with or without commas. This provides a fix for the currency regular expression posted at http://regxlib.com/REDetails.aspx?regexp_id=70 by escaping the . (period) to ensure that no other characters may be used in it's place.", "refined_prompt": "Matches currency values with optional dollar signs, allowing for thousands separators and cents.\nMatch examples:\n- \"$3,023,123.34\"\n- \"9,876,453\"\n- \"123456.78\"\nNon-match examples:\n- \"4,33,234.34\"\n- \"$1.234\"", "matches": ["$3,023,123.34", "9,876,453", "123456.78", "234", "432.54", "3", "4", "9.99", "$53.54", "$65.54", "$1.19", "$99.87", "$54.32"], "non_matches": ["4,33,234.34", "$1.234", "abc", "12/123/4322", "2346-2345-2435", "2/3/5235", "43-5432", "423.43242a34234", "432/524/2435", "(0xx12) 7256 2345154", "9/9/9", "3409fjg43"], "id": 118} {"expression": "^\\$?\\d+(\\.(\\d{2}))?$", "raw_prompt": "To evaluate an amount with or without a dollar sign where the cents are optional.", "refined_prompt": "^\\$?\\d+(\\.(\\d{2}))?$\nMatch examples:\n- \"$2.43\"\n- \"2.02\"\n- \"$2112\"\nNon-match examples:\n- \"2.1\"\n- \"$.14\"", "matches": ["$2.43", "2.02", "$2112", "$619533", "$141894391704967218837972239156475932407", "423423", "$653", "7256", "7452.54", "$745", "$725", "824", "$742.35"], "non_matches": ["2.1", "$.14", "$2,222.12", "435.534", "$5.345", "$543$54", "$-123.2344", "$234.234", "$543.2623", "3450.23948", "234.432", "222.333"], "id": 119} {"expression": "((0[1-9])|(1[02]))/\\d{2}", "raw_prompt": "Fromat check for MM/YY, checks month is 1-12 and any 2 digit year.", "refined_prompt": "Fromat check for MM/YY, checks month is 1-12 and any 2 digit year.\nMatch examples:\n- \"01/00\"\n- \"12/99\"\n- \"10/30\"\nNon-match examples:\n- \"13/00\"\n- \"12/AS\"", "matches": ["01/00", "12/99", "10/30", "10/21", "12/55", "02/85", "06/46", "10/11", "10/46", "12/34", "02/57", "06/47", "10/52"], "non_matches": ["13/00", "12/AS", "123/124", "432/5135/1", "123.1351", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/24", "9/9/9", "92/90"], "id": 120} {"expression": "^([0-9]{2})?(\\([0-9]{2})\\)([0-9]{3}|[0-9]{4})-[0-9]{4}$", "raw_prompt": "A simple expression to brazilian phone number code, with international code.\nSimple DDI without "+" 99 plus simple DDD (99) plus simple local phone number 3 or 4 digits plus "-" plus 4 digits.", "refined_prompt": "This regular expression is designed to match Brazilian phone numbers that include an international dialing code (DDI) without the plus sign, a simple area code (DDD) enclosed in parentheses, a simple local phone number consisting of either 3 or 4 digits, followed by a hyphen, and finally, a 4-digit extension.\nMatch examples:\n- \"55(21)123-4567\"\n- \"(11)1234-5678\"\n- \"55(71)4562-2234\"\nNon-match examples:\n- \"3434-3432\"\n- \"4(23)232-3232\"", "matches": ["55(21)123-4567", "(11)1234-5678", "55(71)4562-2234", "87(37)790-8395", "(14)7637-0089", "06(10)5683-0265", "(17)730-8237", "(11)416-7050", "19(96)4663-8089", "28(23)0153-6864", "52(18)651-3567", "(21)157-5399", "47(71)362-9412"], "non_matches": ["3434-3432", "4(23)232-3232", "55(2)232-232", "12/123/4322", "(234)423425", "243234()2342340", "()234234", "(423)42309243", "($32)524308", "+434234(4234)", "23=4234-98324", "24302348-23489(13)"], "id": 123} {"expression": "^(([a-zA-Z]:)|(\\\\{2}\\w+)\\$?)(\\\\(\\w[\\w ]*))+\\.(txt|TXT)$", "raw_prompt": "This RE validates a path/file of type txt (text file)\nThis RE can be used as a filter on certain file types, while insuring the entire string is a fully qualified path and file. The filter value can be changed or added to as you need", "refined_prompt": "This RE validates a path/file of type txt (text file), while insuring the entire string is a fully qualified path and file.\nMatch examples:\n- \"c:\\file.txt\"\n- \"c:\\folder\\sub folder\\file.txt\"\n- \"\\\\network\\folder\\file.txt\"\nNon-match examples:\n- \"C:\"\n- \"C:\\file.xls\"", "matches": ["c:\\file.txt", "c:\\folder\\sub folder\\file.txt", "\\\\network\\folder\\file.txt", "c:\\adsf.txt", "c:\\ghaf.txt", "c:\\tqre.txt", "d:\\agsha.txt", "d:\\dasf\\fasd.txt", "d:\\firqewle.txt", "e:\\folder\\sub folder\\test.txt", "e:\\gad\\afds\\sub folder\\file.txt", "e:\\folder\\sub aafs\\file.txt", "e:\\folder\\subafdfolder\\file.txt"], "non_matches": ["C:", "C:\\file.xls", "folder.txt", "akfd.jp", "fafds.jpg", "abc.png", "fasdfa.tst", "sfdarq123.txt", "asdf.vsw", "wersdf.txu", "fsda.twe", "rwe.ter"], "id": 125} {"expression": "^[a-zA-Z0-9]+([a-zA-Z0-9\\-\\.]+)?\\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$", "raw_prompt": "Checks domain names. This is an attempt to deal with some of the issues of the other reg ex in not handling leading periods(.) and hypens(-).", "refined_prompt": "Used to validate domain names that start with alphanumeric characters, may contain additional alphanumeric characters, hyphens, and periods in the middle (optionally), and end with one of the specified TLDs (case-insensitive).\nMatch examples:\n- \"my.domain.com\"\n- \"regexlib.com\"\n- \"big-reg.com\"\nNon-match examples:\n- \".mydomain.com\"\n- \"regexlib.comm\"", "matches": ["my.domain.com", "regexlib.com", "big-reg.com", "x7E6vd6bn9lVKV0UvDZjDca14Pxfd42DQ2ue7A3KP.org", "F60CAbjTaI28WV4APmn.ORG", "4ozPd3VhUT4UbPSxAd74tdnSKlPE.org", "br9Gf5bwzVWg3SvjGO2N0A7ZXVf1Ex.net", "3MOHUK1ssVZ.ORG", "biF.com", "Ov4M1oQuzhAwsHOpx6Rm.edu", "eMxw3wFMwZHeGv7pR6IX4Xwxi6MbKTmSxKgedUn9h0fFLD.U0pwr4yV7dInK5frNbyRghfA0IkWKsTg.edu", "LaYx5MdIy4pGlJ.com", "ZDbQ57LlDzhRbUVeK4zPc.EDU"], "non_matches": [".mydomain.com", "regexlib.comm", "-bigreg.com", "afdsaf.adijs", "a.cdsaca.cas", "43.v234", "@#dfkjnav", "12f3.21f3.213f", "qwerty@123.123", "341.431v4f3.fv1", "notredame.github", "99999@gmail"], "id": 126} {"expression": "^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$", "raw_prompt": "This matches floating point expression in a more rigorous way - accepts both exponent as well as non exponent notations.", "refined_prompt": "Matches numbers that can be positive or negative, may have a decimal point, and can be in scientific notation format\nMatch examples:\n- \"123\"\n- \"-123.35\"\n- \"-123.35e-2\"\nNon-match examples:\n- \"abc\"\n- \"123.32e\"", "matches": ["123", "-123.35", "-123.35e-2", "41", "1432", "512", "123", "77680628136.7552098e982", "+76780107092975139", "+7678023024785.3e-19982", "275189806858986728960918281818983794084608877641099649684838072428225393435789.38e05143381004", "-432.52", "2e10"], "non_matches": ["abc", "123.32e", "123.32.3", "12/123/4322", "51:534", "43.v234", "43-5432", "/5/5/20022", "000-000", "1-1-2", "34.31ee", "12/132/90"], "id": 127} {"expression": "^((([0]?[1-9]|1[0-2])(:|\\.)[0-5][0-9]((:|\\.)[0-5][0-9])?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\\.)[0-5][0-9]((:|\\.)[0-5][0-9])?))$", "raw_prompt": "Matches times seperated by either : or . will match a 24 hour time, or a 12 hour time with AM or PM specified. Allows 0-59 minutes, and 0-59 seconds. Seconds are not required.", "refined_prompt": "Matches times seperated by either : or . will match a 24 hour time, or a 12 hour time with AM or PM specified. Allows 0-59 minutes, and 0-59 seconds. Seconds are not required.\nMatch examples:\n- \"1:01 AM\"\n- \"23:52:01\"\n- \"03.24.36 AM\"\nNon-match examples:\n- \"19:31 AM\"\n- \"9:9 PM\"", "matches": ["1:01 AM", "23:52:01", "03.24.36 AM", "01.12", "1.44PM", "10.17.53 am", "14.51:24", "03.34", "07:45.39PM", "02:43 aM", "23.58", "4:21PM", "17.50:18"], "non_matches": ["19:31 AM", "9:9 PM", "25:60:61", "12/123/4322", "2346-2345-2435", "2/3/5235", "/5/5/5", "254627g.256", "123:234:234", "12:60:423", "999:999:999", "12/132/90"], "id": 132} {"expression": "^[a-zA-Z0-9\\s.\\-_']+$", "raw_prompt": "Alphanumeric, hyphen apostrophe, comma dash spaces", "refined_prompt": "Match strings that consist of alphanumeric characters, spaces, periods (dots), hyphens, underscores, and single quotation marks.\nMatch examples:\n- \"dony d'gsa\"\n- \"adsfaq9\"\n- \"f231v3\"\nNon-match examples:\n- \"^[a-zA-Z0-9\\s.\\-_']+$\"\n- \"+SDF4324$#*\"", "matches": ["dony d'gsa", "adsfaq9", "f231v3", "f34v2f3", "f3v2f4", "vad.adsfv", "adfq3_fvs", "fdsv.sd_", "q34", "g4b3w...", "54_ sfdg", "dfsg-gsdf_", "avaf_fewav"], "non_matches": ["^[a-zA-Z0-9\\s.\\-_']+$", "+SDF4324$#*", "%$@$#+342", "%$(*#(%+24dfsv", "^&*", "#@$", "($@*#$+#$%", "3548345$@+#$", "+@!#$#", "*$(#@%", "*%&$*($#`", "$~#@$$"], "id": 133} {"expression": "^\\d{0,2}(\\.\\d{1,2})?$", "raw_prompt": "This regular expression validates that the data entered is a number with a maximum of two integers and two decimals and a minimum of one integer or one decimal.", "refined_prompt": "This regular expression validates that the data entered is a number with a maximum of two integers and two decimals and a minimum of one integer or one decimal.\nMatch examples:\n- \"99.99\"\n- \"99\"\n- \".99\"\nNon-match examples:\n- \"999.999\"\n- \"999\"", "matches": ["99.99", "99", ".99", "1", "78", "12", "9.2", "4.0", "8.1", "8.64", "76", "19.9", "86"], "non_matches": ["999.999", "999", ".999", "-123", "234", "123", "-312", "/5/5/20022", "000-000", "1-1-2", "34.31141", "32542"], "id": 139} {"expression": "^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$", "raw_prompt": "This will grep for a valid MAC address , with colons seperating octets. It will ignore strings too short or long, or with invalid characters. It will accept mixed case hexadecimal. Use extended grep.", "refined_prompt": "This will grep for a valid MAC address , with colons seperating octets. It will ignore strings too short or long, or with invalid characters. It will accept mixed case hexadecimal. Use extended grep.\nMatch examples:\n- \"01:23:45:67:89:ab\"\n- \"01:23:45:67:89:AB\"\n- \"fE:dC:bA:98:76:54\"\nNon-match examples:\n- \"01:23:45:67:89:ab:cd\"\n- \"01:23:45:67:89:Az\"", "matches": ["01:23:45:67:89:ab", "01:23:45:67:89:AB", "fE:dC:bA:98:76:54", "44:4a:8F:Af:52:Ca", "74:30:F2:Ad:AB:05", "a7:b6:e8:2F:Aa:08", "Cb:26:29:03:c8:dC", "D5:dc:86:7f:De:E2", "E5:88:9f:cb:5E:4D", "6C:F1:ff:D5:CD:2D", "57:cB:aC:DF:1b:79", "2e:5b:cA:8c:6b:7A", "BD:D4:0b:D5:5d:e0"], "non_matches": ["01:23:45:67:89:ab:cd", "01:23:45:67:89:Az", "01:23:45:56:", "12/123/4322", "51:534", "243:234:423:5234", "53426:525234", "12f3.21f3.213f", "432/524/2435", "341.431v4f3.fv1", "2434:542:523:2345", "12/132/90"], "id": 141} {"expression": "^100$|^[0-9]{1,2}$|^[0-9]{1,2}\\,[0-9]{1,3}$", "raw_prompt": "Percentage with 3 number after comma.", "refined_prompt": "This regular expression can match three different patterns:\r\n\r\nThe exact string \"100.\"\r\nOne or two-digit numbers.\r\nNumbers in a specific format with one or two digits, a comma, and one to three digits.\nMatch examples:\n- \"12,654\"\n- \"1,987\"\n- \"43,582\"\nNon-match examples:\n- \"128,2\"\n- \"12,\"", "matches": ["12,654", "1,987", "43,582", "59,582", "2,582", "52,482", "59,749", "58,960", "4,683", "53", "54", "9", "1"], "non_matches": ["128,2", "12,", "453,5345,534", "534,345,345,453,25", ",54325,45", "534,2,5", "54,35,235", "543,536,43", "5,43,634,534", "5,43,5345,43", "534,534,6345,,35", "54,3534"], "id": 142} {"expression": "^(([0-2]\\d|[3][0-1])\\/([0]\\d|[1][0-2])\\/[2][0]\\d{2})$|^(([0-2]\\d|[3][0-1])\\/([0]\\d|[1][0-2])\\/[2][0]\\d{2}\\s([0-1]\\d|[2][0-3])\\:[0-5]\\d\\:[0-5]\\d)$", "raw_prompt": "Correct French DateTime(DD/MM/YYYY OR DD/MM/YYYY HH:MM:SS)", "refined_prompt": "Correct French DateTime(DD/MM/YYYY OR DD/MM/YYYY HH:MM:SS)\nMatch examples:\n- \"12/01/2002\"\n- \"12/01/2002 12:32:10\"\n- \"30/04/2089\"\nNon-match examples:\n- \"32/12/2002\"\n- \"12/13/2001\"", "matches": ["12/01/2002", "12/01/2002 12:32:10", "30/04/2089", "01/06/2051\u168011:45:19", "31/01/2040\u200321:52:00", "30/10/2064 23:22:41", "30/11/2022", "27/11/2043", "30/11/2061", "14/05/2075", "31/11/2038", "23/10/2062\u200811:38:00", "30/12/2041"], "non_matches": ["32/12/2002", "12/13/2001", "12/02/06", "12/123/4322", "234/423/5243", "2/3/52355", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/95341", "12/132/90"], "id": 143} {"expression": "^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9]\\.)+([a-zA-Z0-9]{3,5})$", "raw_prompt": "Host/Domain name validation for perl.\nShould be combined with a check for\nlength <= 63 characters and that $2\nis in a list of top-level domains.", "refined_prompt": "Matches domain names with subdomains and enforces certain rules such as starting and ending with alphanumeric characters, allowing hyphens in subdomains, and specifying a TLD with 3 to 5 characters.\nMatch examples:\n- \"freshmeat.net\"\n- \"123.com\"\n- \"TempLate-toolkKt.orG\"\nNon-match examples:\n- \"-dog.com\"\n- \"?boy.net\"", "matches": ["freshmeat.net", "123.com", "TempLate-toolkKt.orG", "baidu.com", "kugou.com", "google.com", "ads.com", "apple.com", "openai.com", "nd.edu", "app.net", "happy.org", "handsome.org"], "non_matches": ["-dog.com", "?boy.net", "this.domain", "cqerc.9j9jafds", "sfalijad234", "3nf@.afdsgadsf", "@#dfkjnav.agffe", "%jfkdlddf@#FD", "u09nKLJG FSL", "com.edu.github", "(0xx12) 62509", "99999@gmail"], "id": 145} {"expression": "^[^']*$", "raw_prompt": "This one matches all strings that do not contain the single quotation mark (').", "refined_prompt": "This one matches all strings that do not contain the single quotation mark (').\nMatch examples:\n- \"asljas\"\n- \"%/&89uhuhadjkh\"\n- \""hi there!"\"\nNon-match examples:\n- \"'hi there!'\"\n- \"It's 9 o'clock\"", "matches": ["asljas", "%/&89uhuhadjkh", ""hi there!"", "fqqea", "dF(D*SHF*f", "3443gb", "45bgb45g", "b4b5b*G&&USDF", "dsg$#R", "FSDF#@FW#F", "f#4f$#F", "$F#$FFSDfsdew", "fewf&*("], "non_matches": ["'hi there!'", "It's 9 o'clock", "'''''", "dhjggh'hdsfj", "jkljasdlkj09'afds", "'fdsa'fad'fdas", "fds'ajsdlk", "'fdskalj'lkfa9'FADSKFDA", "FDSA'FJDIS(*&$F", "'DSFAFJ*(FDS'FDSA", "DFJSL'98DF'FSDIO", "JSDLKF'SDF''FDS''FS"], "id": 146} {"expression": "^([1-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])$", "raw_prompt": "This validates a number between 1 and 255. Could be modified to IP, or just to verify a number in a range.", "refined_prompt": "Validates a number between 1 and 255.\nMatch examples:\n- \"1\"\n- \"108\"\n- \"255\"\nNon-match examples:\n- \"01\"\n- \"256\"", "matches": ["1", "108", "255", "142", "151", "124", "165", "45", "85", "75", "36", "218", "215"], "non_matches": ["01", "256", "534798", "0948", "54390", "54398", "9393", "-432", "324df", "1-1-2", "9/9/9", "12/132/90"], "id": 147} {"expression": "^[0-9](\\.[0-9]+)?$", "raw_prompt": "matches non-negative decimal floating points numbers less than 10", "refined_prompt": "Matches non-negative decimal floating points numbers less than 10\nMatch examples:\n- \"1.2345\"\n- \"0.00001\"\n- \"7\"\nNon-match examples:\n- \"12.2\"\n- \"1.10.1\"", "matches": ["1.2345", "0.00001", "7", "1", "6", "9", "6.7", "5.854", "9.563", "4.4875", "8.4657", "3.654373", "7.37654"], "non_matches": ["12.2", "1.10.1", "15.98", "-123", "234", "123", "-312", "12f3.21f3.213f", "432/524/2435", "1-1-2", "34.31", "534534.94534"], "id": 149} {"expression": "^((((31\\/(0?[13578]|1[02]))|((29|30)\\/(0?[1,3-9]|1[0-2])))\\/(1[6-9]|[2-9]\\d)?\\d{2})|(29\\/0?2\\/(((1[6-9]|[2-9]\\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))|(0?[1-9]|1\\d|2[0-8])\\/((0?[1-9])|(1[0-2]))\\/((1[6-9]|[2-9]\\d)?\\d{2})) (20|21|22|23|[0-1]?\\d):[0-5]?\\d:[0-5]?\\d$", "raw_prompt": "this expression validates a date-time field in European d/m/y h:m:s format. It is a european variation of Michael Ash's date-validation expression in this library.\nThe days are validated for the given month and year. Leap years are validated for all 4 digits years from 1600-9999, and all 2 digits years except 00", "refined_prompt": "This expression validates a date-time field in European d/m/y h:m:s format. The days are validated for the given month and year. Leap years are validated for all 4 digits years from 1600-9999, and all 2 digits years except 00\nMatch examples:\n- \"29/02/2004 20:15:27\"\n- \"29/2/04 8:9:5\"\n- \"31/3/2004 9:20:17\"\nNon-match examples:\n- \"29/02/2003 20:15:15\"\n- \"2/29/04 20:15:15\"", "matches": ["29/02/2004 20:15:27", "29/2/04 8:9:5", "31/3/2004 9:20:17", "12/12/10 23:5:58", "30/6/6805 22:11:01", "31/3/1840 22:15:28", "29/2/8400 21:8:46", "31/01/9934 20:45:5", "30/12/4789 20:09:27", "29/02/12 22:7:58", "02/02/3840 22:2:30", "06/11/52 21:5:00", "13/11/96 23:29:23"], "non_matches": ["29/02/2003 20:15:15", "2/29/04 20:15:15", "31/3/4 9:20:17", "29/02/17098 21:14:19", "28/29/41 20:1:5", "29/02/65 07:05:8", "25/010/9758 5:04:40", "29/2/281 23:2:8", "31/12/18155 21:9:36", "29/2/1600 21:6:99", "17/06/54 89:9:6", "29/2/28 22:98:4"], "id": 153} {"expression": "(?!^0*$)(?!^0*\\.0*$)^\\d{1,5}(\\.\\d{1,3})?$", "raw_prompt": "This regular expression validates a number NOT 0, with no more than 5 places ahead and 3 places behind the decimal point.", "refined_prompt": "This regular expression validates a number NOT 0, with no more than 5 places ahead and 3 places behind the decimal point.\nMatch examples:\n- \"1\"\n- \"12345.123\"\n- \"0.5\"\nNon-match examples:\n- \"0\"\n- \"0.0\"", "matches": ["1", "12345.123", "0.5", "2", "3", "33098", "3.280", "619.8", "6388.09", "25461.784", "91", "152.485", "25461.784"], "non_matches": ["0", "0.0", "123456.1234", "45.456123", "486.8945624895", "98456124856.54", "0.000", "0.0000000", "000.000", "354/243/542", "34.315412", "12/132/90"], "id": 156} {"expression": "@{2}((\\S)+)@{2}", "raw_prompt": "This will match results in a template situation. For example:\ntemplate reads\nDear @@Name@@,\n....\nwould become\nDear John,\nIf you dont want to use the @@ change the @ to what ever characters you want.", "refined_prompt": "This regular expression matches and captures any text enclosed by two consecutive \"@\" symbols, where the enclosed text consists of one or more non-whitespace characters. Spaces inside the enclosed text are not allowed for a match.\nMatch examples:\n- \"@@test@@\"\n- \"@@name@@\"\n- \"@@2342@@\"\nNon-match examples:\n- \"@test@\"\n- \"@@na me@@\"", "matches": ["@@test@@", "@@name@@", "@@2342@@", "@@sjdfkl@@", "@@09fjdo@@", "@@09fojdkms@@", "@@fjlsk09@@", "@@$)(@@", "@@ifdsjo@@", "@@90jgdf0g9jf0@@", "@@65416546@@", "@@986512huijkn@@", "@@56853@@"], "non_matches": ["@test@", "@@na me@@", "@@ name@@", "@@fdiushj iofsdkj@@", "@@Oivjk af ajasdh !!@@", "@@Oifsd fsijdk @@", "@@. @@@", "jikfdl@ JFLKDSJ@ JKDFS@@", "qwerty@123.123", "@hfu8dij89hi@", "@)IJKNOVDF@", "@JIOFKDJOI@"], "id": 158} {"expression": "[A-Z][a-z]+", "raw_prompt": "This expression was developed to match the Title cased words within a Camel cased variable name. So it will match 'First' and 'Name' within 'strFirstName'.", "refined_prompt": "This regular expression matches one or more consecutive letters in a string, where the first letter is uppercase (A-Z) and the subsequent letters are lowercase (a-z).\nMatch examples:\n- \"strFirstName\"\n- \"intAgeInYears\"\n- \"Where the Wild Things Are\"\nNon-match examples:\n- \"123\"\n- \"abc\"", "matches": ["strFirstName", "intAgeInYears", "Where the Wild Things Are", "fdsklAfsdj", "sfdkjAfdsjo", "dfsjoijAfodisdn", "nfijgOiusdf", "knjdsEfosidj", "jksdfnYfidso", "vbmnWihuh", "ifdUfsjido", "bhvUfsjido", "jiofdsUfs"], "non_matches": ["123", "abc", "this has no caps in it", "ifojd", "oifjd", "kgodf", "ngfjdn2039r", "ijok", "432/524/2435", "com.edu.github", "abc111def", "99999@gmail"], "id": 161} {"expression": "^[+-]?([0-9]*\\.?[0-9]+|[0-9]+\\.?[0-9]*)([eE][+-]?[0-9]+)?$", "raw_prompt": "A regular expression that matches numbers. Integers or decimal numbers with or without the exponential form.", "refined_prompt": "A regular expression that matches numbers. Integers or decimal numbers with or without the exponential form.\nMatch examples:\n- \"23\"\n- \"-17.e23\"\n- \"+.23e+2\"\nNon-match examples:\n- \"+.e2\"\n- \"23.17.5\"", "matches": ["23", "-17.e23", "+.23e+2", "312", "784639", "+423", "-234798", "+324.234", "-234.243", "432", "4987.42", "-2423", "0"], "non_matches": ["+.e2", "23.17.5", "10e2.0", "12/123/4322", "234/423/5243", "43.v234", "/5/5/5", "/5/5/20022", "qwerty@123.123", "354/243/542", "9/9/9", "++63453.345"], "id": 162} {"expression": "([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", "raw_prompt": "Checks for Date in the typical MySQL DB Format. Not mutch but simple to for converting to German date format:\n$date = "2003-12-03";\nif (ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", $date, $regs))\n{\necho "$regs[3].$regs[2].$regs[1]"; // prints 03.12.2003\n}", "refined_prompt": "This regular expression is used to validate and capture data that follows the specific pattern of dates in the YYYY-MM-DD format(could also be single M or single D), where each component is represented by digits.\nMatch examples:\n- \"2002-11-03\"\n- \"2007-17-08\"\n- \"9999-99-99\"\nNon-match examples:\n- \"2002/17/18\"\n- \"2002.18.45\"", "matches": ["2002-11-03", "2007-17-08", "9999-99-99", "3245-35-4", "1639-9-7", "7086-8-76", "6204-6-5", "1506-78-1", "4609-76-6", "0837-03-3", "7018-59-67", "5888-2-5", "9104-82-3"], "non_matches": ["2002/17/18", "2002.18.45", "18.45.2002", "12/123/4322", "2346-2345-2435", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/956123", "12/132/90"], "id": 169} {"expression": "^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$", "raw_prompt": "This matches an IP address, putting each number in its own group that can be retrieved by number. If you do not care about capturing the numbers, then you can make this shorter by putting everything after ^ until immediately after the first \\. in a group ( ) with a {3} after it. Then put the number matching regex in once more.\nIt only permits numbers in the range 0-255.", "refined_prompt": "This matches an IP address, putting each number in its own group that can be retrieved by number. It only permits numbers in the range 0-255.\nMatch examples:\n- \"0.0.0.0\"\n- \"255.255.255.02\"\n- \"192.168.0.136\"\nNon-match examples:\n- \"256.1.3.4\"\n- \"023.44.33.22\"", "matches": ["0.0.0.0", "255.255.255.02", "192.168.0.136", "255.48.254.51", "207.44.252.62", "251.105.231.237", "162.255.255.250", "255.141.207.148", "165.207.209.253", "208.145.16.255", "154.107.247.176", "250.118.209.223", "254.64.74.50"], "non_matches": ["256.1.3.4", "023.44.33.22", "10.57.98.23.", "(12) 324 653210", "123.456.789", "2/3/5235", "2565.48.254.51", "207.464.252.62", "251.1075.231.237", "162.2455.255.250", "255.141.207.1488", "165.207.2049.253"], "id": 170} {"expression": "^\\$?([1-9]{1}[0-9]{0,2}(\\,[0-9]{3})*(\\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|(\\.[0-9]{1,2})?)$", "raw_prompt": "Many currency expresssions allow leading zeros, thus $01.40 passes thru them. This expression kills them, except for 0 in the one's column. Works with or without commas and/or dollar sign. Decimals not mandatory, unless no zero in ones column and decimal point is placed. Allows $0.00 and .0 Keywords: money dollar currency", "refined_prompt": "This regular expression is used to validate and capture monetary values, including both whole numbers and decimal values, with optional commas as thousands separators and an optional dollar sign at the beginning.\nMatch examples:\n- \"$1,234.50\"\n- \"$0.70\"\n- \".7\"\nNon-match examples:\n- \"$0,123.50\"\n- \"$00.5\"", "matches": ["$1,234.50", "$0.70", ".7", "$56", "$456123", "$7", "$7845", "$79", "$100", "$0.78", "$1.19", "$43.78", "$54.32"], "non_matches": ["$0,123.50", "$00.5", "$645123.4561", "$4561.$9856", "$4561.4561", "$89456.541", "$897.8946", "$98.456", "$000.000", "$8495.4895162", "$Y*(UHIJKN", "$Jioklmfds"], "id": 172} {"expression": "^(((((0[1-9])|(1\\d)|(2[0-8]))-((0[1-9])|(1[0-2])))|((31-((0[13578])|(1[02])))|((29|30)-((0[1,3-9])|(1[0-2])))))-((20[0-9][0-9]))|(29-02-20(([02468][048])|([13579][26]))))$", "raw_prompt": "This expression validates a date field in the European DD-MM-YYYY format. Days are validate for the given month and year.", "refined_prompt": "This expression validates a date field in the European DD-MM-YYYY format. Days are validate for the given month and year.\nMatch examples:\n- \"05-01-2002\"\n- \"29-02-2004\"\n- \"31-12-2002\"\nNon-match examples:\n- \"1-1-02\"\n- \"29-02-2002\"", "matches": ["05-01-2002", "29-02-2004", "31-12-2002", "29-02-2052", "29-02-2008", "31-03-2079", "29-02-2016", "29-02-2040", "26-03-2049", "22-12-2096", "24-12-2082", "29-10-2053", "30-01-2027"], "non_matches": ["1-1-02", "29-02-2002", "31-11-2002", "12/123/4322", "234/423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/9", "12/132/90"], "id": 173} {"expression": "^\\d*[0-9](|.\\d*[0-9]|,\\d*[0-9])?$", "raw_prompt": "This is permit all decimal number, exclude all alphanumeric caracter", "refined_prompt": "This regular expression is used to validate decimal numbers that can have an optional leading zero, at least one digit before and after the decimal point (if present), and may allow for either a dot or comma as a decimal separator. Excludes all alphanumeric character\nMatch examples:\n- \"123456.123456\"\n- \"123456,123456\"\n- \"123456\"\nNon-match examples:\n- \"123a.123\"\n- \"123a,123\"", "matches": ["123456.123456", "123456,123456", "123456", "48651.498653", "48.94865", "489561", "4856.48956", "651.89456", "465.4651", "798.498", "48.1", "456.64865", "12315"], "non_matches": ["123a.123", "123a,123", "a", "2rf", "8561hui", "huiy8hiu", "6r5tfy", "09iop", "78yui", "65rtfy9hiu", "0u9ioj5dr", "6tfy"], "id": 174} {"expression": "^([A-Z]{1,2}[0-9]{1,2}|[A-Z]{3}|[A-Z]{1,2}[0-9][A-Z])( |-)[0-9][A-Z]{2}", "raw_prompt": "Checks whether the string specified is in the same format as the UK postcode format defined on:\nhttp://www.magma.ca/~djcl/postcd.txt\nIt allows:\nA = Letter\nN = Number\nAN NAA, ANA NAA, ANN NAA, AAN NAA, AAA NAA (rare), AANN NAA, AANA NAA\nIt gives the option to have the two parts of the uk postcode to be separated by a space or a hyphen.\n(restriction is set to all-capitals)", "refined_prompt": "Checks whether the string specified is in the same format as the UK postcode format.\r\nIt allows:\r\nA = Letter\r\nN = Number\r\nAN NAA, ANA NAA, ANN NAA, AAN NAA, AAA NAA (rare), AANN NAA, AANA NAA\r\nIt gives the option to have the two parts of the uk postcode to be separated by a space or a hyphen.\r\n(restriction is set to all-capitals)\nMatch examples:\n- \"AA11 1AA\"\n- \"AA1A 1AA\"\n- \"A11-1AA\"\nNon-match examples:\n- \"111 AAA\"\n- \"1AAA 1AA\"", "matches": ["AA11 1AA", "AA1A 1AA", "A11-1AA", "RL9Z-9QZ", "YDV 2UK", "VLL-5YA", "XVZ 9MZ", "QIC 5VM", "E9L-5SC", "HQB-7LD", "AH3T-6QM", "TVB-3SB", "FQ0D-1KX"], "non_matches": ["111 AAA", "1AAA 1AA", "A1AA 1AA", "12/123/4322", "sfalijad234", "FSDA23R 223RR", "23RE2", "R2E2R3", "R32 FE FE2 2E", "F2E3 F2F2 DF", "FSG- FD3 D. F3D", "F33 E"], "id": 176} {"expression": "]*[^/])>", "raw_prompt": "Use this along with this replacement string <img\\1 /> to convert image tags to XHTML compliant image tags.", "refined_prompt": "This regular expression is used to match HTML tags with any attributes, excluding self-closing tags (those ending with \"/>\"). Use this along with this replacement string <img\\1 /> to convert image tags to XHTML compliant image tags.\nMatch examples:\n- \"\"\n- \"\"\n- \"\"\nNon-match examples:\n- \"\"\n- \"frf\"", "matches": ["", "", "", "", "", "", "", "", "", "", "", "", ""], "non_matches": ["", "frf", "", "", "", "", "", "", "", "sd", "df"], "id": 183} {"expression": "^((0?[1-9])|((1|2)[0-9])|30|31)$", "raw_prompt": "matches any day of\nmonth 0?1-31", "refined_prompt": "This regular expression is designed to match and validate day numbers within a month, allowing values from 1 to 31. It takes into account single-digit days (1-9), double-digit days (10-29), and specific values for the 30th and 31st days of a month.\nMatch examples:\n- \"01\"\n- \"12\"\n- \"31\"\nNon-match examples:\n- \"123\"\n- \"32\"", "matches": ["01", "12", "31", "02", "5", "7", "29", "09", "24", "27", "09", "16", "18"], "non_matches": ["123", "32", "abc", "9786", "375", "312", "732", "/5/5/20022", "432/524/2435", "1-1-2", "9/9/9", "12/132/90"], "id": 184} {"expression": "<!--[\\s\\S]*?-->", "raw_prompt": "Removes pesky comments and commented javascript from HTML", "refined_prompt": "Effectively locate and extract HTML comments from a text or HTML document, including multi-line comments, while being non-greedy to avoid matching comments that span multiple comment blocks.\nMatch examples:\n- \"<!-- comments -->\"\n- \"<!-- x = a > b - 3 -->\"\n- \"<!---->\"\nNon-match examples:\n- \"<COMMENTS>this is a comment</COMMENTS>\"\n- \"f34fvfv\"", "matches": ["<!-- comments -->", "<!-- x = a > b - 3 -->", "<!---->", "<!--:|5V\f~03bL\u2008\\EqBNWd8\u2007kVD\u2005bA\u000b\u200ad\u200aam\u00a0,\f\u2001~i}1l-->", "<!--E;!\u202f6:VZw[tv\\\u2029*aO7Q=^QAQ\u2001\u2006]a\fWy}2\u1680^{9iI:A@[,W]?J\u2006-->", "<!---->", "<!--|iTa\u2029v9r^\u2028\u2006al-->", "<!--\f~lP\u2028^c\u2002vXV]ZhZ[6\u2005\u2004s{97U\u2002:xE)\u3000\u3000f5#zfF0`L5g,\u180e'M!k H|\\4\u2003v\u1680eJE }\u2005J\u180eod8D+.~8ObRPZ6MUS,'.\ufeff@'/-->", "<!--:[(5B,H~rg!b_i-->", "<!--^t_@E{5\" ^m\u202fN\u2009A,\u2004\ufefft~n\u2006RE{EUUW,\u2005g 'T\u2029I:_=q\u205f+F,`JKa\u2009-->", "<!--K?1.j{-->", "<!--Ky1I?\u2002\u2005}?[[m-x$DV1M3\u2003Dh6fU-->", "<!--0\u1680|-->"], "non_matches": ["<COMMENTS>this is a comment</COMMENTS>", "f34fvfv", "34f2vf42e", "fasd@fds.fasd@", "sfalijad234", "43.v234", "@#dfkjnav", "/5/5/20022", "qwerty@123.123", "1-1-2", "9/9/9", "++63453.345"], "id": 185} {"expression": "^\\{?[a-fA-F\\d]{8}-([a-fA-F\\d]{4}-){3}[a-fA-F\\d]{12}\\}?$", "raw_prompt": "Validates a GUID with and without brackets. 8,4,4,4,12 hex characters seperated by dashes.", "refined_prompt": "Validates a GUID with and without brackets. 8,4,4,4,12 hex characters seperated by dashes.\nMatch examples:\n- \"{e02ff0e4-00ad-090A-c030-0d00a0008ba0}\"\n- \"e02ff0e4-00ad-090A-c030-0d00a0008ba0\"\n- \"29BF7EaE-e661-BDcd-deBB-F9097812DFC6}\"\nNon-match examples:\n- \"0xe02ff0e400ad090Ac0300d00a0008ba0\"\n- \"f34fvfv\"", "matches": ["{e02ff0e4-00ad-090A-c030-0d00a0008ba0}", "e02ff0e4-00ad-090A-c030-0d00a0008ba0", "29BF7EaE-e661-BDcd-deBB-F9097812DFC6}", "f5cA4FEa-CCbF-dBad-cdCa-1BCbB4a6Ee8B}", "509ECac0-DB2A-a6C8-7CF6-189550d7f98b", "{05d00ef3-a644-bAbd-dEeB-1Dfa01BcbA6C}", "{45dEac1b-7865-c206-091c-fd0CF3a8b8cA}", "{5d5f787f-9Dcd-9a72-5906-2e0Bc134c5b4}", "Fdce4AFf-5085-0971-89d5-FaB0B19B68F6}", "D62ba90C-D5a8-ba2A-1214-a1D7A8a09D73}", "803f9Fa3-5eA4-3c89-68Ae-df01269e4A13}", "{4644867d-2Fa5-07D5-a8Ec-bb1cB4b1f6de}", "{6599E4d2-9fB8-9a6D-B0Cc-dd8eAB6959D4}"], "non_matches": ["0xe02ff0e400ad090Ac0300d00a0008ba0", "f34fvfv", "34f2vf42e", "Mastercard", "234/423/5243", "43.v234", "@#dfkjnav", "12f3.21f3.213f", "432/524/2435", "(0xx12) 7256 2345154", "(0xx12) 62509", "99999@gmail"], "id": 187} {"expression": "(\\d*)'*-*(\\d*)/*(\\d*)"", "raw_prompt": "This regular expression is for parsing feet and inches measurements.", "refined_prompt": "This regular expression can be used to parse and capture measurements in feet and inches, with optional symbols like apostrophes ('), hyphens (-), and forward slashes (/), as well as the denominator part (e.g., 16) of inches, and it ends with a double quotation mark (\").\nMatch examples:\n- \"5'-3/16"\"\n- \"1'-2"\"\n- \"5/16"\"\nNon-match examples:\n- \"1 3/16\"\n- \"52/2/54/245\"", "matches": ["5'-3/16"", "1'-2"", "5/16"", "5'-3/16"", "1'-3"", "5/15"", "5'-3/15"", "2'-4"", "7/14"", "6'-3/14"", "4'-3"", "8/12"", "7'-3/14""], "non_matches": ["1 3/16", "52/2/54/245", "34f2vf42e", "-123", "2346-2345-2435", "2/3/5235", "@#dfkjnav", "98iojk", "u09nKLJG FSL", "(0xx12) 7256 2345154", "abc111def", "99999@gmail"], "id": 191} {"expression": "^(/w|/W|[^<>+?$%{}&])+$", "raw_prompt": "simple expression for excluding a given list of characters. simply change the contents of [^] to suite your needs. for example ^(/w|/W|[^<>])+$ would allow everything except the characters < and >.", "refined_prompt": "This regular expression is used to validate strings that contain a mix of characters, including word characters (alphanumeric and underscores), non-word characters, and any characters that are not among a specific set of special characters often used in HTML and programming. It ensures that the string does not contain the specified special characters.\nMatch examples:\n- \"John Doe Sr.\"\n- \"100 Elm St., Suite 25\"\n- \"Valerie's Gift Shop\"\nNon-match examples:\n- \"

Hey

\"\n- \"

adsfa

\"", "matches": ["John Doe Sr.", "100 Elm St., Suite 25", "Valerie's Gift Shop", "wtrewrt", "terwtw", "fdgsy", "nfju7", "kuyk678", "jk7jkj", "42309ion", "23c2d", "c237mu78", "mk78m78"], "non_matches": ["

Hey

", "

adsfa

", "

Hgafdgqrey

", "

trebd

", "

HIUJKNFSDfsd

", "

adsga

", "

HIgfda24gSDfsd

", "

HgfdfdFSDfsd

", "

HIUregfSDfsd

", "

HIUJfaddSDad

", "

HIUJKNfsgFSDfsd

", "

HIUsd

"], "id": 192} {"expression": "^((0[1-9])|(1[0-2]))\\/(\\d{4})$", "raw_prompt": "This regular expressions matches dates in the format MM/YYYY where MM can be 01 to 12 and YYYY is always 4 digits long.", "refined_prompt": "This regular expressions matches dates in the format MM/YYYY where MM can be 01 to 12 and YYYY is always 4 digits long.\nMatch examples:\n- \"12/2002\"\n- \"11/1900\"\n- \"02/1977\"\nNon-match examples:\n- \"1/1977\"\n- \"00/000\"", "matches": ["12/2002", "11/1900", "02/1977", "08/3420", "08/0126", "12/5637", "11/2207", "07/4032", "08/9881", "04/1760", "12/3648", "03/3980", "11/2966"], "non_matches": ["1/1977", "00/000", "15/2002", "12/44322", "423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "524/125", "243/542", "9/9/9", "12/132/90"], "id": 197} {"expression": "^[A-Z]{2}[0-9]{6}[A-DFM]{1}$", "raw_prompt": "UK National Insurance Number (NINO) validation. (The following modifications have been made: Only A to D are permitted as the last letter, and all letters should be in uppercase. For temporary numbers F and M are permitted for female and male holders.)", "refined_prompt": "This regular expression pattern matches a string that starts with two uppercase letters, followed by six digits, and ends with one uppercase letter, where the last uppercase letter can be either A, B, C, D, F, or M.\nMatch examples:\n- \"AB123456D\"\n- \"AB123456F\"\n- \"AB123456M\"\nNon-match examples:\n- \"AB123456E\"\n- \"ab123456d\"", "matches": ["AB123456D", "AB123456F", "AB123456M", "WC814828B", "YH034681A", "EA644426C", "TT066542C", "XU041456F", "WN058798C", "FI196873F", "GW600487D", "JZ932005C", "AY600596M"], "non_matches": ["AB123456E", "ab123456d", "34f2vf42e", "12/123/4322", "sfalijad234", "AB123456P", "AB123456Q", "AB123456R", "AB123456S", "AB123456a", "AB123456b", "AB123456c"], "id": 202} {"expression": "^([0]\\d|[1][0-2])\\/([0-2]\\d|[3][0-1])\\/([2][01]|[1][6-9])\\d{2}(\\s([0-1]\\d|[2][0-3])(\\:[0-5]\\d){1,2})?$", "raw_prompt": "This is a regular expression to validate a date string in "MM/DD/YYYY" format, a date time string in "MM/DD/YYYY HH:MM" or a date time string in "MM/DD/YYYY HH:MM:SS" format.\nIt can validate date from 1600 to 2199.", "refined_prompt": "This is a regular expression to validate a date string in "MM/DD/YYYY" format, a date time string in "MM/DD/YYYY HH:MM" or a date time string in "MM/DD/YYYY HH:MM:SS" format.\r\nIt can validate date from 1600 to 2199.\nMatch examples:\n- \"12/30/2002\"\n- \"01/12/1998 13:30\"\n- \"01/28/2002 22:35:00\"\nNon-match examples:\n- \"13/30/2002\"\n- \"01/12/1998 24:30\"", "matches": ["12/30/2002", "01/12/1998 13:30", "01/28/2002 22:35:00", "11/30/1760", "05/31/2140 00:11", "11/31/2015", "12/30/1644 22:10", "10/30/2184\u202812:39", "12/15/1973", "10/15/1607", "10/01/2053", "11/30/1609", "03/06/1632"], "non_matches": ["13/30/2002", "01/12/1998 24:30", "01/28/2002 22:35:64", "12/123/4322", "234/423/5243 13:30", "2/3/5235", "/5/5/5 13:30", "/5/5/20022", "432/524/2435 22:35:00", "354/243/542", "9/9/2009 22:35:64", "12/132/90 22:35:00"], "id": 204} {"expression": "^((0?[13578]|10|12)(-|\\/)(([1-9])|(0[1-9])|([12])([0-9]?)|(3[01]?))(-|\\/)((19)([2-9])(\\d{1})|(20)([01])(\\d{1})|([8901])(\\d{1}))|(0?[2469]|11)(-|\\/)(([1-9])|(0[1-9])|([12])([0-9]?)|(3[0]?))(-|\\/)((19)([2-9])(\\d{1})|(20)([01])(\\d{1})|([8901])(\\d{1})))$", "raw_prompt": "improved date validation M/D/YY or M/D/YYYY or MM/DD/YYYY or MM/DD/YY: 1/1/1920 through 12/31/2019; Feb 29 and 30 always allowed, deal with it", "refined_prompt": "Date validation M/D/YY or M/D/YYYY or MM/DD/YYYY or MM/DD/YY: 1/1/1920 through 12/31/2019; Feb 29 and 30 always allowed.\nMatch examples:\n- \"1/2/03\"\n- \"02/30/1999\"\n- \"3/04/00\"\nNon-match examples:\n- \"3/4/2020\"\n- \"3/4/1919\"", "matches": ["1/2/03", "02/30/1999", "3/04/00", "10/1/1967", "09/7/1985", "06/3/98", "10/3/2002", "2/06/2001", "10/2/17", "1/5/94", "10/07/96", "7/2/1967", "10/1/1967"], "non_matches": ["3/4/2020", "3/4/1919", "4/31/2000", "12/123/4322", "234/423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/9", "12/132/90"], "id": 209} {"expression": "^(([0]?[1-9]|1[0-2])(:)([0-5][0-9]))$", "raw_prompt": "This time validation expression accepts an hour between 1 and 9 (with optional leading zero) and minutes between 01 and 59. This is primarily for use with an AM/PM drop down list or radio button.", "refined_prompt": "This time validation expression accepts an hour between 1 and 9 (with optional leading zero) and minutes between 01 and 59.\nMatch examples:\n- \"09:00\"\n- \"9:00\"\n- \"11:35\"\nNon-match examples:\n- \"13:00\"\n- \"9.00\"", "matches": ["09:00", "9:00", "11:35", "12:26", "9:39", "04:04", "09:22", "11:58", "5:50", "05:02", "12:02", "08:06", "12:54"], "non_matches": ["13:00", "9.00", "6:60", "12:78", "9:97", "34:04", "6022", "121:58", "5.50", "05:545", "12:022", "342"], "id": 211} {"expression": "^ *(1[0-2]|[1-9]):[0-5][0-9] *(a|p|A|P)(m|M) *$", "raw_prompt": "validate 12-hour time with am/pm after it, with optional spaces before or after, and optionally between time and am/pm.", "refined_prompt": "Validate 12-hour time with am/pm after it, with optional spaces before or after, and optionally between time and am/pm.\nMatch examples:\n- \"12:00am\"\n- \"1:00 PM\"\n- \"12:59 pm\"\nNon-match examples:\n- \"0:00\"\n- \"0:01 am\"", "matches": ["12:00am", "1:00 PM", "12:59 pm", "3:41 Pm", "1:13 pM", "1:50 am", "10:50 pM", "11:05 am", "4:19 AM", "2:56 Am", "5:51 aM", "12:25 PM", "10:20 pM"], "non_matches": ["0:00", "0:01 am", "13:00 pm", "15:52 am", "51:534", "$23.454", "19:94 pm", "12f3.21f3.213f", "245/524/12", "20:59 PM", "2:2 AAMM", "23:23:23 PM"], "id": 212} {"expression": "^([A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\\040[A-Z]{1}[a-z]{1,})$|^([A-Z]{1}[a-z]{1,}\\040[A-Z]{1}[a-z]{1,}\\040[A-Z]{1}[a-z]{1,})$|^$", "raw_prompt": "Matches up to three alphabet words separated by spaces with first alphabet character of each word uppercase. Also matches empty strings.", "refined_prompt": "It matches strings that consist of one or more words, where each word starts with an uppercase letter followed by one or more lowercase letters. The words can be separated by spaces. It also matches an empty string. The expression allows for variations in the number of words, from one to three, each following the same pattern of an initial uppercase letter followed by lowercase letters.\nMatch examples:\n- \"Sacramento\"\n- \"San Francisco\"\n- \"San Luis Obispo\"\nNon-match examples:\n- \"SanFrancisco\"\n- \"SanLuisObispo\"", "matches": ["Sacramento", "San Francisco", "San Luis Obispo", "Shuijkn", "Jgyubhj Ghi", "Osfdui Hihufsdj Gfsd", "Hello World", "Python Java", "This Is", "An Apple Abc", "Soink", "Jqwe", "Notre Dame"], "non_matches": ["SanFrancisco", "SanLuisObispo", "San francisco", "fdsdfs", "fiodsk", "ijnkfsdf", "ijnkfds89ijINJFKDS", "hfionsjdijkiJNKFSDIJO", "hufdijsnhijh9ui", "dfijoij9jiFDS", "j9IFDS", "9jiFOD"], "id": 217} {"expression": "(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])", "raw_prompt": "Validates time in MySQL time format. 24 hour time colon seperated hours:minutes:seconds", "refined_prompt": "Used to validate time values in in MySQL time format, in the format \"hh:mm:ss\" where hours are in the range of 00-23, minutes and seconds are in the range of 00-59.\nMatch examples:\n- \"09:30:00\"\n- \"17:45:20\"\n- \"23:59:59\"\nNon-match examples:\n- \"24:00:00\"\n- \"79:987:8\"", "matches": ["09:30:00", "17:45:20", "23:59:59", "14:51:51", "20:27:20", "20:27:22", "22:33:43", "21:10:09", "07:25:31", "22:27:34", "05:48:08", "22:55:26", "23:42:57"], "non_matches": ["24:00:00", "79:987:8", "98:27:20", "22:70:79", "21:87:09", "07:25:67", "97:27:34", "194:48:08", "22:978:26", "199:42:57", "21:84:58", "14:29:97"], "id": 222} {"expression": "^((([0]?[1-9]|1[0-2])(:|\\.)(00|15|30|45)?( )?(AM|am|aM|Am|PM|pm|pM|Pm))|(([0]?[0-9]|1[0-9]|2[0-3])(:|\\.)(00|15|30|45)?))$", "raw_prompt": "This expression will allow a time value with 15 minute increments. It will not accept seconds. You can use either US time or Military time format.", "refined_prompt": "This regular expression matches two types of time formats:\r\n\r\n1. 12-hour clock format (hh:mm AM/PM or hh:mmam/pm):\r\n\r\nThe hour part can be a 1 or 2-digit number from 1 to 12.\r\nThe minute part can be empty or can be 00, 15, 30, or 45.\r\nIt can have a space followed by AM or PM (in any case variation) or am or pm (in any case variation).\r\n\r\n2. 24-hour clock format (hh:mm):\r\n\r\nThe hour part can be a 1 or 2-digit number from 00 to 23.\r\nThe minute part can be empty or can be 00, 15, 30, or 45.\nMatch examples:\n- \"1:00 PM\"\n- \"6:45 am\"\n- \"17:30\"\nNon-match examples:\n- \"4:32 am\"\n- \"5:30:00 am\"", "matches": ["1:00 PM", "6:45 am", "17:30", "11:15 Am", "18:15", "19:15", "05: PM", "22:30", "12:45 Am", "2:15AM", "03:15", "5:30", "11.30 am"], "non_matches": ["4:32 am", "5:30:00 am", "17:01", "12/123/4322", "17:879", "466", "21:61", "14:26", "02:52 Am", "7:43 pM", "10.62 Pm", "21.33"], "id": 223} {"expression": "(^-\\d*\\.?\\d*[1-9]+\\d*$)|(^-[1-9]+\\d*\\.\\d*$)", "raw_prompt": "Accepts only negative decimal values. Zero and positive numbers are non-matching. Allows zeros after last non-zero numeric value after decimal place for significant digits.", "refined_prompt": "\nMatch examples:\n- \"-0.050\"\n- \"-5.000\"\n- \"-5\"\nNon-match examples:\n- \"0\"\n- \"0.0\"", "matches": ["-0.050", "-5.000", "-5"], "non_matches": ["0", "0.0", ".0"], "id": 226} {"expression": "^(\\d|,)*\\.?\\d*$", "raw_prompt": "Matches Numeric with Commas and a single decimal point. Also matches empty string.", "refined_prompt": "Validates numerical values that may use commas for thousands separation and have an optional decimal part. Also matches empty string.\nMatch examples:\n- \"1,000\"\n- \"3,000.05\"\n- \"5,000,000\"\nNon-match examples:\n- \"abc\"\n- \"$100,000\"", "matches": ["1,000", "3,000.05", "5,000,000", "78.486", "89", "789", "85", "1", "9", "98.48", "87.54", "56.57", "97.9875"], "non_matches": ["abc", "$100,000", "Forty", "fasd@fds.fasd@", "sfalijad234", "43.v234", "/5/5/5", "12f3.21f3.213f", "qwerty@123.123", "(0xx12) 7256 2345154", "abc111def", "99999@gmail"], "id": 228} {"expression": "^[+]?\\d*$", "raw_prompt": "This re was used for set numbers only!\nSomente numeros são requeridos!", "refined_prompt": "It validates numeric values, including positive integers with or without a leading plus sign.\nMatch examples:\n- \"0123456789\"\n- \"1234\"\n- \"1\"\nNon-match examples:\n- \"1.0?&\"\n- \"a1\"", "matches": ["0123456789", "1234", "1", "243", "513", "245", "89456", "98456", "845", "89456", "984568", "+98", "+4846"], "non_matches": ["1.0?&", "a1", "2a-", "12/123/4322", "234/423/5243", "43.v234", "43-5432", "/5/5/20022", "432/524/2435", "1-1-2", "34.31", "32542.456"], "id": 231} {"expression": "^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$", "raw_prompt": "Regular expression to match valid UK postcodes.\nIn the UK postal system not all letters are used in all positions (the same with vehicle registration plates) and there are various rules to govern this. This regex takes into account those rules.\nDetails of the rules:\nFirst half of postcode\nValid formats\n[A-Z][A-Z][0-9][A-Z]\n[A-Z][A-Z][0-9][0-9]\n[A-Z][0-9][0-9]\n[A-Z][A-Z][0-9]\n[A-Z][A-Z][A-Z]\n[A-Z][0-9][A-Z]\n[A-Z][0-9]\nExceptions\nPosition - First.\nContraint - QVX not used\nPosition - Second.\nContraint - IJZ not used except in GIR 0AA\nPosition - Third.\nConstraint - AEHMNPRTVXY only used\nPosition - Forth.\nContraint - ABEHMNPRVWXY\nSecond half of postcode\nValid formats\n[0-9][A-Z][A-Z]\nExceptions\nPosition - Second and Third.\nContraint - CIKMOV not used", "refined_prompt": "Regular expression to match valid UK postcodes.\r\nIn the UK postal system not all letters are used in all positions (the same with vehicle registration plates) and there are various rules to govern this. This regex takes into account those rules.\r\nDetails of the rules:\r\nFirst half of postcode\r\nValid formats\r\n[A-Z][A-Z][0-9][A-Z]\r\n[A-Z][A-Z][0-9][0-9]\r\n[A-Z][0-9][0-9]\r\n[A-Z][A-Z][0-9]\r\n[A-Z][A-Z][A-Z]\r\n[A-Z][0-9][A-Z]\r\n[A-Z][0-9]\r\nExceptions\r\nPosition - First.\r\nContraint - QVX not used\r\nPosition - Second.\r\nContraint - IJZ not used except in GIR 0AA\r\nPosition - Third.\r\nConstraint - AEHMNPRTVXY only used\r\nPosition - Forth.\r\nContraint - ABEHMNPRVWXY\r\nSecond half of postcode\r\nValid formats\r\n[0-9][A-Z][A-Z]\r\nExceptions\r\nPosition - Second and Third.\r\nContraint - CIKMOV not used\nMatch examples:\n- \"DN3 6GB\"\n- \"SW42 4RG\"\n- \"GIR 0AA\"\nNon-match examples:\n- \"SEW4 5TY\"\n- \"AA2C 4FG\"", "matches": ["DN3 6GB", "SW42 4RG", "GIR 0AA", "W6V3 9HE", "O75 4QQ", "NA9 2XS", "8O 1XO", "TYV 2RH", "418N 1HH", "IPVA 2YP", "S4 5XU", "1MN 4WL", "MY5 8XW"], "non_matches": ["SEW4 5TY", "AA2C 4FG", "AA2 4CV", "Mastercard", "POST code", "there is a boy", "43-5432", "/5/5/20022", "SIUE 234", "FJD28r9 ISOJD342", "FDSD79", "998F FD7329"], "id": 234} {"expression": "^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$", "raw_prompt": "Accepts data of time in format h:mm and hh:mm\n^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$\nin php [0-23]:[0-59]{2} (posix)", "refined_prompt": "Accepts data of time in format h:mm and hh:mm\nMatch examples:\n- \"0:00\"\n- \"23:00\"\n- \"00:59\"\nNon-match examples:\n- \"0:0\"\n- \"24:00\"", "matches": ["0:00", "23:00", "00:59", "22:12", "4:15", "22:26", "22:14", "16:39", "06:45", "14:56", "1:25", "7:49", "22:53"], "non_matches": ["0:0", "24:00", "00:60", "12/123/4322", "51:534", "432:2834", "234:94", "98:43", "132:43", "23:98", "54:84", "0943:423"], "id": 235} {"expression": "^((0[1-9])|(1[0-2]))\\/(\\d{2})$", "raw_prompt": "Validates MM/YY for rough checking credit card expiration dates.", "refined_prompt": "Validates MM/YY for rough checking credit card expiration dates.\nMatch examples:\n- \"11/03\"\n- \"01/04\"\n- \"09/39\"\nNon-match examples:\n- \"13/03\"\n- \"10/2003\"", "matches": ["11/03", "01/04", "09/39", "08/67", "10/96", "03/67", "04/71", "12/88", "12/33", "12/48", "11/15", "10/28", "08/03"], "non_matches": ["13/03", "10/2003", "234/234", "342/52", "23/52", "25/14", "24/14", "05/243", "432/52", "24/756", "87/67", "85/83"], "id": 236} {"expression": "^(([0]?[0-5][0-9]|[0-9]):([0-5][0-9]))$", "raw_prompt": "This regex is to validate the time of a ~60 minute CD where the most time on the CD is 59:59 (minutes:seconds). It is derived from Ken Madden's time regex for a project for Erik Porter (Windows/Web guru). Written by Jason Gaylord.", "refined_prompt": "This regex is to validate the time of a ~60 minute CD where the most time on the CD is 59:59 (minutes:seconds).\nMatch examples:\n- \"30:05\"\n- \"5:05\"\n- \"02:59\"\nNon-match examples:\n- \"25:7\"\n- \"5m:16\"", "matches": ["30:05", "5:05", "02:59", "52:55", "6:33", "40:13", "5:35", "9:28", "9:05", "3:32", "54:49", "10:17", "7:50"], "non_matches": ["25:7", "5m:16", "60:60", "12/123/4322", "51:534", "$23.454", "4556:45", "98i:ojk", "000-000", "1-1-2", "34.31", "423:4561"], "id": 244} {"expression": "^\\$?(\\d{1,3},?(\\d{3},?)*\\d{3}(\\.\\d{1,3})?|\\d{1,3}(\\.\\d{2})?)$", "raw_prompt": "Expression to handle US currency entry in .NET. Handy for regular expression validation controls where the user can be entering in a currancy value but you can't control explict entry values. Will accept a wide variety of values that can be easy cast to a double via the CDbl function. Expression is also compatible with default US string format for currency.", "refined_prompt": "In summary, this regular expression matches strings that start with a dollar sign, followed by a group of one to three digits, optionally followed by a comma, optionally followed by a group of three digits, optionally followed by a decimal point and one to three digits, or a group of one to three digits followed by an optional decimal point and two digits.\nMatch examples:\n- \"10000\"\n- \"10,000\"\n- \"$1,000.00\"\nNon-match examples:\n- \"0.002\"\n- \"x.0\"", "matches": ["10000", "10,000", "$1,000.00", "$834", "$498", "$489", "$129", "15,846", "48357", "84667", "84694", "84215", "48583"], "non_matches": ["0.002", "x.0", "-243", "12/123/4322", "51:534", "$23.454a", "43-5432", "/5/5/20022", "000-000", "354/243/542", "(0xx12) 62509", "++63453.345"], "id": 249} {"expression": "^(?![0-9]{6})[0-9a-zA-Z]{6}$", "raw_prompt": "matches a six character "password" that has to consist of numbers and letters with at least one letter in it.", "refined_prompt": "Matches a six character "password" that has to consist of numbers and letters with at least one letter in it.\nMatch examples:\n- \"123a12\"\n- \"a12345\"\n- \"aaaaaa\"\nNon-match examples:\n- \"111111\"\n- \"123456\"", "matches": ["123a12", "a12345", "aaaaaa", "W0lkZQ", "LMCawM", "DUcHPR", "NSjtUp", "cnzkKl", "lWtVJH", "7zLHU1", "1uaPEv", "DkGtDA", "9QJvZZ"], "non_matches": ["111111", "123456", "89456", "9485632", "98561", "984651", "gdfs9465", "49865f956", "956gdfg", "g48", "fg4d851", "g98456gf"], "id": 251} {"expression": "^\\(?[\\d]{3}\\)?[\\s-]?[\\d]{3}[\\s-]?[\\d]{4}$", "raw_prompt": "This regular expression matches 10 digit US Phone numbers in different formats. Some examples are\n1)area code in paranthesis.\n2)space between different parts of the phone number.\n3)no space between different parts of the number.\n4)dashes between parts.", "refined_prompt": "This regular expression matches 10 digit US Phone numbers in different formats. Some examples are\r\n1)area code in paranthesis.\r\n2)space between different parts of the phone number.\r\n3)no space between different parts of the number.\r\n4)dashes between parts.\nMatch examples:\n- \"(573)8841878\"\n- \"573-884-1234\"\n- \"573 234 1256\"\nNon-match examples:\n- \"(573)(673)2345\"\n- \"573-12-2345\"", "matches": ["(573)8841878", "573-884-1234", "573 234 1256", "5169670650", "3751905240", "156763\u20065387", "895\t344\u20294357", "(940) 698\u202f6344", "7547900898", "8943744511", "4699973928", "(856)1030219", "9555048285"], "non_matches": ["(573)(673)2345", "573-12-2345", "53495083409x", "12/123/4322", "2346-2345-2435", "r4532", "15343454", "/5/5/20022", "432/524/2435", "354/243/542", "(0xx12) 62509", "12/132/90"], "id": 255} {"expression": "(^[A-Z\u00c0-\u00dc]{1}[a-z\u00e0-\u00fc']+\\s[a-zA-Z\u00e0-\u00fc\u00c0-\u00dc]+((([\\s\\.'])|([a-z\u00e0-\u00fc']+))|[a-z\u00e0-\u00fc']+[a-zA-Z\u00e0-\u00fc\u00c0-\u00dc']+))", "raw_prompt": "Checks if has the first and the last name, and check the capital letters.\nUse with the RegExp.test method", "refined_prompt": "Checks if has the first and the last name, and check the capital letters.\nMatch examples:\n- \"Carlos Rodrigues\"\n- \"C\u00e1 de Laaa\"\n- \"Crras R. L. Rodrig\u00fces\"\nNon-match examples:\n- \"aa\u00e4A\"\n- \"E:\\DyAGT\\SD01A_specV2.jpg\"", "matches": ["Carlos Rodrigues", "C\u00e1 de Laaa", "Crras R. L. Rodrig\u00fces", "Fsdf Ffasd", "Lionel Messi", "Abc Def", "Qwef Nfjisdo", "Jfdio Jijosdf", "Fijofds Jijsdf", "Jpfods Pfds", "Jfodis Prew", "Qeybr Pfds", "Ifisdoj Idsf"], "non_matches": ["aa\u00e4A", "E:\\DyAGT\\SD01A_specV2.jpg", "53495083409x", "fasd@fds.fasd@", "sfalijad234", "3nf@", "AAAAAAA", "2546dgwre", "qwerty@123.123", "com.edu.github", "sda sad", "0j0jweBBBB"], "id": 262} {"expression": "(^((((0[1-9])|([1-2][0-9])|(3[0-1]))|([1-9]))\\x2F(((0[1-9])|(1[0-2]))|([1-9]))\\x2F(([0-9]{2})|(((19)|([2]([0]{1})))([0-9]{2}))))$)", "raw_prompt": "dd/mm/yy\nCheck dates between 1/1/1900 - 31/12/2099", "refined_prompt": "dd/mm/yy\r\nCheck dates between 1/1/1900 - 31/12/2099\nMatch examples:\n- \"31/12/2099\"\n- \"1/1/1900\"\n- \"10/12/2003\"\nNon-match examples:\n- \"05/11/3000\"\n- \"11/13/2003\"", "matches": ["31/12/2099", "1/1/1900", "10/12/2003", "5/2/1987", "30/1/16", "7/03/1942", "9/2/19", "15/6/1909", "30/1/1975", "2/07/1934", "05/5/61", "06/11/97", "30/11/94"], "non_matches": ["05/11/3000", "11/13/2003", "32/04/2030", "12/123/4322", "234/423/5243", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/9", "12/132/90"], "id": 263} {"expression": "^[0-9]{4}\\s{0,2}[a-zA-z]{2}$", "raw_prompt": "Dutch postalcode expression. 4 digits followed by max. two spaces end ending on two letters.", "refined_prompt": "Dutch postal code expression. 4 digits followed by max. two spaces end ending on two letters.\nMatch examples:\n- \"4006 AB\"\n- \"4006ab\"\n- \"4006 AB\"\nNon-match examples:\n- \"4006.ab\"\n- \"4006_ab\"", "matches": ["4006 AB", "4006ab", "4006 AB", "0048 VS", "4894fj", "4893fj", "8238fj", "8392jg", "9584jq", "9381oq", "9384jv", "8271pq", "0495ue"], "non_matches": ["4006.ab", "4006_ab", "4006/ab", "fasd@fds.fasd@", "2346-2345-2435", "2/3/5235", "43-5432", "4321fgd", "7689fgds", "890gss", "9/9/9", "99999@gmail"], "id": 271} {"expression": "^([\\(]{1}[0-9]{3}[\\)]{1}[ |\\-]{0,1}|^[0-9]{3}[\\-| ])?[0-9]{3}(\\-| ){1}[0-9]{4}$", "raw_prompt": "Validates US phone numbers. Phone number can be delimited with dashes or spaces. Area code can optionally include parentheses. To optionally validate area codes, try this expression.\n^([\\(]{1}[0-9]{3}[\\)]{1}[ |\\-]{0,1}|^[0-9]{3}[\\-| ])?[0-9]{3}(\\-| ){1}[0-9]{4}$", "refined_prompt": "Validates US phone numbers. Phone number can be delimited with dashes or spaces. Area code can optionally include parentheses.\nMatch examples:\n- \"(111) 223-2332\"\n- \"(222)233-2332\"\n- \"232-323-3233\"\nNon-match examples:\n- \"(ddd) 223-2332\"\n- \"222-232/2333\"", "matches": ["(111) 223-2332", "(222)233-2332", "232-323-3233", "055 8723", "952 944 8379", "037 698-1393", "(767)-015 9062", "879 908-0891", "(879)-830-4814", "(759) 122-5045", "440-6179", "(654)-789-2442", "937 208-8233"], "non_matches": ["(ddd) 223-2332", "222-232/2333", "322-3223-222", "12/123/4322", "2346-2345-2435", "2/3/5235", "48-895-956", "51962-9516-956", "9516-9516", "89-956", "956195-9516", "9561-56"], "id": 273} {"expression": "^(([1-9]|[0-2]\\d|[3][0-1])\\.([1-9]|[0]\\d|[1][0-2])\\.[2][0]\\d{2})$|^(([1-9]|[0-2]\\d|[3][0-1])\\.([1-9]|[0]\\d|[1][0-2])\\.[2][0]\\d{2}\\s([1-9]|[0-1]\\d|[2][0-3])\\:[0-5]\\d)$", "raw_prompt": "Correct German DateTime. Does not check leap year rules!\nPossible Formats of date part:\nD.M.YYYY or D.MM.YYYY or DD.MM.YYYY or DD.M.YYYY\nPossible formats of time part:\nh:mm or hh:mm", "refined_prompt": "Correct German DateTime. Does not check leap year rules!\r\nPossible Formats of date part:\r\nD.M.YYYY or D.MM.YYYY or DD.MM.YYYY or DD.M.YYYY\r\nPossible formats of time part:\r\nh:mm or hh:mm\nMatch examples:\n- \"20.10.2003 08:10\"\n- \"24.12.2003\"\n- \"1.1.2004 8:15\"\nNon-match examples:\n- \"25.13.2004\"\n- \"20.10.2003 08:9\"", "matches": ["20.10.2003 08:10", "24.12.2003", "1.1.2004 8:15", "23.11.2048 01:58", "31.7.2051", "30.00.2030", "30.9.2022\u200716:34", "27.12.2031\u202818:40", "19.11.2057", "9.03.2014", "02.02.2097\u20091:22", "31.8.2074", "30.09.2014\u200011:18"], "non_matches": ["25.13.2004", "20.10.2003 08:9", "34f2vf42e", "12/123/4322", "2346-2345-2435", "2/3/5235", "43-5432", "12f3.21f3.213f", "432/524/2435", "354/243/542", "(0xx12) 62509", "12/132/90"], "id": 278} {"expression": "\\d{2}.?\\d{3}.?\\d{3}/?\\d{4}-?\\d{2}", "raw_prompt": "This regular expressions matches CNPJ number. CNPJ is a Registration Number of Brazilian Companies.", "refined_prompt": "This regular expressions matches CNPJ number. CNPJ is a Registration Number of Brazilian Companies.\nMatch examples:\n- \"00.000.000/0000-00\"\n- \"00000000000000\"\n- \"657552683148-18\"\nNon-match examples:\n- \"00-000-000-000-00\"\n- \"AA.AAA.AAA/AAAA-AA\"", "matches": ["00.000.000/0000-00", "00000000000000", "657552683148-18", "72C323,924/6687-31", "01978870/5388-07", "67443_322/861928", "28X041&249/3893-37", "18_904\"821/4142-53", "52632y804276173", "39890X500/784223", "29N3068138/5854-57", "55732078/883708", "74%9586365619-89"], "non_matches": ["00-000-000-000-00", "AA.AAA.AAA/AAAA-AA", "34f2vf42e", "12/123/4322", "234/423/5243", "2/3/5235", "43-5432", "12f3.21f3.213f", "qwerty@123.123", "354/243/542", "9/9/9", "++63453.345"], "id": 282} {"expression": "^((\\d{2}((0[13578]|1[02])(0[1-9]|[12]\\d|3[01])|(0[13456789]|1[012])(0[1-9]|[12]\\d|30)|02(0[1-9]|1\\d|2[0-8])))|([02468][048]|[13579][26])0229)$", "raw_prompt": "Date expression validator with format YYMMDD\nValidates leap years.\nOf course, as year has only 2 digits, it's not possible to invalidate years like 2100, 2200, 2300, etc as a non-leap years !", "refined_prompt": "Date expression validator with format YYMMDD, validates leap years. As year has only 2 digits, it's not possible to invalidate years like 2100, 2200, 2300, etc as a non-leap years.\nMatch examples:\n- \"751231\"\n- \"000229\"\n- \"040229\"\nNon-match examples:\n- \"750431\"\n- \"010229\"", "matches": ["751231", "000229", "040229", "360229", "920229", "500401", "530216", "960229", "241021", "541001", "801115", "900101", "160229"], "non_matches": ["750431", "010229", "050229", "895612", "415625", "451625", "8745465", "9456456", "145561", "456897", "4561fd", "84561fs"], "id": 285} {"expression": "^((\\\"[^\\\"\\f\\n\\r\\t\\v\\b]+\\\")|([\\w\\!\\#\\$\\%\\&\\'\\*\\+\\-\\~\\/\\^\\`\\|\\{\\}]+(\\.[\\w\\!\\#\\$\\%\\&\\'\\*\\+\\-\\~\\/\\^\\`\\|\\{\\}]+)*))@((\\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9\\-])+\\.)+[A-Za-z\\-]+))$", "raw_prompt": "Email address validator. Should cover most of RFC 822, including unusual (but still valid) addresses. Does not restrict the top level domain size, but you're better off doing an nslookup or similar if you absolutely must have a valid domain. Accepts IP Addresses instead of the domain, with or without brackets. Believe it or not, this one is valid: !#$%^&amp;amp;amp;*-+~/'`|{}@xyz.com\nSorry looks like this site is mangling the quote and ampersand characters - you'll have to fix that yourself.", "refined_prompt": "Email address validator. Should cover most of RFC 822, including unusual (but still valid) addresses. Does not restrict the top level domain size, but you're better off doing an nslookup or similar if you absolutely must have a valid domain. Accepts IP Addresses instead of the domain, with or without brackets. Believe it or not, this one is valid: !#$%^&amp;amp;amp;*-+~/'`|{}@xyz.com\nMatch examples:\n- \"/A/Wacky/User@weirdos.com\"\n- \"bob.builder@[1.1.1.1]\"\n- \"\"blah b. blahburger\"@blah.com\"\nNon-match examples:\n- \"./A/Wacky/User@weirdos.com\"\n- \"bob.builder@[256.1.1.1]\"", "matches": ["/A/Wacky/User@weirdos.com", "bob.builder@[1.1.1.1]", "\"blah b. blahburger\"@blah.com", "dsfa@gmail.com", "sdfa@qq.com", "dsfia@fad.com", "fiosdj@sdf.com", "fdisojfsd@ijo.com", "fdsia@qq.com", "sfidj@afs.com", "fdjsi@msft.com", "jsifd@ifjs.com", "jsifdjsd@fsd.com"], "non_matches": ["./A/Wacky/User@weirdos.com", "bob.builder@[256.1.1.1]", "-\"blah b. blahburger\"@blah.com", "fasd@fds.fasd@", "sfalijad234", "3nf@@", "@#dfkjnav", "2546dgwre@@", "432/524/2435", "(0xx12) 7256 2345154", "(0xx12) 62509@", "99999@gmail@@"], "id": 287} {"expression": "^(\\d|-)?(\\d|,)*\\.?\\d*$", "raw_prompt": "Input for Numeric values. Handles negatives, and comma formatted values. Also handles a single decimal point", "refined_prompt": "Input for Numeric values. Handles negatives, and comma formatted values. Also handles a single decimal point\nMatch examples:\n- \"5,000\"\n- \"-5,000\"\n- \"100.044\"\nNon-match examples:\n- \"abc\"\n- \"Hundred\"", "matches": ["5,000", "-5,000", "100.044", "8", "9", "4", "5", "54", "486", "184", "735", "48.48", "485"], "non_matches": ["abc", "Hundred", "1.3.4", "-123afds", "234/423/5243", "2/3/5235", "43-5432", "12f3.21f3.213f", "245/524/12", "adfa2", "34.31afd", "99999@gmail"], "id": 288} {"expression": "^[1-9]+[0-9]*$", "raw_prompt": "Allows only positive integers that are greater then 0. Easily modified for +/- intergers and allowing zero.", "refined_prompt": "^[1-9]+[0-9]*$\nMatch examples:\n- \"1\"\n- \"12\"\n- \"124\"\nNon-match examples:\n- \"-1\"\n- \"a\"", "matches": ["1", "12", "124", "489", "4985", "45", "459", "561", "456", "54", "798", "4895", "13"], "non_matches": ["-1", "a", "1.0", "845-", "49516-fwfd", "2/3/5235", "43-5432", "12f3.21f3.213f", "432/524/2435", "341.431v4f3.fv1", "34.31451", "32542gdf"], "id": 289} {"expression": "^(([a-z])+.)+[A-Z]([a-z])+$", "raw_prompt": "This matches Java class names such as "com.test.Test". It's being used within an XML Schema to validate classname as specified in XML documents.", "refined_prompt": "Matches strings that start with one or more groups of lowercase letters followed by a dot and end with an uppercase letter followed by one or more lowercase letters. This matches Java class names such as "com.test.Test". It's being used within an XML Schema to validate classname as specified in XML documents.\nMatch examples:\n- \"com.test.Test\"\n- \"com.Test\"\n- \"afd.Tds\"\nNon-match examples:\n- \"com.test.test\"\n- \"com.test.TEst\"", "matches": ["com.test.Test", "com.Test", "afd.Tds", "fds.adfs.Tfds", "fdsioj.fdso.Tdfs", "apple.banana.Class", "sdaf.fa.Osdfa", "fqidf.fdsi.Fdsa", "run.ran.Run", "apple.apple.Apple", "name.abc.Cds", "dfisf.Fds", "jdif.Irw"], "non_matches": ["com.test.test", "com.test.TEst", "Com.test.Test", "Mastercard", "123.456.789", "2/3/5235", "afdsFDS", "FDS.FDsfd.dsf", "fgdg.dgf.fgsd", "gfd.gfd.gdf", "Rwer.wer.Fds", "gfdgf.WERfdg.FDS"], "id": 294} {"expression": "^[a-zA-Z_][a-zA-Z0-9_]*$", "raw_prompt": "Matches variable names/identifier from C# (and most other languages)", "refined_prompt": "Matches variable names/identifier from C# (and most other languages). This regular expression ensures that a string:\r\n\r\nStarts with a letter (either uppercase or lowercase) or an underscore.\r\nFollowed by zero or more letters (uppercase or lowercase), digits, or underscores.\r\nEnforces these rules for the entire string, not just a part of it.\nMatch examples:\n- \"VariableName\"\n- \"i\"\n- \"Some_Value_3\"\nNon-match examples:\n- \"3ID\"\n- \"Hello World\"", "matches": ["VariableName", "i", "Some_Value_3", "afds9", "sfjdio98", "jifds89u", "f9jdis", "_98fdsj", "jifd89", "jisdf98", "jifds09", "j8fid09", "jifdqwe"], "non_matches": ["3ID", "Hello World", "jfdiosj sjfkljs", "j90u9u sfdijo", "908sfjkj sjdifoj", "98jfdsk", "908fjids", "9wrer", "9apple", "fijd8j8j j8fjds", "jifdj8j 8sdf j", "notre dame"], "id": 295} {"expression": "^((4\\d{3})|(5[1-5]\\d{2}))(-?|\\040?)(\\d{4}(-?|\\040?)){3}|^(3[4,7]\\d{2})(-?|\\040?)\\d{6}(-?|\\040?)\\d{5}", "raw_prompt": "Credit card validator for AMEX, VISA, MasterCard only. Allows spaces, dashes, or no separator between digit groups according to the layout (4-6-5 for AMEX, 4-4-4-4 for Visa and Mastercard)", "refined_prompt": "Credit card validator for AMEX, VISA, MasterCard only. Allows spaces, dashes, or no separator between digit groups according to the layout (4-6-5 for AMEX, 4-4-4-4 for Visa and Mastercard)\nMatch examples:\n- \"3711-078176-01234\"\n- \"4123 5123 6123 7123\"\n- \"5123412361237123\"\nNon-match examples:\n- \"3711-4123-5123-6112\"\n- \"52/2/54/245\"", "matches": ["3711-078176-01234", "4123 5123 6123 7123", "5123412361237123", "526837376552 0992", "5552 43417106 3775", "3756-994651 29766", "483274536109 3049", "3495 24794717789", "3790685951 52358", "3769781961 92352", "345339087687813", "379590296125359", "341745514648436"], "non_matches": ["3711-4123-5123-6112", "52/2/54/245", "2534/52435234/2453", "12/123/4322", "2346-2345-2435afsd", "2/3/5235", "/5/5/5", "/5/5/20022", "432/524/2435", "1-1-2", "(0xx12) 62509", "12/132/90"], "id": 299} {"expression": "^((\\d?)|(([-+]?\\d+\\.?\\d*)|([-+]?\\d*\\.?\\d+))|(([-+]?\\d+\\.?\\d*\\,\\ ?)*([-+]?\\d+\\.?\\d*))|(([-+]?\\d*\\.?\\d+\\,\\ ?)*([-+]?\\d*\\.?\\d+))|(([-+]?\\d+\\.?\\d*\\,\\ ?)*([-+]?\\d*\\.?\\d+))|(([-+]?\\d*\\.?\\d+\\,\\ ?)*([-+]?\\d+\\.?\\d*)))$", "raw_prompt": "This allows a sequence of real numbers to be added, separated by a comma (required) and a space (optional). Based pretty heavily on an expression by Steven Smith on this site.", "refined_prompt": "This allows a sequence of real numbers to be added, separated by a comma (required) and a space (optional).\nMatch examples:\n- \"8.0\"\n- \"8.0,-.38,+8.9\"\n- \"8.0, +8.8, 0.09\"\nNon-match examples:\n- \"+\"\n- \".\"", "matches": ["8.0", "8.0,-.38,+8.9", "8.0, +8.8, 0.09", "4894", "48956.456", "56.4895", "645.489", "456.4895", "465", "489", "15", "48", "46"], "non_matches": ["+", ".", "a,b, c", "12/123/4322", "123.456.789", "43.v234", "@#dfkjnav", "12f3.21f3.213f", "432/524/2435", "(0xx12) 7256 2345154", "(0xx12) 62509", "99999@gmail"], "id": 300} {"expression": "^(.|\\n){0,16}$", "raw_prompt": "Limit Length - limit the length of a text box or other area to contain any character plus new line", "refined_prompt": "Matches strings containing up to 16 characters, including newline characters. It allows any combination of characters and newlines within this limit.\nMatch examples:\n- \"shorter than max\"\n- \"sgfdij\"\n- \"jiodfk90\"\nNon-match examples:\n- \"string longer than max\"\n- \"9uionjy89ubih8bhuk78byu\"", "matches": ["shorter than max", "sgfdij", "jiodfk90", "(JIOFDS", "h8uijnkdfs", "9ijknsd", "ijnkfdiok", "iojkfgij3", "ijo9ijotygv", "0u9ioj", "87yuhi", "78ugij", "78"], "non_matches": ["string longer than max", "9uionjy89ubih8bhuk78byu", "b8uy8ikuhiuij,kuhb", "78yguh78guibjhghjjvjhk", "uhijuhijknuhijk9y8huijgui", "78giu78ogyu78gyu5drutcf78gyhu", "ugib89guilb78tgoyhuvogyhuv7ygohu", "guihbj8guij b8 uij uohijk", "uhij9 uij6f7 tuygd6 tuygh9 huijk", "9huijkuhijlkuibjlkguibj", "gy8ibhjg8yuhbjguibjkujk", "giftygjn8guijbhiojkhijnk"], "id": 308} {"expression": "^([a-zA-Z]\\:)(\\\\[^\\\\/:*?<>\"|]*(?`~!/@\\#}$%:;)(_^{&*=|'+]+$", "raw_prompt": "A general string validation to insure that NO malicious code or specified characters are passed through user input. This will allow you to input any characters except those specified. The expression above does not allow user input of <>`~!/@\\#}$%:;)(_^{&*=|'+. Input as many invalid characters you wish to deny. This really works!", "refined_prompt": "This regular expression checks if a given string contains only characters other than the specified special characters. If any of these special characters are found in the string, it will not be matched. These characters include < > ` ~ ! / @ \\ # } $ % : ; ) ( _ ^ { & * = | ' +.\nMatch examples:\n- \"This is a test\"\n- \"fdsjkfsd hkshjdf\"\n- \"hjfds hfjsdkh\"\nNon-match examples:\n- \"^&GYGH\"\n- \"
\"", "matches": ["This is a test", "fdsjkfsd hkshjdf", "hjfds hfjsdkh", "huifd879h", "h98", "h89", "h98h", "98h9h", "f7g", "98gf57", "f8h9", "h09h98g", "g98g98g"], "non_matches": ["^&GYGH", "
", "That's it", "F^TYVGH", "9hi\"hfieds'", "'fdgdf", "huhiyfgdyi'", "'gfs$#ERFW", "gyi'", "idygiyfd'giyd97r@#E", "98g'RF$E", "$#EFg98g98g*&U\"''"], "id": 362} {"expression": "^([\\(]{1}[0-9]{3}[\\)]{1}[\\.| |\\-]{0,1}|^[0-9]{3}[\\.|\\-| ]?)?[0-9]{3}(\\.|\\-| )?[0-9]{4}$", "raw_prompt": "More permissive than others on the site, this one allows you to let a user enter US phone numbers in the way they most commonly use, without letting them enter non-valid combinations.", "refined_prompt": "More permissive than others on the site, this one allows you to let a user enter US phone numbers in the way they most commonly use, without letting them enter non-valid combinations.\nMatch examples:\n- \"5551212\"\n- \"614555-1212\"\n- \"(614)555-1212\"\nNon-match examples:\n- \"A12-5555\"\n- \"(614-555-1212\"", "matches": ["5551212", "614555-1212", "(614)555-1212", "(842)993 0045", "(283)2708210", "186198 3473", "(849)-8231974", "823-864-6500", "6881622666", "929-5392", "808-1305", "488787-0909", "(629)0196963"], "non_matches": ["A12-5555", "(614-555-1212", "555*1212", "12/123/4322", "2346-2345-2435", "2/3/5235", "43-5432", "/5/5/20022", "245/524/12", "(0xx12) 7256 2345154", "(0xx12) 62509", "++63453.345"], "id": 363} {"expression": "^([1-9]{1}[0-9]{3}[,]?)*([1-9]{1}[0-9]{3})$", "raw_prompt": "Matches a comma-seperated list of year(s).", "refined_prompt": "Matches a comma-seperated list of year(s).\nMatch examples:\n- \"1999,2001,1988\"\n- \"1999\"\n- \"4895\"\nNon-match examples:\n- \"0199,1997\"\n- \"0199\"", "matches": ["1999,2001,1988", "1999", "4895", "1984", "4896,4856", "4568", "9846", "4895,4985,8946", "8467", "7897", "7835", "1894,4189,1894,7984", "4894,8793"], "non_matches": ["0199,1997", "0199", "1999,", "156915,", "15981,", "65165,", "46484354,4894fsd", "/5/5/20022", "000-000", "354/243/542", "9/9/9", "12/132/90"], "id": 364} {"expression": "^(((0[13578]|10|12)([-./])(0[1-9]|[12][0-9]|3[01])([-./])(\\d{4}))|((0[469]|11)([-./])([0][1-9]|[12][0-9]|30)([-./])(\\d{4}))|((02)([-./])(0[1-9]|1[0-9]|2[0-8])([-./])(\\d{4}))|((02)(\\.|-|\\/)(29)([-./])([02468][048]00))|((02)([-./])(29)([-./])([13579][26]00))|((02)([-./])(29)([-./])([0-9][0-9][0][48]))|((02)([-./])(29)([-./])([0-9][0-9][2468][048]))|((02)([-./])(29)([-./])([0-9][0-9][13579][26])))$", "raw_prompt": "This works for all accept 01/01/0000 mainly 0000. can anybody suggest a solution.", "refined_prompt": "Checks for various date formats, valid months and days, leap years, and different separators. It ensures that the input follows a valid date format and is suitable for date validation in different contexts.\r\nThe regular expression matches dates in various formats:\r\n\r\nMM/DD/YYYY\r\nMM-DD-YYYY\r\nMM.YYYY/DD\r\nYYYY/MM/DD\r\nYYYY-MM-DD\r\nYYYY.MM.DD\r\nIt enforces specific rules for each part of the date:\r\n\r\nMM (month) can be 01-12.\r\nDD (day) depends on the month and can be 01-31.\r\nYYYY (year) must be a four-digit number.\r\nIt considers leap years for February (02) by allowing 29 days in certain cases.\r\n\r\nIt handles different separators between date components (e.g., '-', '/', '.').\r\n\r\nIt accounts for various scenarios related to leap years, including divisibility by 4, 100, and 400.\nMatch examples:\n- \"01/01/2001\"\n- \"02/29-2800\"\n- \"02/29/2108\"\nNon-match examples:\n- \"01/01/00000\"\n- \"52/2/54/245\"", "matches": ["01/01/2001", "02/29-2800", "02/29/2108", "11-26/9165", "02/29-7600", "02.29/2800", "02/29-5600", "02.04.1914", "02.29/0152", "12.23.6006", "11.24-1607", "11/13-2502", "10.08.0722"], "non_matches": ["01/01/00000", "52/2/54/245", "2534/52435234/2453", "12/123/4322", "234/423/5243", "2/3/5235", "43-5432", "/5/5/20022", "432/524/2435", "354/243/542", "9/9/9", "12/132/90"], "id": 366} {"expression": "^((\\d{5}-\\d{4})|(\\d{5})|([AaBbCcEeGgHhJjKkLlMmNnPpRrSsTtVvXxYy]\\d[A-Za-z]\\s?\\d[A-Za-z]\\d))$", "raw_prompt": "Regular expression for US (ZIP and ZIP+4) and Canadian postal codes. It allows 5 digits for the first US postal code and requires that the +4, if it exists, is four digits long. Canadain postal codes can contain a space and take form of A1A 1A1. The letters can be upper or lower case, but the first letter must be one of the standard Canadian zones: A,B,C,E,G,H,J,K,L,M,N,P,R,S,T,V,X,Y.", "refined_prompt": "Regular expression for US (ZIP and ZIP+4) and Canadian postal codes. It allows 5 digits for the first US postal code and requires that the +4, if it exists, is four digits long. Canadain postal codes can contain a space and take form of A1A 1A1. The letters can be upper or lower case, but the first letter must be one of the standard Canadian zones: A,B,C,E,G,H,J,K,L,M,N,P,R,S,T,V,X,Y.\nMatch examples:\n- \"00501\"\n- \"84118-3423\"\n- \"n3a 3B7\"\nNon-match examples:\n- \"501-342\"\n- \"123324\"", "matches": ["00501", "84118-3423", "n3a 3B7", "07743-6002", "80135-5335", "36898-1873", "55717-8018", "04808", "A8g8o2", "33144", "V0k0a4", "66972", "87740-7005"], "non_matches": ["501-342", "123324", "Q4B 5C5", "Mastercard", "234/423/5243", "43.v234", "/5/5/5", "2546dgwre", "324df", "adfa2", "abc111def", "99999@gmail"], "id": 367} {"expression": "^[a-zA-Z_]{1}[a-zA-Z0-9_]+$", "raw_prompt": "This expression validates for valid C# or C++ identifier", "refined_prompt": "This expression validates for valid C# or C++ identifier\nMatch examples:\n- \"_12ffsd\"\n- \"abcd123\"\n- \"abcd_23232\"\nNon-match examples:\n- \"..//\"\n- \"..13e232\"", "matches": ["_12ffsd", "abcd123", "abcd_23232", "asdfa12", "fty67", "gy78g", "gy76g", "gyg7g78g", "g78guy", "_giuy24", "_sfdih238", "gy789fsu", "yugfsd78"], "non_matches": ["..//", "..13e232", "abcd 3232", "8f7sdh h89fdsh", "hfusdh98shdf98h fhsu", "h h89fh", "huh8uh98h h89h09ju", "90u09u09", "90ut67f", "76g67", "(0xx12) 62509", "0j0jweBBBB"], "id": 369} {"expression": "^[1]$|^[3]$|^[4]$|^[6]$|^[1]0$", "raw_prompt": "This will match single numbers,the first block [1346] checks for single digits of 1, 3, 4 or 6, could easily by [1-5] as well. The second block [10] checks for 10 only.\nThis matches inclusively.", "refined_prompt": "This will match single number, the first block [1346] checks for single digits of 1, 3, 4 or 6, could easily by [1-5] as well. The second block [10] checks for 10 only. This matches inclusively.\nMatch examples:\n- \"1\"\n- \"4\"\n- \"10\"\nNon-match examples:\n- \"13\"\n- \"2\"", "matches": ["1", "4", "10", "3", "6"], "non_matches": ["13", "2", "0", "5", "7", "8", "9", "8495", "485684", "4856", "4234", "56465"], "id": 370} {"expression": "^[A]$|^[C]$|^[D]$|^[F]$|^[H]$|^[K]$|^[L]$|^[M]$|^[O]$|^[P]$", "raw_prompt": "This is for matching Single uppercase Letters inclusively", "refined_prompt": "matches a single uppercase letter from the set {A, C, D, F, H, K, L, M, O, P}.\nMatch examples:\n- \"A\"\n- \"F\"\n- \"P\"\nNon-match examples:\n- \"a\"\n- \"b\"", "matches": ["A", "F", "P", "H", "M", "C", "O", "L", "D", "K"], "non_matches": ["a", "b", "cd", "fadsf", "afd", "f", "d", "g", "B", "Z", "Y", "X"], "id": 371} {"expression": "^[-]?([1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|\\.[0-9]{1,2})$", "raw_prompt": "This regular expression will match on a real / decimal / floating point / numeric string with no more than 2 digits past the decimal. The negative sign (-) is allowed. No leading zeroes or commas. It is based on a currency regular expression by Tom Persing.", "refined_prompt": "This regex pattern is designed to match a numeric value that can be either a positive integer, a positive decimal number, zero, or a positive decimal number less than 1 with up to two decimal places. It allows for an optional minus sign at the beginning to indicate negative numbers.\nMatch examples:\n- \"123\"\n- \"123.54\"\n- \"-.54\"\nNon-match examples:\n- \"123.543\"\n- \"0012\"", "matches": ["123", "123.54", "-.54", "49", "489", "9", "8", "7", "64", "54", "45.15", "48.97", "98.51"], "non_matches": ["123.543", "0012", "1,000.12", "-123.423", "51:534", "$23.454", "56.153153", "254627g.256", "432/524/2435", "1-1-2", "(0xx12) 62509", "12/132/90"], "id": 374} {"expression": "<[^>]*>", "raw_prompt": "HTML Pattern Matching\nPLEASE HELP\n/<[^>]*>/ig\nThe above pattern is only successful when html tag are simple (they don't include any javascript). This mean that the pattern will fail if something like this is within the tag <input type=button value=test onclick='if(n.value>5)do_this();'>. It will not match the entire open n close sign.\nHow do you write a pattern that will pass all these tag so that the pattern will match from the open to the close sign and not when it just see a > within a '' or "".\n<input type=button onclick='if(n.value>5)do_this();'> not this <br>\n<input type=button onclick="n>5?a():b();" value=test> not this <br>\n<input type=button onclick="n>5?a(\\"OK\\"):b('Not Ok');" value=test> not this <br>\n<input type=button onclick='n>5' value=test onmouseover="n<5&&n>8" onmouseout='if(n>5)alert(\\'True\\');else alert("False")'> not this <br>\nAny help would be greatly appreciate. Thanks a whole lot.\nLogan", "refined_prompt": "This regex pattern matches HTML/XML tags by looking for text enclosed in angle brackets (< and >), allowing for any characters ([^>]*) between them.\nMatch examples:\n- \"\"\n- \"
\"\n- \"\"\nNon-match examples:\n- \"abc\"\n- \"2fed2\"", "matches": ["", "
", "", "

", "<>", "\"Example", "

Title

", "", "
", "
  • Item 1
  • Item 2
", "", "", "
Data 1Data 2
"], "non_matches": ["abc", "2fed2", "df22", "f2eg", "g8yu\\s]*)(\\s[^<>]*)?>", "raw_prompt": "All tags in first submatche\nAll attributes in second one...", "refined_prompt": "Match HTML-like tags in a text, including both opening and closing tags.\nMatch examples:\n- \"\"\n- \"\"\n- \"\"\nNon-match examples:\n- \"19-Fev-2002 - 19h00\"\n- \"New Changes :\"", "matches": ["", "", "", "
", "", "

", "\"Image\"", "

", "
    ", "
  • ", "", "", ""], "non_matches": ["19-Fev-2002 - 19h00", "New Changes :", "...", "(12) 324 653210", "123.456.789", "there is a boy", "-312", "2546dgwre", "u09nKLJG FSL", "(0xx12) 7256 2345154", "(0xx12) 62509", "99999@gmail"], "id": 401} {"expression": "^((Bob)|(John)|(Mary)).*$(?", "raw_prompt": "This will find any XML within a string starting with the with your closing root tag. (use singleline and case insensitive) - I use this to pull xml written in a web document.", "refined_prompt": "This will find any XML within a string starting with the with your closing root tag. (use singleline and case insensitive) - I use this to pull xml written in a web document.\nMatch examples:\n- \"ToveJaniReminderDon't forget me this weekend!\"\n- \"JohnJaneHello, world!\"\n- \"AliceBobHi there!\"\nNon-match examples:\n- \"ToveJaniReminderDon't forget me this weekend!\"\n- \"<\\?xml52/2/54/245\"", "matches": ["ToveJaniReminderDon't forget me this weekend!", "JohnJaneHello, world!", "AliceBobHi there!", "MaryDavidHow are you?", "ChrisLisaGoodbye!", "TomLindaTake care!", "MichaelEmilyHave a great day!", "LucasSophiaEnjoy your weekend!", "DanielOliviaStay safe!", "NathanGraceBest wishes!", "EthanHannahKeep in touch!", "NoahEmmaThinking of you!", "LiamOliviaTake it easy!"], "non_matches": ["ToveJaniReminderDon't forget me this weekend!", "<\\?xml52/2/54/245", "<\\?xml2534/52435234/2453", "<\\?xmlafdsaf.adijs", "<\\?xml234/423/5243", "<\\?xml$23.454", "<\\?xml43-5432", "<\\?xml254627g.256", "<\\?xml245/524/12", "<\\?xmlcom.edu.github", "<\\?xml(0xx12) 62509@", "<\\?xml3409fjg43"], "id": 1212} {"expression": "^(([1-4][0-9])|(0[1-9])|(5[0-2]))\\/[1-2]\\d{3}$", "raw_prompt": "This pattern can be used to validate a numeric week (between 01 and 52) and four digit year (valid years between 1000 and 2999) separated by a slash in the form of WW/YYYY.", "refined_prompt": "This pattern can be used to validate a numeric week (between 01 and 52) and four digit year (valid years between 1000 and 2999) separated by a slash in the form of WW/YYYY.\nMatch examples:\n- \"47/2006\"\n- \"01/1840\"\n- \"36/2763\"\nNon-match examples:\n- \"00/3005\"\n- \"52/2/54/245\"", "matches": ["47/2006", "01/1840", "36/2763", "27/2706", "03/1538", "52/1975", "08/1506", "52/2304", "01/2252", "06/2884", "52/1788", "06/2406", "06/2658"], "non_matches": ["00/3005", "52/2/54/245", "2534/52435234/2453", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "354/243/542", "(0xx12) 62509@", "3409fjg43"], "id": 1213} {"expression": "^(\\d{4})\\D?(0[1-9]|1[0-2])\\D?([12]\\d|0[1-9]|3[01])(\\D?([01]\\d|2[0-3])\\D?([0-5]\\d)\\D?([0-5]\\d)?)?$", "raw_prompt": "Regex to match the ISO Date Format. The time part is optional, including the seconds, as are all of the delimiters (although they must be non-numeric). Each part of the date will be returned as a selection e.g. \\1 will contain the Year, \\2 will contain the Month.", "refined_prompt": "Regex to match the ISO Date Format. The time part is optional, including the seconds, as are all of the delimiters (although they must be non-numeric). Each part of the date will be returned as a selection e.g. \\1 will contain the Year, \\2 will contain the Month.\nMatch examples:\n- \"2006-12-31 17:58:00\"\n- \"20061231175800\"\n- \"2006-12-31\"\nNon-match examples:\n- \"2006-13-36 25:61:62\"\n- \"52/2/54/245\"", "matches": ["2006-12-31 17:58:00", "20061231175800", "2006-12-31", "2021-09-06", "1990/12/31", "1990/12/31 23:59", "1990/12/31 23:59:59", "2022.03.15", "2035-01-01", "2032.03.16", "2042.03.17", "2052.03.18", "2064.03.19"], "non_matches": ["2006-13-36 25:61:62", "52/2/54/245", "2534/52435234/2453", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "2021-13-06", "2021/00/00T12:30:45", "2021-09-06T25:30", "2021-09-06T12:60:45"], "id": 1221} {"expression": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-2]) ([0-1][0-9]|2[0-4]):([0-4][0-9]|5[0-9]):([0-4][0-9]|5[0-9])$", "raw_prompt": "it will match a valid date & time string which looks like this : 2006-12-31 23:59:59", "refined_prompt": "Matches valid date and time strings in the format \"YYYY-MM-DD HH:MM:SS,\" where \"YYYY\" represents the year, \"MM\" represents the month, \"DD\" represents the day, \"HH\" represents the hour, \"MM\" represents the minutes, and \"SS\" represents the seconds.\nMatch examples:\n- \"2006-12-31 23:59:59\"\n- \"2023-09-06 08:30:00\"\n- \"1990-05-15 18:45:22\"\nNon-match examples:\n- \"2006-13-31 4:59:65\"\n- \"06-12-2006 23:59:59\"", "matches": ["2006-12-31 23:59:59", "2023-09-06 08:30:00", "1990-05-15 18:45:22", "1975-02-28 14:30:05", "2035-01-01 00:00:00", "2010-11-20 12:15:30", "1988-07-04 03:45:55", "1988-07-04 03:45:55", "2022-03-15 21:05:45", "1999-08-25 05:20:59", "1970-01-01 00:00:01", "1965-03-12 11:11:11", "2022-12-25 00:00:00"], "non_matches": ["2006-13-31 4:59:65", "06-12-2006 23:59:59", "2023-09-06 8:30:004", "1990/05/1543 18:45:22", "75-02-28 14:30:056", "$23.454", "43-5432", "254627g.256", "245/524/12", "354/243/542", "(0xx12) 62509@", "32542 //"], "id": 1224} {"expression": "^\\d+(\\.\\d+)?$", "raw_prompt": "Matches any unsigned floating point number/numeric string.", "refined_prompt": "Matches any unsigned floating point number/numeric string.\nMatch examples:\n- \"123\"\n- \"3.14159\"\n- \"45768\"\nNon-match examples:\n- \"abc\"\n- \"-3.14159\"", "matches": ["123", "3.14159", "45768", "6577", "65", "76", "5765", "787", "87", "68.534", "634.25324", "524.625", "5242.62"], "non_matches": ["abc", "-3.14159", "3.4.2", ".234", ".", "f32rf32.", "34.ef", "34f.", "f34r", "t45wge.5t", ".f3", "t43t.543"], "id": 1230} {"expression": "[A-Z0-9]{5}\\d[0156]\\d([0][1-9]|[12]\\d|3[01])\\d[A-Z0-9]{3}[A-Z]{2}", "raw_prompt": "Matches the UK Drivers License format as laid down by the DVLA / dvla. See http://www.govtalk.gov.uk/gdsc/html/frames/default.htm Matches: 1. Must be 16 characters 2. First 5 characters are alphanumeric. 3. Next 6 characters must be numeric 4. Next 3 characters are alphanumeric 5. Last 2 characters are alpha 6. Second character of numeric section can only be 0, 1, 5 or 6. 7. Fourth and fifth characters of numeric section must be in the range 01 to 31.", "refined_prompt": "Matches the UK Drivers License format as laid down by the DVLA / dvla. Matches: 1. Must be 16 characters 2. First 5 characters are alphanumeric. 3. Next 6 characters must be numeric 4. Next 3 characters are alphanumeric 5. Last 2 characters are alpha 6. Second character of numeric section can only be 0, 1, 5 or 6. 7. Fourth and fifth characters of numeric section must be in the range 01 to 31.\nMatch examples:\n- \"JOHNS711215GG9SY\"\n- \"EC6JU003207KEREJ\"\n- \"9E8LU167058OOCLI\"\nNon-match examples:\n- \"JOHNS731215GG9SY\"\n- \"8FG78G78EWDG78G\"", "matches": ["JOHNS711215GG9SY", "EC6JU003207KEREJ", "9E8LU167058OOCLI", "UYELA1560477TDDE", "4IHZM06630354MLC", "YUV72854294N7IGV", "NACPE963301JLEHT", "2ID25819128RZ9QH", "H2H02507059MZWYA", "3Z0NJ666112IZHBS", "7ZJWQ213055QSAAY", "WYFF1706311S1HVC", "0MMEP8650334IFSQ"], "non_matches": ["JOHNS731215GG9SY", "8FG78G78EWDG78G", "G78G87F2GEB8YG8YG", "F676J7UHY6GT5R", "7FG68YFG87", "G78GWREG4GG", "G87Y4R44GF", "G78YG4FGTTFD3E", "F87G7UG787", "GU456Y7UHY6GT5F", "45T6GY78UG7U8", "GV9UG9UGD98U3GF9"], "id": 1239} {"expression": "^(3276[0-7]|327[0-5]\\d|32[0-6]\\d{2}|3[01]\\d{3}|[12]\\d{4}|[1-9]\\d{3}|[1-9]\\d{2}|[1-9]\\d|\\d)$", "raw_prompt": "Checks that the input is a positive integer in the range 0-32767", "refined_prompt": "Checks that the input is a positive integer in the range 0-32767\nMatch examples:\n- \"32767\"\n- \"0\"\n- \"999\"\nNon-match examples:\n- \"99999\"\n- \"-1\"", "matches": ["32767", "0", "999", "5634", "8794", "857", "3586", "649", "6484", "5368", "3567", "63", "753"], "non_matches": ["99999", "-1", "abc", "57CUR57", "RC5", "7RFC", "76RFC", "76F67", "8708968957", "F67FGY7", "575957", "F6Y78YF"], "id": 1242} {"expression": "^\\+[0-9]{1,3}\\([0-9]{3}\\)[0-9]{7}$", "raw_prompt": "The OAGIS standard has a format for phone and fax as +###(###)#######. For details on standard see the open applications group.", "refined_prompt": "The OAGIS standard has a format for phone and fax as +###(###)#######.\nMatch examples:\n- \"+555(555)5555555\"\n- \"+1(800)5555555\"\n- \"+617(355)2470357\"\nNon-match examples:\n- \"555\"\n- \"52/2/54/245\"", "matches": ["+555(555)5555555", "+1(800)5555555", "+617(355)2470357", "+79(062)2153857", "+8(991)8919924", "+82(829)1931583", "+34(076)9311372", "+934(400)6629643", "+2(394)6904808", "+1(011)0575956", "+664(492)9126216", "+842(730)3047647", "+301(861)8867823"], "non_matches": ["555", "52/2/54/245", "2534/52435234/2453", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "354/243/542", "(0xx12) 62509@", "0j0jweBBBB"], "id": 1244} {"expression": "([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|(\\d{1,3}\\.){3}\\d{1,3}", "raw_prompt": "Matches all IPV6 and IPV4 addresses. Doesn't limit IPV4 to just values of 255. Doesn't allow IPV6 compression.", "refined_prompt": "Matches all IPV6 and IPV4 addresses. Doesn't limit IPV4 to just values of 255. Doesn't allow IPV6 compression.\nMatch examples:\n- \"0:123:af00:ffff:0C67:0:0:8787\"\n- \"0:0:0:0:0:0:0:1\"\n- \"0.0.0.1\"\nNon-match examples:\n- \"::1\"\n- \"52/2/54/245\"", "matches": ["0:123:af00:ffff:0C67:0:0:8787", "0:0:0:0:0:0:0:1", "0.0.0.1", "999.999.999.999", "E8:D:27E:e:1CDE:4256:0BE:a4", "4.764.7.7", "5.39.1.6", "68:7D:AcDB:4E8B:b32:e:3ba:3d", "e3B6:cdA8:62Cc:BA:DF4a:8bD2:71:25", "413.14.471.7", "681:e:2f:F0a7:f613:aF:E4:5D8E", "519.24.1.6", "931.958.74.1"], "non_matches": ["::1", "52/2/54/245", "-243", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "354/243/542", "(0xx12) 62509@", "3409fjg43"], "id": 1246} {"expression": "^(H(P|T|U|Y|Z)|N(A|B|C|D|F|G|H|J|K|L|M|N|O|R|S|T|U|W|X|Y|Z)|OV|S(C|D|E|G|H|J|K|M|N|O|P|R|S|T|U|W|X|Y|Z)|T(A|F|G|L|M|Q|R|V)){1}\\d{4}(NE|NW|SE|SW)?$|((H(P|T|U|Y|Z)|N(A|B|C|D|F|G|H|J|K|L|M|N|O|R|S|T|U|W|X|Y|Z)|OV|S(C|D|E|G|H|J|K|M|N|O|P|R|S|T|U|W|X|Y|Z)|T(A|F|G|L|M|Q|R|V)){1}(\\d{4}|\\d{6}|\\d{8}|\\d{10}))$", "raw_prompt": "This pattern validates a British Ordnance Survey Grid/Tile/Sheet Reference Number. Information on the range of possible values can be found here: http://www.ordnancesurvey.co.uk/oswebsite/gps/information/coordinatesystemsinfo/guidetonationalgrid/page17.html. Grid Ref, Tile Ref, Sheet Ref.", "refined_prompt": "This pattern validates a British Ordnance Survey Grid/Tile/Sheet Reference Number.\nMatch examples:\n- \"NA1234SE\"\n- \"OV5571\"\n- \"SG2714926378\"\nNon-match examples:\n- \"AA1234SE\"\n- \"YI67fyvG\"", "matches": ["NA1234SE", "OV5571", "SG2714926378", "TG6547SW", "OV1556SW", "OV4533", "HU0548SE", "TG551952", "SO4698NW", "NS3672", "SE6571NW", "NF2271229107", "NB3552"], "non_matches": ["AA1234SE", "YI67fyvG", "Y8G8YG", "GY8G78G6G", "F67FG8YG9", "876FFG78G", "9UG", "87G8", "G8", "7G87", "G8Y", "V8IUG7B"], "id": 1251} {"expression": "+(.*?)", "raw_prompt": "This pattern could intercept the value of the tag title in every web pages, it could be found in $1.", "refined_prompt": "match strings that contain a specific text pattern typically found in HTML documents where tags enclose some content.\nMatch examples:\n- \"<title>this title\"\n- \"fadsf2fe\"\n- \"2dffd\"\nNon-match examples:\n- \"any other tags\"\n- \"title\"", "matches": ["this title", "fadsf2fe", "2dffd", "d2fdd", "f2df2d", "df2fs2", "dffd22fd", "d2ff2f", "fd2f2ffd", "df2f", "fd222re", "er2r2", "t23t22 23rr"], "non_matches": ["any other tags", "title", "Title", "missing closing", "titalfe", "231 teas", "43-5432", "254627g.256", "245/524/12", "354/243/542", "(0xx12) 62509@", "3409fjg43"], "id": 1254} {"expression": "([^<]*)", "raw_prompt": "This regex find valid html tags", "refined_prompt": "This regex find valid html tags\nMatch examples:\n- \"

    test2

    test3

    \"\n- \"

    Heading 1

    \"\n- \"

    Subheading

    \"\nNon-match examples:\n- \"test1\"\n- \"Invalid Heading\"", "matches": ["

    test2

    test3

    ", "

    Heading 1

    ", "

    Subheading

    ", "

    Another Example

    ", "

    Fourth Level

    ", "
    Fifth Level Heading
    ", "
    Lowest Level
    ", "

    Leading and Trailing Spaces

    ", "

    ", "

    <Special Characters>

    ", "

    Indented Content

    ", "
    Special & Characters
    ", "
    12345
    "], "non_matches": ["test1", "Invalid Heading", "Invalid Heading", "Zero Level", "Out of Range", "

    Uppercase Tag

    ", "

    Uppercase Tag

    ", "

    Paragraph

    ", "
    Division
    ", "

    Missing Closing Tag", "Text without Tags", "

    No Closing Tag"], "id": 1257} {"expression": "\\b[1-9]{1}[0-9]{1,5}-\\d{2}-\\d\\b", "raw_prompt": "This is a more robust regex for matching Chemical Abstract Service (CAS) Numbers. This distinguishes between CAS numbers and other identifiers (e.g. EC number).", "refined_prompt": "This is a more robust regex for matching Chemical Abstract Service (CAS) Numbers. This distinguishes between CAS numbers and other identifiers (e.g. EC number).\nMatch examples:\n- \"50-00-0\"\n- \"75-18-5\"\n- \"41-40-4\"\nNon-match examples:\n- \"200-001-8\"\n- \"52/2/54/245\"", "matches": ["50-00-0", "75-18-5", "41-40-4", "96-09-4", "5448-08-2", "828-90-0", "13-70-0", "95-27-1", "249-34-2", "149-06-4", "133-13-1", "180834-05-5", "791712-08-1"], "non_matches": ["200-001-8", "52/2/54/245", "-243", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "354/243/542", "9/9/9", "3409fjg43"], "id": 1260} {"expression": "^(\\d)?[ ]*[\\(\\.\\-]?(\\d{3})[\\)\\.\\-]?[ ]*(\\d{3})[\\.\\- ]?(\\d{4})[ ]*(x|ext\\.?)?[ ]*(\\d{1,7})?$", "raw_prompt": "Requires area code. Allows extension. Any common US format works. If you prefer not to require area code, use this: ^(\\d)?[ ]*[\\(\\.\\-]?(\\d{3})?[\\)\\.\\-]?[ ]*(\\d{3})[\\.\\- ]?(\\d{4})[ ]*(x|ext\\.?)?[ ]*(\\d{1,7})?$", "refined_prompt": "Requires area code. Allows extension. Any common US format works.\nMatch examples:\n- \"1 (123) 123-1234 ext. 1234567\"\n- \"1 (123) 123-1234\"\n- \"(123) 123-1234\"\nNon-match examples:\n- \"123/1234 L. 12345678\"\n- \"52/2/54/245\"", "matches": ["1 (123) 123-1234 ext. 1234567", "1 (123) 123-1234", "(123) 123-1234", "(123)123.1234", "1-123-123-1234", "1231231234", "1 (123) 123-7482", "1 (123) 384-1234", "1 (592) 123-1234", "(123) 123-4028", "(123) 482-1234", "(471) 123-1234", "(123) 472-5819"], "non_matches": ["123/1234 L. 12345678", "52/2/54/245", "-243", "(12) 324 653210", "234/423/5243", "$23.454", "/5/5/5", "254627g.256", "245/524/12", "1-1-2", "(0xx12) 62509@", "++63453.345"], "id": 1267} {"expression": ".*(\\.[Jj][Pp][Gg]|\\.[Gg][Ii][Ff]|\\.[Jj][Pp][Ee][Gg]|\\.[Pp][Nn][Gg])", "raw_prompt": "This expression should work to validate that an uploaded file's extension is either jpg, gif, or png.", "refined_prompt": "This expression should work to validate that an uploaded file's extension is either jpg, gif, or png.\nMatch examples:\n- \"foo.gif\"\n- \"foo.jpg\"\n- \"foo.png\"\nNon-match examples:\n- \"foo.txt\"\n- \"foo.zip\"", "matches": ["foo.gif", "foo.jpg", "foo.png", "afd.gif", "afsd.gif", "efw.gif", "dfw.gif", "egw.jpg", "wfoo.jpg", "dgwg.jpg", "werfoo.png", "trv.png", "vcs.png"], "non_matches": ["foo.txt", "foo.zip", "foo.exe", "afdsaf.adijs", "9ijn", "3nf@", "jpg", "pdf", "zip", "png", "exe", "gif"], "id": 1268} {"expression": "^[-+]?(\\d?\\d?\\d?,?)?(\\d{3}\\,?)*$", "raw_prompt": "This pattern matches on Integer values. Handles leading positive or negative signs. Supports commas where only the leading group can have less than three digits.", "refined_prompt": "This pattern matches on Integer values. Handles leading positive or negative signs. Supports commas where only the leading group can have less than three digits.\nMatch examples:\n- \"+1\"\n- \"-2\"\n- \"3,000\"\nNon-match examples:\n- \"A\"\n- \"1,23\"", "matches": ["+1", "-2", "3,000", "1,234,567", "867", "864", "34", "534", "754", "34867", "4643", "3536", "3576"], "non_matches": ["A", "1,23", "2,34,567", "1.0", "D#@45d", "45dr45dD$", "$%D%RD45sd", "$%D453d", "4%D5d4", "fgv", "bibuif5", "d55fd"], "id": 1278} {"expression": "^([0-1](?:\\.\\d)|[0-1](?:\\,\\d)|(2\\.0)|(2\\,0))$", "raw_prompt": "Had to handle both \",\" and \".\" as separator in a validationscript where values are between 0.0 and 2.0 like in results of Swedish H\u00f6gskoleprov (SAT).", "refined_prompt": "Had to handle both \",\" and \".\" as separator in a validationscript where values are between 0.0 and 2.0 like in results of Swedish H\u00f6gskoleprov (SAT).\nMatch examples:\n- \"0,0\"\n- \"0.0\"\n- \"1,9\"\nNon-match examples:\n- \"2,1\"\n- \"1\"", "matches": ["0,0", "0.0", "1,9", "2.0", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "1.9", "0.7"], "non_matches": ["2,1", "1", "3", "a", "5", "67", "8", "9", "5", "3.534", "5436.234", "423.24"], "id": 1284} {"expression": "^[a-zA-Z0-9\\040]+$", "raw_prompt": "It will allow for alphanumeric characters only, with the exception of spacing.", "refined_prompt": "It will allow for alphanumeric characters only, with the exception of spacing.\nMatch examples:\n- \"Website Users\"\n- \"g67g\"\n- \"f667f8\"\nNon-match examples:\n- \"Website Users!\"\n- \";f;ds;f\"", "matches": ["Website Users", "g67g", "f667f8", "f", "8f5", "d56 f5", "f56f", "7f77", "f68d5", "6r4e", "45h899h", "98", "98h"], "non_matches": ["Website Users!", ";f;ds;f", "f;", "f';f'df;[", "f;[d", ";[f", ";d[dlf[lfd[ld", "p[f", "[fpkd", "j{}", "f98h[]", "78h7g^&*&("], "id": 1313} {"expression": "^\\$([0]|([1-9]\\d{1,2})|([1-9]\\d{0,1},\\d{3,3})|([1-9]\\d{2,2},\\d{3,3})|([1-9],\\d{3,3},\\d{3,3}))([.]\\d{1,2})?$|^\\(\\$([0]|([1-9]\\d{1,2})|([1-9]\\d{0,1},\\d{3,3})|([1-9]\\d{2,2},\\d{3,3})|([1-9],\\d{3,3},\\d{3,3}))([.]\\d{1,2})?\\)$|^(\\$)?(-)?([0]|([1-9]\\d{0,6}))([.]\\d{1,2})?$", "raw_prompt": "Matches number with optional commas and decimal places. Allows only max 7 digits before decimal and max 2 digits after decimal. Does not allow numbers beginning with 0 e.g., $0,234,567 but allows $0.05", "refined_prompt": "Matches number with optional commas and decimal places. Allows only max 7 digits before decimal and max 2 digits after decimal. Does not allow numbers beginning with 0 e.g., $0,234,567 but allows $0.05\nMatch examples:\n- \"($1,234,567.89)\"\n- \"$1,234,567.89\"\n- \"$1234567.89\"\nNon-match examples:\n- \"$1,234,567.890\"\n- \"$12345678.90\"", "matches": ["($1,234,567.89)", "$1,234,567.89", "$1234567.89", "$-1234567.89", "$0.78", "$1,660,986", "$146.0", "($172,545)", "($4,546,599)", "54927.64", "$-59355", "-853119", "$-18.3"], "non_matches": ["$1,234,567.890", "$12345678.90", "$023,456.78", "$824.4234234", "$4232342.3423.423", "$424.234234", "-312f23", "90u09u09", "245/524/12", "354/243/542", "9/9/9", "3409fjg43"], "id": 1314} {"expression": "^(((\\(\\d{3}\\)|\\d{3})( |-|\\.))|(\\(\\d{3}\\)|\\d{3}))?\\d{3}( |-|\\.)?\\d{4}(( |-|\\.)?([Ee]xt|[Xx])[.]?( |-|\\.)?\\d{4})?$", "raw_prompt": "with or without area code (of various forms)(does not allow for unbalanced parens in the area code). With or without an extension (of various forms). Does not allow for leading or trailing space.", "refined_prompt": "with or without area code (of various forms)(does not allow for unbalanced parens in the area code). With or without an extension (of various forms). Does not allow for leading or trailing space.\nMatch examples:\n- \"(123)-456-7890 Ext 1234\"\n- \"123-456-7890\"\n- \"(123).456.7890\"\nNon-match examples:\n- \"123)4567890\"\n- \"800callcat\"", "matches": ["(123)-456-7890 Ext 1234", "123-456-7890", "(123).456.7890", "123.456.7890", "1234567890ext1234", "123-456 7890 X 1234", "921.9170733", "570-5322061", "885.0096", "(102)8703702x1308", "8577364735", "840.5595", "963.4797"], "non_matches": ["123)4567890", "800callcat", "123456789", "afdsaf.adijs", "4.23.2423", "$23.454", "43-5432", "2546dgwre", "245/524/12", "com.edu.github", "(0xx12) 62509@", "0j0jweBBBB"], "id": 1317} {"expression": "^(\\d{4})[.](0{0,1}[1-9]|1[012])[.](0{0,1}[1-9]|[12][0-9]|3[01])[.](\\d{2})$", "raw_prompt": "capture labels having format yyyy.mm.dd.nn here nn is for number s from 00 to 99", "refined_prompt": "capture labels having format yyyy.mm.dd.nn here nn is for number s from 00 to 99\nMatch examples:\n- \"2006.10.09.05\"\n- \"1672.08.31.93\"\n- \"0081.12.30.60\"\nNon-match examples:\n- \"06.13.32.123\"\n- \"52/2/54/245\"", "matches": ["2006.10.09.05", "1672.08.31.93", "0081.12.30.60", "0042.12.30.94", "9297.2.25.15", "6833.12.31.21", "7766.10.28.39", "4714.12.17.10", "8849.08.31.60", "8036.10.25.94", "4157.10.7.78", "9477.08.30.96", "6917.10.03.26"], "non_matches": ["06.13.32.123", "52/2/54/245", "2534/52435234/2453", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "1-1-2", "34.31", "3409fjg43"], "id": 1326} {"expression": "^\\$?\\d{1,3}(,?\\d{3})*(\\.\\d{1,2})?$", "raw_prompt": "Just a small pattern to make sure commas are in the rite place (if present). Only allows one decimal to be suffixed with with 1 or 2 digits. Also optional dollar sign may proceed value.", "refined_prompt": "Just a small pattern to make sure commas are in the right place (if present). Only allows one decimal to be suffixed with with 1 or 2 digits. Also optional dollar sign may proceed value.\nMatch examples:\n- \"$1,000,000.00\"\n- \"123,000\"\n- \"455,123\"\nNon-match examples:\n- \"43,3.245\"\n- \"423,423,4,234,234\"", "matches": ["$1,000,000.00", "123,000", "455,123", "845,312,414", "12", "8", "7", "648.27", "5", "9", "4", "210", "764"], "non_matches": ["43,3.245", "423,423,4,234,234", "423,4,23,424,,24", "7,567,9,8", ",563,5,8,7,252", "534,63.56,363", "5,34.74,46.345", ",534.5475,.34,", ".6445,3.845.,5", ".53,63.6,3.635", ",5347,.96,25,", "354,67.43634"], "id": 1333} {"expression": "^[0-3][0-9][0-1]\\d{3}-\\d{4}?", "raw_prompt": "This regex performs a crude test on the given input string.\nThe danish cilvil registration number consists of 10 numeric characters and one special character '-'. The format is DDMMYY-XXXX.", "refined_prompt": "This regex performs a crude test on the given input string.\r\nThe danish cilvil registration number consists of 10 numeric characters and one special character '-'. The format is DDMMYY-XXXX.\nMatch examples:\n- \"010380-2343\"\n- \"120454-5467\"\n- \"390178-3434\"\nNon-match examples:\n- \"1223876776\"\n- \"4023100923\"", "matches": ["010380-2343", "120454-5467", "390178-3434", "021535-6554", "171865-8670", "121002-8304", "201468-3622", "090642-3583", "221117-6041", "121786-6120", "390554-9695", "041194-8781", "050057-8654"], "non_matches": ["1223876776", "4023100923", "2534/52435234/2453", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "354/243/542", "(0xx12) 62509@", "3409fjg43"], "id": 1334} {"expression": "^M{0,1}T{0,1}W{0,1}(TH){0,1}F{0,1}S{0,1}(SU){0,1}$", "raw_prompt": "Matches a string if it is valid in the form of MWF or TTHS. Maybe used for validating the \"days part\" of a class schedule field. The string should only accept any of the ff set of letters: 'M' 'T' 'W' 'TH' 'F' 'S' 'SU' . Only one instance of these set of letters is accepted.", "refined_prompt": "Matches a string if it is valid in the form of MWF or TTHS. Maybe used for validating the \"days part\" of a class schedule field. The string should only accept any of the ff set of letters: 'M' 'T' 'W' 'TH' 'F' 'S' 'SU' . Only one instance of these set of letters is accepted.\nMatch examples:\n- \"MWF\"\n- \"TTHS\"\n- \"MT\"\nNon-match examples:\n- \"MM\"\n- \"WM\"", "matches": ["MWF", "TTHS", "MT", "WFS", "MFSU", "TH", "MTTHFS", "MWTHFSU", "MTTHSSU", "TFSU", "MWSU", "TWF", "THFSU"], "non_matches": ["MM", "WM", "FTH", "SM", "9ijn", "3nf@", "43-5432", "90u09u09", "u09nKLJG FSL", "com.edu.github", "(0xx12) 62509@", "++63453.345"], "id": 1356} {"expression": "^(([0][0-9]|[1][0-2])|[0-9]):([0-5][0-9])( *)((AM|PM)|(A|P))$", "raw_prompt": "Matches a string if it is a valid time in the format of \"HH:MM AM\" or \"HH:MM A\".", "refined_prompt": "matches time in both 12-hour and 24-hour formats, capturing hours, minutes, and an optional space followed by \"AM,\" \"PM,\" \"A,\" or \"P.\"\nMatch examples:\n- \"1:30 AM\"\n- \"01:20 AM\"\n- \"10:00A\"\nNon-match examples:\n- \"13:00 A\"\n- \"01:5 AM\"", "matches": ["1:30 AM", "01:20 AM", "10:00A", "11:50P", "01:45 AM", "12:00 PM", "03:30AM", "8:15 PM", "5:05AM", "11:59 PM", "09:00 AM", "1:10 PM", "02:45AM"], "non_matches": ["13:00 A", "01:5 AM", "09:00 AB", "1:1 AM", "9:75 PM", "15:15 AM", "12:60 AM", "07:00 BM", "60:25 AM", "04:60 PM", "3:50 XM", "8h98009hu"], "id": 1357} {"expression": "^-?\\d+(\\.\\d+)?$", "raw_prompt": "Matches any unsigned or signed floating point number/numeric string.", "refined_prompt": "Matches any unsigned or signed floating point number/numeric string.\nMatch examples:\n- \"123\"\n- \"3.14159\"\n- \"-1.2\"\nNon-match examples:\n- \"abc\"\n- \"3.4.2\"", "matches": ["123", "3.14159", "-1.2", "7865", "75", "8646", "847", "35", "478", "69.524", "57845", "74", "78.54"], "non_matches": ["abc", "3.4.2", ".234", "-123f", "4.23.2423", "$23.454", "43-5432", "254627g.256", "245/524/12", "(0xx12) 7256 2345154", "(0xx12) 62509@", "3409fjg43"], "id": 1362} {"expression": "^(?:(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY]))$", "raw_prompt": "Just a simple US State regex. Requires valid 2 letter abbreviations.", "refined_prompt": "Just a simple US State regex. Requires valid 2 letter abbreviations.\nMatch examples:\n- \"CO\"\n- \"GA\"\n- \"TX\"\nNon-match examples:\n- \"A\"\n- \"ZZ\"", "matches": ["CO", "GA", "TX", "HI", "OR", "KS", "FL", "HI", "CT", "DC", "IA", "LA", "MD"], "non_matches": ["A", "ZZ", "Florida", "(12) 324 653210", "9ijn", "3nf@", "-312", "notre dame", "u09nKLJG FSL", "354/243/542", "dfg", "32542 //"], "id": 1372} {"expression": "(?:(?:(?:04|06|09|11)\\/(?:(?:[012][0-9])|30))|(?:(?:(?:0[135789])|(?:1[02]))\\/(?:(?:[012][0-9])|30|31))|(?:02\\/(?:[012][0-9])))\\/(?:19|20|21)[0-9][0-9]", "raw_prompt": "Matches dates in mm/dd/yyyy format. Matches only valid dates -except is unable to test for a leapyear. Always allows February 29th. Allows years from 1901 to 2199.", "refined_prompt": "Matches dates in mm/dd/yyyy format. Matches only valid dates -except is unable to test for a leapyear. Always allows February 29th. Allows years from 1901 to 2199.\nMatch examples:\n- \"02/21/1972\"\n- \"12/31/2199\"\n- \"09/04/1901\"\nNon-match examples:\n- \"02/31/1999\"\n- \"02-21-1972\"", "matches": ["02/21/1972", "12/31/2199", "09/04/1901", "11/30/1914", "04/30/1955", "09/31/1943", "02/07/2123", "10/03/2100", "10/19/2179", "10/30/1962", "02/20/1969", "02/27/1962", "04/12/2083"], "non_matches": ["02/31/1999", "02-21-1972", "06/31/2001", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "notre dame", "245/524/12", "354/243/542", "(0xx12) 62509@", "3409fjg43"], "id": 1388} {"expression": "^\\d{1,2}\\.\\d{3}\\.\\d{3}[-][0-9kK]{1}$", "raw_prompt": "Verifica que un RUT tenga el formato 00.000.000-X, despues de comprobar el formato ser\u00e1 necesario validar su d\u00edgito verificador.", "refined_prompt": "Verifica que un RUT tenga el formato 00.000.000-X, despues de comprobar el formato ser\u00e1 necesario validar su d\u00edgito verificador.\nMatch examples:\n- \"12.025.365-6\"\n- \"5.698.124-k\"\n- \"7.999.647-K\"\nNon-match examples:\n- \"125.326.452-1\"\n- \"15.336.054-H\"", "matches": ["12.025.365-6", "5.698.124-k", "7.999.647-K", "2.358.268-2", "06.346.822-K", "23.104.146-4", "6.845.282-2", "4.293.999-K", "68.660.311-4", "7.023.409-8", "35.511.925-4", "21.484.004-k", "7.461.216-4"], "non_matches": ["125.326.452-1", "15.336.054-H", "15254587k", "fasd@fds.fasd@", "234/423/5243", "there is a boy", "AAAAAAA", "notre dame", "u09nKLJG FSL", "com.edu.github", "(0xx12) 62509@", "++63453.345"], "id": 1389} {"expression": "\\d{2}[.]{1}\\d{2}[.]{1}[0-9A-Za-z]{1}", "raw_prompt": "This pattern match the Italian Istat Ateco Code (Codice Istat) updated to Istat Declaration Ateco 2004", "refined_prompt": "This pattern match the Italian Istat Ateco Code (Codice Istat) updated to Istat Declaration Ateco 2004\nMatch examples:\n- \"22.12.0\"\n- \"18.24.C\"\n- \"98.65.T\"\nNon-match examples:\n- \"22.12_D\"\n- \"12.56\"", "matches": ["22.12.0", "18.24.C", "98.65.T", "76.74.P", "62.08.L", "05.69.n", "01.90.x", "48.02.V", "38.20.0", "42.35.Z", "17.40.5", "28.68.P"], "non_matches": ["22.12_D", "12.56", "1A.56.1", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "000-000", "354/243/542", "(0xx12) 62509@"], "id": 1410} {"expression": "IT\\d{2}[ ][a-zA-Z]\\d{3}[ ]\\d{4}[ ]\\d{4}[ ]\\d{4}[ ]\\d{4}[ ]\\d{3}|IT\\d{2}[a-zA-Z]\\d{22}", "raw_prompt": "International Bank Account Number (IBAN) Italian. Identify Bank account in Italy.", "refined_prompt": "International Bank Account Number (IBAN) Italian. Identify Bank account in Italy.\nMatch examples:\n- \"IT28 W800 0000 2921 0064 5211 151\"\n- \"IT28W8000000292100645211151\"\n- \"IT47r6150582949310134977462\"\nNon-match examples:\n- \"IT28-W800-0000-2921-0064-5211-151\"\n- \"52/2/54/245\"", "matches": ["IT28 W800 0000 2921 0064 5211 151", "IT28W8000000292100645211151", "IT47r6150582949310134977462", "IT50u4563415448490981947813", "IT45q3314391860255535018247", "IT66q2029117404871419554111", "IT62M7475226742656801338781", "IT08X8257033707588935025587", "IT17 B623 6010 0263 0308 1745 060", "IT41y2666346576666598173469", "IT74 t088 4777 7816 7371 3544 052", "IT22 u440 3355 3011 3390 9980 399", "IT35 G884 5647 9598 6037 6739 043"], "non_matches": ["IT28-W800-0000-2921-0064-5211-151", "52/2/54/245", "2534/52435234/2453", "(12) 324 653210", "234/423/5243", "there is a boy", "43-5432", "254627g.256", "245/524/12", "com.edu.github", "(0xx12) 62509@", "++63453.345"], "id": 1411} {"expression": "(^4\\d{12}$)|(^4[0-8]\\d{14}$)|(^(49)[^013]\\d{13}$)|(^(49030)[0-1]\\d{10}$)|(^(49033)[0-4]\\d{10}$)|(^(49110)[^12]\\d{10}$)|(^(49117)[0-3]\\d{10}$)|(^(49118)[^0-2]\\d{10}$)|(^(493)[^6]\\d{12}$)", "raw_prompt": "Matches Visa CC types 13 or 16 digits starting with 4 including Visa CC, Visa ATM only, Visa Electron and Visa Delta. Safe for international and will NOT match \"^(49)\" Switch debit cards.", "refined_prompt": "Matches Visa CC types 13 or 16 digits starting with 4 including Visa CC, Visa ATM only, Visa Electron and Visa Delta. Safe for international and will NOT match \"^(49)\" Switch debit cards.\nMatch examples:\n- \"4111111111111111\"\n- \"4903302261507834\"\n- \"4467220202996\"\nNon-match examples:\n- \"4903020000000008\"\n- \"52/2/54/245\"", "matches": ["4111111111111111", "4903302261507834", "4467220202996", "49110)1235196213", "4903017255950095", "493Q756879644542", "4911709979024881", "4911724535180908", "49110u9577293921", "4903308308396935", "4459227852002739", "493L044079768559", "4903309339220364"], "non_matches": ["4903020000000008", "52/2/54/245", "2534/52435234/2453", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "354/243/542", "(0xx12) 62509@", "3409fjg43"], "id": 1414} {"expression": "(^(5[0678])\\d{11,18}$)|(^(6[^05])\\d{11,18}$)|(^(601)[^1]\\d{9,16}$)|(^(6011)\\d{9,11}$)|(^(6011)\\d{13,16}$)|(^(65)\\d{11,13}$)|(^(65)\\d{15,18}$)|(^(49030)[2-9](\\d{10}$|\\d{12,13}$))|(^(49033)[5-9](\\d{10}$|\\d{12,13}$))|(^(49110)[1-2](\\d{10}$|\\d{12,13}$))|(^(49117)[4-9](\\d{10}$|\\d{12,13}$))|(^(49118)[0-2](\\d{10}$|\\d{12,13}$))|(^(4936)(\\d{12}$|\\d{14,15}$))", "raw_prompt": "Matches any of Solo, Switch or Maestro. International safe. Will not match on Discover, Visa or Mastercard. For example; Most recommendations for matching Visa are that they start with \"4\". If outside the US, this are incomplete on will falsly ID most Switch cards as Visa.", "refined_prompt": "Matches any of Solo, Switch or Maestro. International safe. Will not match on Discover, Visa or Mastercard. For example; Most recommendations for matching Visa are that they start with \"4\". If outside the US, this are incomplete on will falsly ID most Switch cards as Visa.\nMatch examples:\n- \"6334500000000003\"\n- \"65787411526656\"\n- \"6011273550429\"\nNon-match examples:\n- \"6011000000000004\"\n- \"52/2/54/245\"", "matches": ["6334500000000003", "65787411526656", "6011273550429", "4911806694738239", "601170831788719484", "4936071095523185", "65213324135290730380", "6534390341823", "4911012277568333917", "6M903146540804017677", "6G748260985328737", "4903386469066177", "4903084055698099"], "non_matches": ["6011000000000004", "52/2/54/245", "2534/52435234/2453", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "(0xx12) 7256 2345154", "(0xx12) 62509@", "3409fjg43"], "id": 1425} {"expression": "^(97(8|9))?\\d{9}(\\d|X)$", "raw_prompt": "Validates both ISBN 10 and ISBN 13 numbers, and confirms ISBN 13 numbers start with only 978 or 979.", "refined_prompt": "Validates both ISBN 10 and ISBN 13 numbers, and confirms ISBN 13 numbers start with only 978 or 979.\nMatch examples:\n- \"0672317249\"\n- \"9780672317248\"\n- \"357392943X\"\nNon-match examples:\n- \"0-672-31724-9\"\n- \"5555555555555\"", "matches": ["0672317249", "9780672317248", "357392943X", "6548106745", "9781061071527", "9793849883344", "9792371728730", "9780578739633", "803592955X", "9947182241", "9795633078285", "9782710478725", "738696527X"], "non_matches": ["0-672-31724-9", "5555555555555", "2534/52435234/2453", "afdsaf.adijs", "9ijn", "$23.454", "AAAAAAA", "254627g.256", "245/524/12", "354/243/542", "(0xx12) 62509@", "3409fjg43"], "id": 1428} {"expression": "^[\\w]{1,}$", "raw_prompt": "alphanumeric - no space allowed - requires at least one character", "refined_prompt": "alphanumeric - no space allowed - requires at least one character\nMatch examples:\n- \"a123b\"\n- \"56\"\n- \"d6\"\nNon-match examples:\n- \"a 1\"\n- \"52/2/54/245\"", "matches": ["a123b", "56", "d6", "56y", "d57", "g98g", "5r45", "43", "r6y98", "t545er67t8y", "u87", "y7uhf5", "f43vt33"], "non_matches": ["a 1", "52/2/54/245", "-243fewdE#@", "(12) 324 653210", "ft f6 f", "f5 f5", "f5 g78yu&^YU", "f yvuv76y", "5f5tf76f i", "7 gyu", "6iy#@E", "#@EQW"], "id": 1439} {"expression": "(^10\\.)|(^172\\.1[6-9]\\.)|(^172\\.2[0-9]\\.)|(^172\\.3[0-1]\\.)|(^192\\.168\\.)|(^127\\.0\\.0\\.1)", "raw_prompt": "It matches private IP addresses. Private IP addresses (as defined by RFC 1918) are not routable on public Internet. This would help if you want to grant some previlege only to the users from within local network. ***Importnat*** This pattern assumes that the input is a valid IP address. You many need to make sure the input is a valid IP address.", "refined_prompt": "It matches private IP addresses. Private IP addresses (as defined by RFC 1918) are not routable on public Internet. This would help if you want to grant some previlege only to the users from within local network. This pattern assumes that the input is a valid IP address.\nMatch examples:\n- \"10.12.0.19\"\n- \"172.21.0.23\"\n- \"192.168.0.2\"\nNon-match examples:\n- \"222.12.3.24\"\n- \"172.12.0.12\"", "matches": ["10.12.0.19", "172.21.0.23", "192.168.0.2", "10.0.0.1", "172.16.0.1", "172.17.0.2", "172.30.1.3", "192.168.1.1", "127.0.0.1", "10.10.10.10", "172.16.255.255", "172.31.0.0", "192.168.0.100"], "non_matches": ["222.12.3.24", "172.12.0.12", "2534/52435234/2453", "234.234.24.2.423", "42.342.3.524.23.", "543.25.453..2", "5..53..75.35.5.3.53.", "534.345.6.4.643", "5.34.37.5.23.", ".788..7462..543", "354.56.56.8.", "45.4.67.4435"], "id": 1449} {"expression": "^(GIR|[A-Z]\\d[A-Z\\d]?|[A-Z]{2}\\d[A-Z\\d]?)[ ]??(\\d[A-Z]{0,2})??$", "raw_prompt": "This will validate a partial postcode beginning with the postal district on up to the whole postcode, returning the two halves in sub-expressions. The main purpose is to return a valid postal district from a partial or whole postcode. The real value in this regex lies in the fact that it will process the postcode correctly regardless of whether or not the space in present after the district. So the accepted formats are A1 1AA, A11 1AA, A1A 1AA, AA1 1AA, AA11 1AA, AA1A 1AA GIR 0AA (and the same 6 formats without the space are also accepted). Requires postcodes to be upper-case.", "refined_prompt": "This will validate a partial postcode beginning with the postal district on up to the whole postcode, returning the two halves in sub-expressions. The main purpose is to return a valid postal district from a partial or whole postcode. The real value in this regex lies in the fact that it will process the postcode correctly regardless of whether or not the space in present after the district. So the accepted formats are A1 1AA, A11 1AA, A1A 1AA, AA1 1AA, AA11 1AA, AA1A 1AA GIR 0AA (and the same 6 formats without the space are also accepted). Requires postcodes to be upper-case.\nMatch examples:\n- \"W1A1AB\"\n- \"GIR0L\"\n- \"GIR2KU\"\nNon-match examples:\n- \"WWW1AB\"\n- \"c:\\f34fvfv\"", "matches": ["W1A1AB", "GIR0L", "GIR2KU", "K3", "M7", "SW0", "GIR9M", "N1M", "GIR", "PR7", "GIR", "UF1L", "AO8"], "non_matches": ["WWW1AB", "c:\\f34fvfv", "53495083409x", "afdsaf.adijsTFVG", "DRTFC", "DRTCF", "TRCF6F", "T", "7FT87G8", "5f8yg", "6f7ui7", "d67"], "id": 1457} {"expression": "^(GIR|[A-Z]\\d[A-Z\\d]??|[A-Z]{2}\\d[A-Z\\d]??)[ ]??(\\d[A-Z]{2})$", "raw_prompt": "Validates a complete UK postcode. Returns the two halves in sub-expressions. Supports the following 7 formats: A1 1AA, A11 1AA, A1A 1AA, AA1 1AA, AA11 1AA, AA1A 1AA GIR 0AA (** And the same 7 formats without the space are also accepted). (requires postcodes to be upper-case)", "refined_prompt": "Validates a complete UK postcode. Returns the two halves in sub-expressions. Supports the following 7 formats: A1 1AA, A11 1AA, A1A 1AA, AA1 1AA, AA11 1AA, AA1A 1AA GIR 0AA (** And the same 7 formats without the space are also accepted). (requires postcodes to be upper-case)\nMatch examples:\n- \"GIR0AA\"\n- \"SV85 9SV\"\n- \"T0J 4XZ\"\nNon-match examples:\n- \"WWW1AB\"\n- \"c:\\f34fvfv\"", "matches": ["GIR0AA", "SV85 9SV", "T0J 4XZ", "U76VA", "GIR 6JN", "GIR 3XP", "GIR 4NS", "LX86SU", "VU47TU", "GIR 1QH", "IG9H4AY", "F2Q1PS", "KD36CL"], "non_matches": ["WWW1AB", "c:\\f34fvfv", "-243", "afdsaf.adijs", "9ijn", "3nf@", "43-5432", "254627g.256", "u09nKLJG FSL", "354/243/542", "abc111def", "8h98009hu"], "id": 1458} {"expression": "^[0-9]+[NnSs] [0-9]+[WwEe]$", "raw_prompt": "This tests, are entered AW coordinates in correct short format, and it has no world info", "refined_prompt": "match coordinate pairs in the format of latitude (North/South) followed by longitude (West/East), where both latitude and longitude are represented by numbers.\nMatch examples:\n- \"0N 0W\"\n- \"34N 118W\"\n- \"0s 0e\"\nNon-match examples:\n- \"aw 0N 0W\"\n- \"12345\"", "matches": ["0N 0W", "34N 118W", "0s 0e", "42n 73w", "90S 180E", "1n 1w", "60S 45E", "23n 56w", "75s 30e", "80N 90W", "45s 0e", "12n 34w", "50S 100E"], "non_matches": ["aw 0N 0W", "12345", "N45 W90r", "afdsaf.adijs", "45N 90E 180W", "12n 45w E", "60N 45E, 23S 56W", "North 12 West 34", "50S 100E 200W", "N15 E20", "sda sad", "32542"], "id": 1466} {"expression": "^([0-1]?[0-9]|[2][0-3]):([0-5][0-9])$", "raw_prompt": "Checks time in 24 hours notation, however this one is shorter than the ones I found on regexplib", "refined_prompt": "Checks time in 24 hours notation\nMatch examples:\n- \"23:00\"\n- \"12:21\"\n- \"0:00\"\nNon-match examples:\n- \"24:00\"\n- \"23:60\"", "matches": ["23:00", "12:21", "0:00", "07:21", "23:07", "4:53", "21:05", "8:33", "20:14", "23:53", "2:20", "20:42", "3:44"], "non_matches": ["24:00", "23:60", "0:60", "-123", "234", "$23.454", "43-5432", "254627g.256", "000-000", "76:r4", "74:54", "86:34"], "id": 1468} {"expression": "^([0-1]?[0-9]{1}/[0-3]?[0-9]{1}/20[0-9]{2})$", "raw_prompt": "This regular expression will validate most (current & future) date options. The weaknesses with this one is that it will allow the days to go up to 39 and does not account for leap year. Also, the months can go up to 19, instead of our commonly accepted 12 month year. :) I designed this expression to validate dates from the year 2000 to 2099. I do not plan on this same code being in place in 2099, so I hope this is sufficient enough...", "refined_prompt": "This regular expression will validate most (current & future) date options. The weaknesses with this one is that it will allow the days to go up to 39 and does not account for leap year. Also, the months can go up to 19, instead of our commonly accepted 12 month year.\nMatch examples:\n- \"2/14/2001\"\n- \"12/29/2099\"\n- \"19/39/2000\"\nNon-match examples:\n- \"12/29/1999\"\n- \"20/40/2100\"", "matches": ["2/14/2001", "12/29/2099", "19/39/2000", "4/5/2089", "8/27/2010", "11/7/2058", "6/12/2084", "13/24/2016", "7/18/2077", "6/5/2055", "16/03/2054", "2/14/2082", "03/2/2096"], "non_matches": ["12/29/1999", "20/40/2100", "2534/52435234/2453", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "897-", "34.31", "3409fjg43"], "id": 1484} {"expression": "^\\d+\\*\\d+\\*\\d+$", "raw_prompt": "one or more numbers, asterisk, one or more numbers, asterisk, one or more numbers, no letters or punctuation other than asterisks.", "refined_prompt": "one or more numbers, asterisk, one or more numbers, asterisk, one or more numbers, no letters or punctuation other than asterisks.\nMatch examples:\n- \"123*4578*8908650\"\n- \"14*523*154\"\n- \"14*4*5432\"\nNon-match examples:\n- \"12a*99989*9096\"\n- \"52/2/5*4/82*45\"", "matches": ["123*4578*8908650", "14*523*154", "14*4*5432", "1*523*5432", "641*523*5432", "14*523*6544", "14*4351*5432", "14*3416*5432", "1463136*523*5432", "14*523*416", "8766*523*5432", "14*654*5432", "14*523*2346"], "non_matches": ["12a*99989*9096", "52/2/5*4/82*45", "2534/52*4835234*/2453", "(12) 3*248 6*53210", "23*4/8423/5*243", "3n8*f@*", "43*-58432*", "2*54627g.2*68", "245/52*4/12", "354/*243/542", "(0xx12) 62*509@", "34*09fjg43"], "id": 1485} {"expression": "^100(\\.0{0,2}?)?$|^\\d{0,2}(\\.\\d{0,2})?$", "raw_prompt": "Matches percentages from 0-100 inclusive with two decimal places.", "refined_prompt": "Matches percentages from 0-100 inclusive with two decimal places.\nMatch examples:\n- \"0\"\n- \"100\"\n- \"100.00\"\nNon-match examples:\n- \"101\"\n- \"-5\"", "matches": ["0", "100", "100.00", "45.45", "74", "86", "85", "35.35", "99", "65", "66.66", "44.46", "83.73"], "non_matches": ["101", "-5", "45.456", "-123", "51:534", "$23.454", "43-5432", "1.12423", "9516-9516", "354/243/542", "34.3125", "32542"], "id": 1489} {"expression": "^((0[1-9])|(1[0-2]))\\/((0[1-9])|(1[0-9])|(2[0-9])|(3[0-1]))\\/(\\d{4})$", "raw_prompt": "This regular expressions matches dates in the format MM/DD/YYYY where MM can be 01 to 12, DD can be 01 to 31 and YYYY is always 4 digits long.", "refined_prompt": "This regular expressions matches dates in the format MM/DD/YYYY where MM can be 01 to 12, DD can be 01 to 31 and YYYY is always 4 digits long.\nMatch examples:\n- \"12/25/2007\"\n- \"11/07/1517\"\n- \"02/25/2727\"\nNon-match examples:\n- \"1/27/1977\"\n- \"00/01/000\"", "matches": ["12/25/2007", "11/07/1517", "02/25/2727", "01/31/1026", "01/02/1770", "12/30/5833", "12/09/6504", "07/18/0292", "11/31/7444", "05/09/9524", "09/31/6773", "12/28/5047", "11/30/1576"], "non_matches": ["1/27/1977", "00/01/000", "15/07/2002", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "354/243/542", "9/9/9", "3409fjg43"], "id": 1492} {"expression": "[0-9]{4}-([0][0-9]|[1][0-2])-([0][0-9]|[1][0-9]|[2][0-9]|[3][0-1])", "raw_prompt": "This function does basic testing for the YYYY-MM-DD date format.", "refined_prompt": "This function does basic testing for the YYYY-MM-DD date format.\nMatch examples:\n- \"1981-10-16\"\n- \"6401-04-30\"\n- \"3202-11-05\"\nNon-match examples:\n- \"1981-13-10\"\n- \"52/2/-54/2-45\"", "matches": ["1981-10-16", "6401-04-30", "3202-11-05", "7024-05-13", "2690-11-05", "6492-12-11", "6280-10-10", "4225-09-25", "5745-11-17", "0117-08-21", "6780-10-31", "0337-07-31", "2116-12-08"], "non_matches": ["1981-13-10", "52/2/-54/2-45", "2534/5243-5234/2-453", "(12) 32-4 653210", "234/423/5-243", "$2-3.454", "43-5-432", "2546-27g.256", "245/52-4/12", "354/2-43/542", "(0xx12-) 62509@", "++6345-3.345"], "id": 1495} {"expression": "^(((19|20)(([0][48])|([2468][048])|([13579][26]))|2000)[\\-](([0][13578]|[1][02])[\\-]([012][0-9]|[3][01])|([0][469]|11)[\\-]([012][0-9]|30)|02[\\-]([012][0-9]))|((19|20)(([02468][1235679])|([13579][01345789]))|1900)[\\-](([0][13578]|[1][02])[\\-]([012][0-9]|[3][01])|([0][469]|11)[\\-]([012][0-9]|30)|02[\\-]([012][0-8])))$", "raw_prompt": "This regex match dates in the international standard date notation by ISO (IS0 8601). It can validate any dates between 1900-01-01 and 2099-12-31 ant take account of leap years. The format is mandatory and the hyphen is needed. You could easily change it to accept other separators. It has been tested with Regex Coach and PHP.", "refined_prompt": "This regex match dates in the international standard date notation by ISO (IS0 8601). It can validate any dates between 1900-01-01 and 2099-12-31 ant take account of leap years. The format is mandatory and the hyphen is needed.\nMatch examples:\n- \"1900-01-01\"\n- \"2099-12-31\"\n- \"2004-02-29\"\nNon-match examples:\n- \"20060526\"\n- \"1900-02-29\"", "matches": ["1900-01-01", "2099-12-31", "2004-02-29", "1900-11-25", "2000-11-30", "1909-12-28", "2000-06-30", "2007-09-30", "2089-11-20", "2000-04-11", "1900-12-31", "1900-12-24", "2052-12-30"], "non_matches": ["20060526", "1900-02-29", "2100-01-01", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "354/243/542", "(0xx12) 62509@", "++63453.345"], "id": 1512} {"expression": "^(-?)(((\\d{1,3})(,\\d{3})*)|(\\d+))(\\.\\d{1,2})?$", "raw_prompt": "This RegEx checks whether the input is a number or not. Number may contain commas a seperators, can contain one or two decimal places and can be positive or negative.", "refined_prompt": "This RegEx checks whether the input is a number or not. Number may contain commas a seperators, can contain one or two decimal places and can be positive or negative.\nMatch examples:\n- \"100,000,000.00\"\n- \"-100,000,000.00\"\n- \"100,000,000\"\nNon-match examples:\n- \"100,000,00.00\"\n- \"1000.000\"", "matches": ["100,000,000.00", "-100,000,000.00", "100,000,000", "-100,000,000", "100000000.00", "-100000000.00", "100000000", "-100000000", "1534", "4352", "635", "87436", "243"], "non_matches": ["100,000,00.00", "1000.000", "1000.", "(12) 324 653210", "234/423/5243", "$23.454", "43-5432", "254627g.256", "245/524/12", "354/243/542", "(0xx12) 62509@", "3409fjg43"], "id": 1515} {"expression": "^1?[1-2]$|^[1-9]$|^[1]0$", "raw_prompt": "Get one and two numeric digits between 1 and 12 inclusive, positive numbers only (Zeros are excluded and so is values higher than 12).", "refined_prompt": "Get one and two numeric digits between 1 and 12 inclusive, positive numbers only (Zeros are excluded and so is values higher than 12).\nMatch examples:\n- \"1\"\n- \"6\"\n- \"12\"\nNon-match examples:\n- \"-1\"\n- \"0\"", "matches": ["1", "6", "12", "2", "3", "4", "5", "7", "8", "9", "10", "11"], "non_matches": ["-1", "0", "13", "4312", "45", "65", "6f", "567", "7654", "2c", "5647", "43c"], "id": 1520} {"expression": "^N[1-9][0-9]{0,4}$|^N[1-9][0-9]{0,3}[A-Z]$|^N[1-9][0-9]{0,2}[A-Z]{2}$", "raw_prompt": "FAA Tail Numbers as described here: http://www.faa.gov/licenses_certificates/aircraft_certification/aircraft_registry/special_nnumbers/", "refined_prompt": "FAA Tail Numbers\nMatch examples:\n- \"N12345\"\n- \"N52T\"\n- \"N84WE\"\nNon-match examples:\n- \"N123456\"\n- \"Nh9if23\"", "matches": ["N12345", "N52T", "N84WE", "N68", "N423A", "N6NY", "N2242", "N28KJ", "N35", "N30C", "N4193", "N2CA", "N19NM"], "non_matches": ["N123456", "Nh9if23", "N34f2vf42e", "N12/123/4322", "N123.456.789", "N123.456.7890", "N56.153153", "N/5/5/20022", "N432/524/2435", "Nadfa2", "N(0xx12) 62509", "N12/132/90"], "id": 1539} {"expression": "\\d\\d?\\d?\\.\\d\\d?\\d?\\.\\d\\d?\\d?\\.\\d\\d?\\d?", "raw_prompt": "Quick and simple way of matching a well-formed IPV4 (dotted quad) ip address.", "refined_prompt": "Quick and simple way of matching a well-formed IPV4 (dotted quad) ip address.\nMatch examples:\n- \"192.168.1.19\"\n- \"6.3.948.89\"\n- \"28.38.1.25\"\nNon-match examples:\n- \"19x.168.1.19\"\n- \"f34fvfv\"", "matches": ["192.168.1.19", "6.3.948.89", "28.38.1.25", "4.6.75.1", "3.11.38.1", "2.62.64.19", "11.186.9.74", "167.0.2.095", "1.18.615.26", "7.502.83.9", "10.890.4.90", "5.62.836.51", "72.62.38.143"], "non_matches": ["19x.168.1.19", "f34fvfv", "34f2vf42e", "12/123/4322", "2346-2345-2435", "43.v234", "@#dfkjnav", "/5/5/20022", "432/524/2435", "341.431v4f3.fv1", "(0xx12) 62509", "12/132/90"], "id": 1549} {"expression": "^\\d*[0-9](\\.\\d?[0-9])?$", "raw_prompt": "Allow Decimal values as [decimal](*, 2), scale length between 0 and 2", "refined_prompt": "Allow Decimal values as [decimal](*, 2), scale length between 0 and 2\nMatch examples:\n- \"87645.09\"\n- \"87645.9\"\n- \"87645.10\"\nNon-match examples:\n- \"87645.091\"\n- \"87645.\"", "matches": ["87645.09", "87645.9", "87645.10", "87645", "777698353094752880760794069684108698341032758279235997847364392067648258518127050.5", "6077107689090387339015186298602908029420195008990703295970503721211509552189837978", "62534419400374094193", "7847110062233216866380559814689829460556814730990738759420596.7", "6388755307341136274141229227906518971513195109976980738120192063260.5", "920273193897792617989888255137588685406964083175.0", "8421404992436294109084605391115890355156252405827714599269051017476507953982066470036296406989", "40.4", "2661675356454810967369157361635808125799434042000783742662896962"], "non_matches": ["87645.091", "87645.", "werfvd", "3er4t5grevds", "ddwe4rt5y67u6y54", "#333", "$567", "5643%", "number", ".0", "3r4efd", "2343ss"], "id": 1566} {"expression": "^((\\d{0,1}[0-9](\\.\\d{0,1}[0-9])?)|(100))$", "raw_prompt": "Allow Percentage with optional scale (max length of 2) between (00.00 and 100)", "refined_prompt": "Captures percentage with 0-2 decimal points (00.00 - 100).\nMatch examples:\n- \"00.00\"\n- \"00\"\n- \"99.99\"\nNon-match examples:\n- \"99.\"\n- \"100.1\"", "matches": ["00.00", "00", "99.99", "99.5", "100", "1", "12.0", "0.5", "0.75", "0.20", "0.01", "00.99", "00.15"], "non_matches": ["99.", "100.1", "0.", ".0", "101", "-1", "+4", "5%", "00.003", "3.1415", "555.555", "1000"], "id": 1567} {"expression": "^([0-9]{4})-([0-1][0-9])-([0-3][0-9])\\s([0-1][0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9])$", "raw_prompt": "SQL datetime format tester YYYY-MM-DD HH:MM:SS", "refined_prompt": "Structured query language (SQL) date and time format. In the format: YYYY-MM-DD HH:MM:SS (YEAR-MONTH-DAY HOUR-MINUTE-SECOND). Accepts some logically invalid months and date configurations.\nMatch examples:\n- \"2007-07-01 01:01:01\"\n- \"2007-08-04 18:01:01\"\n- \"2003-01-26 09:26:01\"\nNon-match examples:\n- \"2007-07-01\"\n- \"2007/07/01\"", "matches": ["2007-07-01 01:01:01", "2007-08-04 18:01:01", "2003-01-26 09:26:01", "0000-00-00 00:00:00", "9999-19-23 00:00:00", "9009-06-23 23:00:00", "1111-19-35 23:59:59", "0000-00-00 00:00:01", "0405-06-07 08:09:10", "0788-14-39 22:23:49", "0334-15-35 10:56:07", "0420-05-05 20:15:07", "9599-15-28 22:16:29"], "non_matches": ["2007-07-01", "2007/07/01", "2007-08-04 24:00:00", "2007/07/01 12:12", "23/4/26", "8/1/03", "24:00:33", "23-01 12:12", "11:11", "9-21 00:00", "2023/08/03 12:34", "22:16:29 0420-05-05"], "id": 1570} {"expression": "(^[0][.]{1}[0-9]{0,}[1-9]+[0-9]{0,}$)|(^[1-9]+[0-9]{0,}[.]?[0-9]{0,}$)", "raw_prompt": "This pattern will match any positive number(Real or Integer). It will not match ZERO or any variation of zero (ie 0.00)", "refined_prompt": "This will capture any unsigned, positive number (real or integer), except any variation of 0 (0, 0.0, 00).\nMatch examples:\n- \"0.003\"\n- \"34\"\n- \"6.000\"\nNon-match examples:\n- \"0.0\"\n- \"-34\"", "matches": ["0.003", "34", "6.000", "7.3", "123456789", "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280", "0.5", "6.700000000000038854387", "0.30", "348739.2384729", "1.0000", "10000000000000", "99.99"], "non_matches": ["0.0", "-34", "-23.00", "0", "-0.30", "+6", ".0", "00000.5", "0.", "-00.00", "+6.57", "0.000"], "id": 1579} {"expression": "([0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[0-9a-zA-Z]\\.)+[a-zA-Z]{2,9})$", "raw_prompt": "This pattern validates email address. it allows (1)numeric characters and underscore(_) in an address.(2)numeric characters in domain name. it doesn't match user names with a dot(.). doesn;t allow username starting or ending with @ underscore.", "refined_prompt": "The pattern recognizes an email address with the following rules: (1) underscores, periods, and numbers are allowed in usernames, (2) numbers are allowed in the domain name, but not the top-level domain name (before the . but not after), (3) usernames can not start with an underscore or ampersand.\nMatch examples:\n- \"san_z@asg.com\"\n- \"xy_z@123g.co.in\"\n- \"san@ss.com.in\"\nNon-match examples:\n- \"ssaa_s@asg.c\"\n- \"a@a.com\"", "matches": ["san_z@asg.com", "xy_z@123g.co.in", "san@ss.com.in", "asmith@nd.edu", "333_4@44.com", "john.doe@et.org", "billy_d37@uofa.gmail", "5555@555.555.org", "the@quick.brown.fox.jumped.over", "4@54.com", "54@ttttttt.com", "999999@999999.oo", "amazon.com@walmart.org"], "non_matches": ["ssaa_s@asg.c", "a@a.com", "san@s.co.in", "san@apr.com.in.i", "5.5@5.org", "joan.anne@school.5", ".org", "@gmail.org", "jordan@55", "66.@path.com", "@college.org", "*&^%@row.edu"], "id": 1585} {"expression": "\"[^\"]+\"", "raw_prompt": "Finds strings enclosed in double quotations", "refined_prompt": "Finds strings of characters enclosed in double quotations\nMatch examples:\n- \"\"MatchingText\"\"\n- \"\"enclosed\"\"\n- \"\"2023\"\"\nNon-match examples:\n- \"NonMatchingText\"\n- \"NoQuotes\"", "matches": ["\"MatchingText\"", "\"enclosed\"", "\"2023\"", "\"@gmail.com\"", "\" \"", "\" 1234\"", "\"\\n\"", "\"1234 E. Apple St.\"", "\"~\"", "\"[ ]\"", "\" @ \"", "\"HELLO!\"", "\"https://www.amazon.com/\""], "non_matches": ["NonMatchingText", "NoQuotes", "\"NoEnding", "NoBeginning\"", "\"\"DoubleBeginning", "DoubleEnding\"\"", "'Apostrophe'", "'BeginningApostrophe", "EndingApostrophe'", "\"SwitchedBack'", "'SwitchedFront\"", "''DoubleApostrophe''"], "id": 1587} {"expression": "(15(8[48]|9[26]))|((1[6-9]|[2-9]\\d)(0[48]|[13579][26]|[2468][048]))|(([2468][048]|16|3579[26])00)", "raw_prompt": "Validates four-digit leap years after 1582 (when Pope Gregory XIII switched to the Gregorian calendar). The last recognized leap year is 9996, so no worries with the y3k bug.", "refined_prompt": "Validates four-digit leap years after 1582 (when Pope Gregory XIII switched to the Gregorian calendar). The last recognized leap year is 9996.\nMatch examples:\n- \"1584\"\n- \"2000\"\n- \"2048\"\nNon-match examples:\n- \"1200\"\n- \"1580\"", "matches": ["1584", "2000", "2048", "1588", "7256", "1592", "8396", "1864", "1600", "6000", "7408", "2400", "8000"], "non_matches": ["1200", "1580", "1941", "1800", "1004", "001", "45", "1408", "1068", "1128", "1324", "1276"], "id": 1588} {"expression": "^[-+]?\\d+(\\.\\d{2})?$", "raw_prompt": "It accepts only two integer after a decimal point. The number may be in Positive or negative.", "refined_prompt": "Accepts positive or negative integer values. If there is a decimal point, there must be exactly two decimal places given.\nMatch examples:\n- \"+1212.14\"\n- \"-12.13\"\n- \"122.45\"\nNon-match examples:\n- \"1212.4564\"\n- \"-11.5858\"", "matches": ["+1212.14", "-12.13", "122.45", "-0.44", "+0000444444.44", "-726.00", "555", "99999999999.99", "0.00", "1234.12", "05.05", "-00.00", "+9.99"], "non_matches": ["1212.4564", "-11.5858", "12.000", "0.", "1234.1234", "+.", "00-", "0.9", "0.999999999999999999", "+3.14159265359", "-+0.99", "-.00"], "id": 1592} {"expression": "^(http\\:\\/\\/[a-zA-Z0-9\\-\\.]+\\.[a-zA-Z]{2,3}(?:\\/\\S*)?(?:[a-zA-Z0-9_])+\\.(?:jpg|jpeg|gif|png))$", "raw_prompt": "A nice little regex to verify a URL pointing towards an image. Can be useful.", "refined_prompt": "Verifies that a URL refers to / points towards an image.\nMatch examples:\n- \"http://website.com/directory/image.gif\"\n- \"http://mY.16wkdchY-wuvoWpHtZLM5EBD.DqaJ.jpg\"\n- \"http://16dBsg-wTS6wIVjMilL7ILvx.EI5K5BQnEvqd8uxjrYXjmlF6QJpkw.png\"\nNon-match examples:\n- \"www.website.com/image.php\"\n- \"www.picture.here\"", "matches": ["http://website.com/directory/image.gif", "http://mY.16wkdchY-wuvoWpHtZLM5EBD.DqaJ.jpg", "http://16dBsg-wTS6wIVjMilL7ILvx.EI5K5BQnEvqd8uxjrYXjmlF6QJpkw.png", "http://EjrLECfHkL5.tFopXJ10TkCh-jNjEfiG5e3DdBgreymwuNS5P5pi.aOY2rdWHs6VsEggY7tkn39soXL-wg-diW2yqJEmdMVeg.wFs6F8BHU6z4meVEmCgUUIFs3.jpeg", "http://8ohZ-LNRwkriF5X7wyh1sqrjaz.vVDt_RAxaZ_Y.jpg", "http://g35tMNQ-2Ugka1.fPWwpeDcUmj5ZyYbfq6cJcryOBnQI88a7nafgWyzM8WgIT3.gif", "http://.FklkEJy..eL0teNhL2VFWKFPhaLxqOkZCie5pKS3jfMdwMeNK1r9PeWi6CrzKYq.hIX0J.jpeg", "http://BWII3EHWgISrvBpTO4u5Fy.UX2mgg_mSSU5e.gif", "http://hXazX0.RAZcjO0dwlSKFZADxc0NQMzTLycPaVDXmbbeue2f7ETFnMjiR8FwhDTYm8jfQXQswGwn_mTsh2xRx_udPiODC38AaAFwS4.jpg", "http://JHgb.5lbZEkDbEKGHX5ip2.qVMoegDGIubh5tZDa_YYGtgghkSS0CCGp4mzXcVQ.jpg", "http://zIu3Ac9Nsu3An6iu01m8.aa.eHtjYgGele9wKP0IybjWen6Rj57560ZiHijaRoalY5oQ66YRAWPo6BSaRRuE76dmh1xVyS0uOkljZMJ_.png", "http://EGeSMV5M1YtMaqb.LbNmMVe_l4bqoRKHJfOM0gbEWTz.jpeg", "http://uMO8ePamOatXwcszK.WiO/CeY2}nQ@?nooQr,'SSeDrBL}Wf\\PP'X!1.jpeg"], "non_matches": ["www.website.com/image.php", "www.picture.here", "www://Fe96Z8k4hlTowt7QGupJ9lrjp.vCgIyi6cHMvOYQhU_X6kF10HfgOnBXM.png", "www://BB5Qt93T7992YcRnXw0-uqSwFPjDDxsnyz3-RPaj8KVavqfNbOrkO3g.tvEAI.sSH88ySka3.png", "www://qrMhM-x-efXsioq2BGCUsS2-6fcYefuK92yoVNjF4sx6YxtyfcMYcKXAoY3tBRR5bNoltQSChF.NDo8bz5RpTEvNo5I8fv.com", "http://j7DIFoX.lT/Xf)($(8A\\W26RvI04~eOc5^cj\\p^qR,Lfe3]C^w@Guwk]m=,,~F]0o\"390B8qLc]fv>4LqM'\\eu?zy.ulpu1X0mxjoWSY0f.org", "http://Bpd9L.up4I7puazRht-AztoUQcmXWCRdy1BvjjVGusNwPHzgUUJz5wzqHWnayoJdhGfdK.suhm5MyUhbWceVEkSzED_qa.edu", "http://3YRVKYD.5Mn2iKAFnjA3YjZp9aSSN.ko/`VyO'T4.0a_P.y~d<;,UT,ORS|A(HK7HFcLju(GSPahM6tXB1]D-Nw!g/Dq~$9;\"}ug_-'M$OhdheFr3jOk76e0h9ZWsoJXdViBxgmeVnKx6.org", "www://J2pp6qTAuPmdB.lF0AUjVEaLNpxI6Pv56y8v.zR2ZLzMumZMME.kJNAPGFfKjjstFHwhn6DHai8FPWCSp3Zikn7E_AXg.", "www://gtb2mcVj6c.sNUY6XUY3wOB3M9WAYhg4HFh.siH/n?R@X\"My>eX7NYVuJ\"2o\nArea code: [2-9][0-8][0-9]
    \nExchange code: [2-9][0-9][0-9]
    \nStation code: [0-9][0-9][0-9][0-9]
    \nAccepts common phone number separators like parentheses, dash/hyphen, slash, period, and space. Stops matching at any word boundary, including end of line. Adapted from Don Johnston's pattern.", "refined_prompt": "Matches Northern American Numbering Plan (NANP) requirements for valid telephone numbers in the USA, its territories, Canada, Bermuda, and 16 Caribbean nations.\r\nArea code: [2-9][0-8][0-9]\r\nExchange code: [2-9][0-9][0-9]\r\nStation code: [0-9][0-9][0-9][0-9]<\r\nAccepts common phone number separators like parentheses, dash/hyphen, slash, period, and space. Stops match at any word boundary, including the end of the line. Adapted from Don Johnston's pattern.\nMatch examples:\n- \"8296399623\"\n- \"741 556-4630\"\n- \"319.380.3232\"\nNon-match examples:\n- \"(195)979-5873\"\n- \"763 027 5552\"", "matches": ["8296399623", "741 556-4630", "319.380.3232", "(859)673.5793", "660/471.5749", "9369137535", "425.248-9472", "712397.3181", "(870) 5968518", "523722/0174", "(403) 376.7985", "(369)601-2988", "(989) 535/1195"], "non_matches": ["(195)979-5873", "763 027 5552", "596 270.0326", "8915551212", "(137)6197955", "(063)763.8654", "(149)943.2546", "(080)008.0996", "(186)117 7777", "602", "(007)0548217", "(177)0235914"], "id": 1606} {"expression": "^(.{0,}(([a-zA-Z][^a-zA-Z])|([^a-zA-Z][a-zA-Z])).{4,})|(.{1,}(([a-zA-Z][^a-zA-Z])|([^a-zA-Z][a-zA-Z])).{3,})|(.{2,}(([a-zA-Z][^a-zA-Z])|([^a-zA-Z][a-zA-Z])).{2,})|(.{3,}(([a-zA-Z][^a-zA-Z])|([^a-zA-Z][a-zA-Z])).{1,})|(.{4,}(([a-zA-Z][^a-zA-Z])|([^a-zA-Z][a-zA-Z])).{0,})$", "raw_prompt": "Passwords with at least 1 letter, at least 1 non-letter, and at least 6 characters in length. It is lenthy with a repeating pattern so that I could validate all three conditions in one expression without using a lookahead, \"?=\", which are not handled correctly in Internet Explorer.", "refined_prompt": "Matches passwords with at least 1 letter, at least 1 non-letter, and at least 6 total characters in length.\nMatch examples:\n- \"12345a\"\n- \"abcde*\"\n- \"ABC123\"\nNon-match examples:\n- \"12ab\"\n- \"abcdef\"", "matches": ["12345a", "abcde*", "ABC123", "tT?H{jf8ty0_P9J", "a'%|w]1y-Um]Mp>F", "Password!1@", "ac\\S#%&(ZVosR#b?Z'ptCn6VNW%Ecbq.JMJ~pvsnN_)p~0-W", "RSh3X=Q8|t~[Q", "T]>)T>Qb2rc70hP7#s))@)Y`ZMs#V'x6aoC'^x?1aBt}XK", "<`,-j27bW ,Y&j\\6eF&v$Woe`0q;F~+@d$RM7eBxZ9o_59JSSLB\"){", "(Ikg4?Xm8dmB^y{0", "G,;097W~8\";n >~4!vq4R?%", "th!s!sa$trongp@ssw0rd"], "non_matches": ["12ab", "abcdef", "123456", "$", "12$@", "pasS!", "hElLo", "####@", "sw@9.", "...", "+-+-1", "LOML"], "id": 1611} {"expression": "^([0-9]{0,5}|[0-9]{0,5}\\.[0-9]{0,3})$", "raw_prompt": "This regular expression is intended to limit numeric entries by allowed places before and after the decimal point. It also recognizes whole numbers. In this example the value cannot exceed 99999.999. To change the range, simply edit the numbers in curly braces. For example, to allow 7 digits (millions) before the decimal point, change both instances of {0,5} to {0,7}. Likewise, to change the decimals from allowing thousandths (3 digits) to just hundreths, change the {0,3} to {0,2}. This can be useful for numeric fields in SQL. This example was made to accommodate a numeric(8,3) field definition.", "refined_prompt": "This regular expression is intended to limit numeric entries by allowed places before and after the decimal point. It also recognizes whole numbers. In this example the value cannot exceed 99999.999. This example was made to accommodate a numeric(8,3) field definition.\nMatch examples:\n- \"0\"\n- \"1\"\n- \"1.55\"\nNon-match examples:\n- \"abc\"\n- \"654321\"", "matches": ["0", "1", "1.55", "54321.123", ".12", "20563.23", ".1", "152", "0.", "1190.315", "83.29", "1130", "99999.999"], "non_matches": ["abc", "654321", "12..34", ".1234", "$$$", "99999.9999", "100000.000", "100000", "999999", ".1234", "000000", "3.1415"], "id": 1618} {"expression": "^((?:\\?[a-zA-Z0-9_]+\\=[a-zA-Z0-9_]+)?(?:\\&[a-zA-Z0-9_]+\\=[a-zA-Z0-9_]+)*)$", "raw_prompt": "This is a very simple regex that check the query part of a string. That is to say anything after the \"?\" at the end of an URL.", "refined_prompt": "Simple regex to match the query part of a string. Meaning, anything after the \"?\" at the end of an URL.\nMatch examples:\n- \"?key=value\"\n- \"?key1=value1&key2=value2\"\n- \"?hello=hola\"\nNon-match examples:\n- \"key=value\"\n- \"?key=value&\"", "matches": ["?key=value", "?key1=value1&key2=value2", "?hello=hola", "?regex=eval", "?12345=6789", "?go=irish", "?website=90000", "?cool=aka", "?314=CSE", "?xxxxxxxx=yyyyyyyyyyyyyy", "?1a2b3c=abcd1234", "?value=key", "?gGGg=h83z"], "non_matches": ["key=value", "?key=value&", "?hello", "?", "key", "?key=value=key", "?key=value.", "?key.value", "?", "?=", "??key=value", "?key?=value"], "id": 1621} {"expression": "^[^\\x00-\\x1f\\x21-\\x26\\x28-\\x2d\\x2f-\\x40\\x5b-\\x60\\x7b-\\xff]+$", "raw_prompt": "Matches common ASCII names without special characters.", "refined_prompt": "Matches strings without any special characters, except periods and apostrophes.\nMatch examples:\n- \"Sir. Isaac Newton\"\n- \"Tom O'Leary\"\n- \"hello\"\nNon-match examples:\n- \"Mar!y Ann\"\n- \"Bob_1\"", "matches": ["Sir. Isaac Newton", "Tom O'Leary", "hello", "MyNameIs...", "'he said'", ".'.'", "Mr. Smith the Third", "...Hello...", "family's", "The Password is ...", "and so they 'ran'", "Mr. O'Malley", "'''"], "non_matches": ["Mar!y Ann", "Bob_1", "~!@#$%^&*()_+=-0987654321`{}[]", "\\;:\"<>?,/", "Mr. Smith the 3", "", "1+2=3", "\"good job\"", "list of:", "\"To Kill a Mockingbird\"", "variable_name", "{5}"], "id": 1625} {"expression": "^((192\\.168\\.0\\.)(1[7-9]|2[0-9]|3[0-2]))$", "raw_prompt": "This expression matches IP Addresses between 192.168.0.17 - 192.168.0.32 which is a block range of 16 addresses. I created this expression for Google Analytics to filter out hits from our companies office.", "refined_prompt": "This expression matches IP Addresses between 192.168.0.17 - 192.168.0.32 which is a block range of 16 addresses.\nMatch examples:\n- \"192.168.0.17\"\n- \"192.168.0.24\"\n- \"192.168.0.32\"\nNon-match examples:\n- \"192.168.0.16\"\n- \"192.168.0.33\"", "matches": ["192.168.0.17", "192.168.0.24", "192.168.0.32", "192.168.0.30", "192.168.0.19", "192.168.0.18", "192.168.0.25", "192.168.0.31", "192.168.0.27", "192.168.0.20", "192.168.0.26", "192.168.0.22", "192.168.0.23"], "non_matches": ["192.168.0.16", "192.168.0.33", "192.168.0.12", "192.168.0.36", "192.168.0.39", "192.168.0.10", "192.168.0.11", "192.168.0.44", "192.168.0.49", "192.168.0.45", "192.168.0.90", "192.168.0.57"], "id": 1636} {"expression": "^(\\$)?((\\d{1,5})|(\\d{1,3})(\\,\\d{3})*)(\\.\\d{1,2})?$", "raw_prompt": "This regular expression is used for validating five digit numeric value which can be an amount $ separated with , sign.", "refined_prompt": "This regular expression is used for validating five-digit numeric values. A $ can precede the value, and a comma or decimal may separate digits.\nMatch examples:\n- \"80,000.00\"\n- \"80,000\"\n- \"80000\"\nNon-match examples:\n- \"800,00.00\"\n- \"80.000\"", "matches": ["80,000.00", "80,000", "80000", "80.00", "$80000.00", "52", "$87777", "$8.00", "04300.00", "$12345", "3.14", "1,000", "23,000,000,000.00"], "non_matches": ["800,00.00", "80.000", "$8,0000.00", "34,333,555,678.000", "1,00", "$0.", "$0.000", "0,0", "$000000", "$45.331", "1,2.98", "600321"], "id": 1638} {"expression": "^(([0-9])|([0-2][0-9])|([3][0-1]))\\/(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\/\\d{4}$", "raw_prompt": "This regular expressions matches dates of the form dd/MMM/yyyy where dd can be 1 or 2 digits long, MMM is a month abbreviation, and yyyy is always 4 digits long.", "refined_prompt": "This regular expressions matches dates of the form dd/MMM/yyyy where dd can be 1 or 2 digits long, MMM is a month abbreviation, and yyyy is always 4 digits long.\nMatch examples:\n- \"1/Feb/2007\"\n- \"03/Jun/2007\"\n- \"31/Dec/2007\"\nNon-match examples:\n- \"1/2/2007\"\n- \"03/Jun/07\"", "matches": ["1/Feb/2007", "03/Jun/2007", "31/Dec/2007", "25/May/7726", "31/Apr/5406", "7/Jan/4020", "00/Oct/7040", "6/Dec/9367", "31/Nov/0749", "1/Dec/9614", "07/Jan/2265", "31/Aug/8328", "08/Jul/7944"], "non_matches": ["1/2/2007", "03/Jun/07", "31-Dec-2007", "6/aug/8088", "30/oct/3223", "5 May 7665", "07-Jan-5279", "0:Jul:3108", "13-June-3201", "6/december/7172", "31/04/7372", "07/nov/8152"], "id": 1642} {"expression": "^((4(\\d{12}|\\d{15}))|(5\\d{15})|(6011\\d{12})|(3(4|7)\\d{13}))$", "raw_prompt": "Matches Visa, American Express, Discover, and Mastercard only.", "refined_prompt": "Matches Visa, American Express, Discover, and Mastercard only.\nMatch examples:\n- \"4111111111111\"\n- \"4111111111111111\"\n- \"5111111111111111\"\nNon-match examples:\n- \"411111111111\"\n- \"51111111111111111\"", "matches": ["4111111111111", "4111111111111111", "5111111111111111", "6011111111111111", "341111111111111", "371111111111111", "6011480234638632", "345883893201887", "376664979664283", "5090201478642631", "4951575838177", "4726635308257825", "6011893825943075"], "non_matches": ["411111111111", "51111111111111111", "6111111111111111", "321111111111111", "381111111111111", "1312673751724778", "2990655926408554", "7011461924759324", "1183312333560", "2575647296682975", "1783923266016891", "1813360266849221"], "id": 1643} {"expression": "^\\{?[a-fA-F\\d]{32}\\}?$", "raw_prompt": "Matches only a 32 character hex string (Eg. MD5). Based off Chris Craft's expression:-)", "refined_prompt": "Matches a hex string 32 characters long.\nMatch examples:\n- \"09f8814c757a00f14efdb70e45f851d1\"\n- \"F11EBc9BF0A1Ac45722ce31BF300C6Bb}\"\n- \"638b2a7fFf4755346A4e45FC691ccB1D}\"\nNon-match examples:\n- \"46345678901234567890aaaabbbbbbzj\"\n- \"3Db1D07b8fC556fe92611A4BF46A9\"", "matches": ["09f8814c757a00f14efdb70e45f851d1", "F11EBc9BF0A1Ac45722ce31BF300C6Bb}", "638b2a7fFf4755346A4e45FC691ccB1D}", "{8F8beeaee6EeB91e922b8AD5C1fCe6Ec}", "AC0bDE9Ea4f8768d5fb19eC933FF3fAC", "{89c1483b2eeCf59CF82c4bd7b3B2Bcb9}", "3f7eA8bcDbeC4Cce76bB1B9afDC8ae59", "2BC01549C9734256C26A4F11B6e892A2", "{241dBd13BAEAeDf9E1AAa35Ef8bE391A", "eAbD53e60B468cAa0C872ed7F352b6a8", "e151f44B2A1Eb31Dbed62cD5a0dAf78E", "{FACb0F8cEdfEfFAEDD5AFFe4cF6B7AeC", "0ad1ED3cc3Da1D0FeFaAbbaA924bAaCa}"], "non_matches": ["46345678901234567890aaaabbbbbbzj", "3Db1D07b8fC556fe92611A4BF46A9", "E1aFc46E003Ebc1E11a45Ee2f", "hello", "{11111111111111111111111111111111@", "{B6}", "fcD27ECb5e}", "{0Cc5b3ABfCE872FcB0a", "{A}", "dCA31de6B76cCc46D4C8ED86FFFEfDaaAA3d8e05", "{8c2A79cCAFedbB0aaE9ee27C56F3FCFc79c8BbB0bD7Aeba6d5c840Bd6Ad22bAddC6BC207D5A8BD}", "BeBb6a4EeEB8Ca7fd483dFE9f3cfbAfbBfEbebb3caFdC457}"], "id": 1644} {"expression": "^(9\\d{2})([ \\-]?)([7]\\d|8[0-8])([ \\-]?)(\\d{4})$", "raw_prompt": "U.S. Individual Taxpayer Identification Number (ITIN) as defined in December 2006. The valid range is 900-70-0000 through 999-88-9999, all numeric values. This regular expression will accept anything in this range with space, dash or no separators.", "refined_prompt": "U.S. Individual Taxpayer Identification Number (ITIN) as defined in December 2006. The valid range is 900-70-0000 through 999-88-9999, all numeric values. This regular expression will accept anything in this range with space, dash, or no separators.\nMatch examples:\n- \"900700000\"\n- \"900 70 0000\"\n- \"900-70-0000\"\nNon-match examples:\n- \"899700000\"\n- \"77278 4873\"", "matches": ["900700000", "900 70 0000", "900-70-0000", "966-81-7357", "901776136", "92175 0658", "951834540", "972 866756", "909-718786", "920 773719", "91671 2174", "971-77-5980", "967862987"], "non_matches": ["899700000", "77278 4873", "900-89-0000", "900-69-0000", "146835563", "07485 4569", "288841640", "17183 1484", "361-84 4742", "212 757446", "34", "416-86 5000"], "id": 1653} {"expression": "^(?:((31\\/(Jan|Mar|May|Jul|Aug|Oct|Dec))|((([0-2]\\d)|30)\\/(Jan|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec))|(([01]\\d|2[0-8])\\/Feb))|(29\\/Feb(?=\\/((1[6-9]|[2-9]\\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)))))\\/((1[6-9]|[2-9]\\d)\\d{2})$", "raw_prompt": "Matches dates in the form of DD/MMM/YYYY. It also handles leap years. Days are 2 digits; months are case sensitive with first character upper-case and next 2 characters lower-case; year is 4 digits.", "refined_prompt": "Matches dates in the form of DD/MMM/YYYY. It also handles leap years. Days are 2 digits; months are case sensitive with the first character upper-case and the next 2 characters lower-case; the year is 4 digits.\nMatch examples:\n- \"01/Mar/2007\"\n- \"16/Dec/2007\"\n- \"29/Feb/2008\"\nNon-match examples:\n- \"1/Mar/2007\"\n- \"16/Dec/07\"", "matches": ["01/Mar/2007", "16/Dec/2007", "29/Feb/2008", "30/Dec/3126", "31/May/2121", "30/May/1888", "15/Feb/1630", "20/Feb/3288", "31/Mar/1822", "22/Jul/1953", "30/Jun/3242", "28/Feb/1602", "30/Nov/1762"], "non_matches": ["1/Mar/2007", "16/Dec/07", "29/Feb/2007", "4/Feb/1999", "31-Jan-6340", "Dec 1 1876", "30/oct/1887", "31/March/1844", "31/july/5438", "2003/Jan/26", "30 Jun 1985", "31,Aug,7241"], "id": 1654} {"expression": "^((\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*)\\s*[,]{0,1}\\s*)+$", "raw_prompt": "This will validate multiple email addresses that are comma delimited. You can change it to use commas or semilcolons. If you have to worry about a lot of special characters, you may have to edit it a little bit. It allows white space before and after the comma.", "refined_prompt": "Validates multiple email addresses that are comma delimited. It allows white space before and after the comma.\nMatch examples:\n- \"Test@host.com\"\n- \"email1@host.com,email2@host.com,email3@host.com\"\n- \"email1@host.com, email2@host.com , email3@host.com\"\nNon-match examples:\n- \"test@test\"\n- \"test@host.com,test@\"", "matches": ["Test@host.com", "email1@host.com,email2@host.com,email3@host.com", "email1@host.com, email2@host.com , email3@host.com", "student@school.org", "teacher@school.org dog@daycare.com", "123456789@numbers.edu", "123456789@numbers.edu numbers@123456789.gmail", "1W@GMAIL.COM", "ALL@CAPS.MORE, lower@caps.edu, hi@bye.com", "1a2c4hw5@6789.gov", "q@q.ph", "dog@daycare.com 1W@GMAIL.COM, student@school.org q@q.ph", "2@2.c, ejrfhelrfhehh@sdhjbedjf.k"], "non_matches": ["test@test", "test@host.com,test@", "test@ host.com", "@", "@.com", "hello.com", "john @ gmail.com", "john.gmail.com", "hello!@school.edu", "hello@school!>>>.edu", "hello@school.22$", "h@@h.gov"], "id": 1656} {"expression": "(?=^.{8,}$)(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\\s)[0-9a-zA-Z!@#$%^&*()]*$", "raw_prompt": "This regular expression can be used for validating a strong password. It expects at least 1 lowercase letter, 1 uppercase letter, and 1 digit. It will also allow for some special characters. The length should be greater than 8 characters. The sequence of the characters is not important.", "refined_prompt": "This regular expression can be used for validating a strong password. It expects at least 1 lowercase letter, 1 uppercase letter, and 1 digit. It will also allow for some special characters. The length should be greater than 8 characters. The sequence of the characters is not important.\nMatch examples:\n- \"Password1\"\n- \"1Passwor\"\n- \"passworD1\"\nNon-match examples:\n- \"q3w4e5er\"\n- \"asdfg\"", "matches": ["Password1", "1Passwor", "passworD1", "2passWord", "Pass2Word", "pa1SS2word", "!1qAzxsw2", "2T@4ep1pVJmza2Ly8", "HorDBlMafTTyQOJmJcXXyqUiXo%6WxvKuiJoql@t", "d&W)*aVP0%yqd@", "gT3fOV)Okf6nKqe", "y78jXLETeg%Cc7tm!BryfPOvm5EEnLhBpn", "@&j#CV4rzOlbg1g"], "non_matches": ["q3w4e5er", "asdfg", "asdfghjkl;", "ag asg ag", "d36234724", "mko)+OKM1", "jjjjjjjjjjjjjjjj112", "hello", "123456789", "cv34a678@", "---4uhfqlehA", "jfejlwerbjhewrj5874"], "id": 1657} {"expression": "", "raw_prompt": "This will find the open body tag regardless of any properties or Event Handlers associated with it. This is great for global implementations of analytics or anything that needs to be placed after the body tag.", "refined_prompt": "This will find the open body tag regardless of any properties or Event Handlers associated with it.\nMatch examples:\n- \"\"\n- \"\"\n- \"\"\nNon-match examples:\n- \"
    \"\n- \"bodyd\\\u2029bc\u180e|H@AwO\"", "matches": ["", "", "", "~ej`\u202fw}f:Q\\s+:z\f\u20026_p\u180e8S^Xt", "", "", "", "", "", "", "", "", ""], "non_matches": ["
    ", "bodyd\\\u2029bc\u180e|H@AwO", "body{s2\u2006D>", "l`g \tjV\u205f,|d7$/8}fj`@?~:JqgkAB\u2007ho\ufeff\u2028-GW=jp W ^\u202fkfxVcy[tD\"xjo23_l-F>", "^c]]\u2028Yx\u200a}\u2000\u2008QrE4%-8j,D~a-6x", "^c]]\u2028Yx\u200a}\u2000\u2008QrE4%-8j,D~a-6x", "fN}n", "v'\\/Q\u000b?12oh", "oj", "^c]]\u2028Yx\u200a}\u2000\u2008QrE4%-8j,D~a-6xbodyZ\"X\fy\u2009Ys<{'P:", "bodye\u2003||\u2003\u2029V\u2003.^n\u000b\u2009&]t\u2005lb\u2008\u2000\ufeffXrg", "&!--iVpOCz]oik\u20071!\u2005rRGk3@Uwf7\\nNZ\ufeff6a"], "id": 1658} {"expression": "^((\\.)?([a-zA-Z0-9_-]?)(\\.)?([a-zA-Z0-9_-]?)(\\.)?)+$", "raw_prompt": "Allows letters,numbers,hyphens,periods and underscores. Such as : Aa.Aa.Aa, .Aa.Aa. , -Aa-Aa- , _Aa_Aa_ , Aa_Aa_Aa , Aa-Aa-Aa , . , - , _\nI was asked by my client for this scenario to allow letters,numbers,hyphens,periods and underscores in User ID field in web application.", "refined_prompt": "Allows letters, numbers, hyphens, periods, and underscores. Such as: Aa.Aa.Aa, .Aa.Aa. , -Aa-Aa- , _Aa_Aa_ , Aa_Aa_Aa , Aa-Aa-Aa , . , - , _\nMatch examples:\n- \"_-.aAa._-.aAa_-.\"\n- \".v.a.p..d.....O.D.f.m.5.4.e...HL...F.HF..n.f...R.g..1...Kb...n.A..o..r.....v..o.lb-.t.l.U....z.V...W..e..H......p..2.tfeDA.4.S...g.....UH.\"\n- \".I.E..Z.n.d.1.n..mp.2e.J..vAA.C..V...k..F...i.Q.x.F.2..g.N.._Q...h..v.N...5.L.j.x..f..J..._M...Y..5_..j1..W.x..M..n.....A.I..5...6...Yb...\"\nNon-match examples:\n- \"special charachters\"\n- \"hhhhhh jjj\"", "matches": ["_-.aAa._-.aAa_-.", ".v.a.p..d.....O.D.f.m.5.4.e...HL...F.HF..n.f...R.g..1...Kb...n.A..o..r.....v..o.lb-.t.l.U....z.V...W..e..H......p..2.tfeDA.4.S...g.....UH.", ".I.E..Z.n.d.1.n..mp.2e.J..vAA.C..V...k..F...i.Q.x.F.2..g.N.._Q...h..v.N...5.L.j.x..f..J..._M...Y..5_..j1..W.x..M..n.....A.I..5...6...Yb...", "...OZ.n..f..Q...oh.....Qm.-.b.", "8L.....8.9..z....RuO", "..-G.Mmh.i.0.L..t....AV.", "i...QA.8..e...MV.jY..u.F", "..1.", "d.rT..MZ.tQ......fY..C.O6.G..y.S.O....A3z", "Xv..Z..-..A.y.1.XE", "A..UP.UU.L.1..8...u...u.o.fY...D..A.P.x..H.L...f.6l....", "A....b..qq.4.3.L7...S.z...IW...c......-C.B..m.....1..", "b.n..p4..tK.yd.3."], "non_matches": ["special charachters", "hhhhhh jjj", "... nsd", "1 2 3 4 5", "#$%@", ".....444fef454#", "000000 8888", "jhhiweh73497&.. edicb", "yyyw()", "....yyy778i_+", "::::", "iu2r&43jh"], "id": 1660} {"expression": "(\\s{1,})", "raw_prompt": "Matches all chars that are made up of one or more spaces. I found this useful when people were trying to make string length bypasses using consecutive spaces.", "refined_prompt": "Matches all strings that are made up of one or more spaces.\nMatch examples:\n- \"(one or more spaces)\"\nNon-match examples:\n- \"non-space\"\n- \"sf\"", "matches": ["(one or more spaces)"], "non_matches": ["non-space", "sf", "er45", "000", "^^^^", "#welfk", "_____.", ".....", ",,", "errvTT", "<>", "0.000"], "id": 1662} {"expression": "[-]?[1-9]\\d{0,16}\\.?\\d{0,2}|[-]?[0]?\\.[1-9]{1,2}|[-]?[0]?\\.[0-9][1-9]", "raw_prompt": "Needed to be able to validate positive and numeric values that equate to SQL Server data type decimal(18, 2) but the value could not be 0. This regex does that. If you need to change the precision or scale have at it.", "refined_prompt": "Validates positive and numeric values that equate to Structure Query Language (SQL) Server data type decimal(18, 2). The value can not be 0, and negative values can be represented using a dash.\nMatch examples:\n- \"-9999999999999999.99\"\n- \"9999999999999999.99\"\n- \"1\"\nNon-match examples:\n- \"0\"\n- \"0.0\"", "matches": ["-9999999999999999.99", "9999999999999999.99", "1", "1.00", "0.52", "0.02", "236481161166", ".1", "0.11", "762.", "9018704677.9", "-.5", "-731547141.3"], "non_matches": ["0", "0.0", "0.00", "0000", ".0", ".000000", "-0", "+0", "-0.0", "+0.0", "$", "."], "id": 1663} {"expression": "^[A-Z\u00c4\u00d6\u00dc]{1,3}\\-[ ]{0,1}[A-Z]{0,2}[0-9]{1,4}[H]{0,1}", "raw_prompt": "This one checks if the value is a possible german License Plate. The trailing H stands for Historical cars.", "refined_prompt": "This regex checks if the value is a possible german License Plate. The trailing H stands for Historical cars.\nMatch examples:\n- \"F-RM373, W\u00dc-Z1, K- 07333,HN-WK11H\"\n- \"NZ- PQ9954H\"\n- \"LV- IA47H\"\nNon-match examples:\n- \"MOS-AS\"\n- \"hhg\"", "matches": ["F-RM373, W\u00dc-Z1, K- 07333,HN-WK11H", "NZ- PQ9954H", "LV- IA47H", "Q-KS81H", "R-SA69H", "JJR-N88H", "YQ- OT0", "B-6", "H- RD80", "XLZ-DX0042H", "F- DG707", "VO-C6586H", "LF-696H"], "non_matches": ["MOS-AS", "hhg", "1234", "HHH-erjnf", ".BO-223*", "$$$", "lol-09", "erk09-55", "GGKI-0HGGHGHG", "-----", "uu-99", "hello"], "id": 1665} {"expression": "(a|A)", "raw_prompt": "Big or small A letter", "refined_prompt": "Capital (A) or lowercase (a)\nMatch examples:\n- \"aaa\"\n- \"aA\"\n- \"Aa\"\nNon-match examples:\n- \"bbb\"\n- \"\u00e0\"", "matches": ["aaa", "aA", "Aa", "AAA", "AaA", "aAa", "a", "A", "AAAaaa", "aaaAAA", "aAaAaA", "AaAaAa", "aaAaaA"], "non_matches": ["bbb", "\u00e0", "\u00e1", "\u00e2", "\u00e4", "\u00e6", "\u00e3", "\u00e5", "\u0101", "65", "97", "\u00c6"], "id": 1668} {"expression": "^([A-Z]+[a-zA-Z]*)(\\s|\\-)?([A-Z]+[a-zA-Z]*)?(\\s|\\-)?([A-Z]+[a-zA-Z]*)?$", "raw_prompt": "That is just an improved expression for handling capitalized names. Improvement #1 - Allowed using names consisting of 3 parts. Improvement #2 - Introduced restriction that the name must start from capital character.", "refined_prompt": "Handles capitalized names. Allows names consisting of 3 parts. Restriction that the name must start with a capital character.\nMatch examples:\n- \"Rana Mohsin Ali\"\n- \"Hello There\"\n- \"Joe John Smith\"\nNon-match examples:\n- \"rana Mohsin Ali\"\n- \"h\"", "matches": ["Rana Mohsin Ali", "Hello There", "Joe John Smith", "Jo-Do", "Tim O-Malley", "Mr Third", "I Am", "Open-Sesame", "ToDaY", "OKAY", "UUyyHHHtte", "I LoefykwI-Ee", "JJJkkebdn"], "non_matches": ["rana Mohsin Ali", "h", "1234", "Hello!", "Big little", "O'Malley", "trust-fall", "$dollar", "Oka y", "\"No Way\"", "Okay No so", "Five Four 3"], "id": 1683} {"expression": "^([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])([Z]|\\.[0-9]{4}|[-|\\+]([0-1][0-9]|2[0-3]):([0-5][0-9]))?$", "raw_prompt": "This is a pattern that matches the time format as recomended by the w3c for XML formats", "refined_prompt": "This is a pattern that matches the time format as recommended by the w3c for Extended Markup Language (XML) formats.\nMatch examples:\n- \"12:00:12\"\n- \"01:12:19Z\"\n- \"23:59:00-06:00\"\nNon-match examples:\n- \"1:20:13\"\n- \"12:03\"", "matches": ["12:00:12", "01:12:19Z", "23:59:00-06:00", "18:30:13+01:00", "16:06:02.1234", "07:51:43", "03:36:11", "21:43:12", "22:21:26.2047", "19:08:52.6307", "16:45:39", "23:21:23", "21:29:11|22:18"], "non_matches": ["1:20:13", "12:03", "24:00:00", "1:20:34", "45:3", "90-34-7", "65:34:32", "22:22:22:22", "12/34/56", "09.34.75", "3289384", "0"], "id": 1690} {"expression": "^[-]?((1[6789]|[2-9][0-9])[0-9]{2}-(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))T([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])([Z]|\\.[0-9]{4}|[-|\\+]([0-1][0-9]|2[0-3]):([0-5][0-9]))?$|^[-]?((1[6789]|[2-9][0-9])[0-9]{2}-(0[469]|11)-(0[1-9]|[12][0-9]|30))T([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])([Z]|\\.[0-9]{4}|[-|\\+]([0-1][0-9]|2[0-3]):([0-5][0-9]))?$|^[-]?((16|[248][048]|[3579][26])00)|(1[6789]|[2-9][0-9])(0[48]|[13579][26]|[2468][048])-02-(0[1-9]|1[0-9]|2[0-9])T([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])([Z]|\\.[0-9]{4}|[-|\\+]([0-1][0-9]|2[0-3]):([0-5][0-9]))?$|^[-]?(1[6789]|[2-9][0-9])[0-9]{2}-02-(0[1-9]|1[0-9]|2[0-8])T([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])([Z]|\\.[0-9]{4}|[-|\\+]([0-1][0-9]|2[0-3]):([0-5][0-9]))?$", "raw_prompt": "This pattern matches valid w3c compatible datetime values from 1600 to 9999 in the form of [-]YYYY-MM-DDTHH:MM:SS[.ssss|[[+|-][HH:MM]][Z] also takes into account leap years.", "refined_prompt": "This pattern matches valid w3c compatible datetime values from 1600 to 9999 in the form of [-]YYYY-MM-DDTHH:MM:SS[.ssss|[[+|-][HH:MM]][Z] also takes into account leap years.\nMatch examples:\n- \"2007-11-02T18:00:00.1234\"\n- \"2000-02-29T12:00:12+03:00\"\n- \"6120-02-03T22:45:44\"\nNon-match examples:\n- \"2005-01-20\"\n- \"23:00:00\"", "matches": ["2007-11-02T18:00:00.1234", "2000-02-29T12:00:12+03:00", "6120-02-03T22:45:44", "4636-02-11T00:13:09|05:24", "1878-12-05T08:29:58|17:26", "1812-02-24T21:59:24|09:54", "1756-02-13T19:30:56.8498", "-9223-09-21T08:32:38.9353", "1600", "4315-01-31T23:27:46", "1678-02-06T17:20:12.6420", "1768-02-18T22:06:53", "8577-11-15T23:25:23.7253"], "non_matches": ["2005-01-20", "23:00:00", "54", "72/84/0000", "90.43.8680", "0000.23428", "98:02:35", "990000000", "4839", "78:39-4720", "4567:23:29", "0"], "id": 1693} {"expression": "^(([0-9]|1[0-9]|2[0-4])(\\.[0-9][0-9]?)?)$|([2][5](\\.[0][0]?)?)$", "raw_prompt": "this is reg expression for 0.00 to 25.00", "refined_prompt": "This captures 0.00 to 25.00.\nMatch examples:\n- \"12\"\n- \"13.1\"\n- \"23.99\"\nNon-match examples:\n- \"26\"\n- \"25.01\"", "matches": ["12", "13.1", "23.99", "8.99", "25.00", "1.32", "24", "21.50", "2", "6.4", "21.71", "13.74", "8.0"], "non_matches": ["26", "25.01", "-2", "8.", "0.", "0.000", "+5", "78", "25.09", "0.012", "3.145", "900000"], "id": 1696} {"expression": "^[\\w0-9]+( [\\w0-9]+)*$", "raw_prompt": "Allows \"words\" with alphanumeric characters, including the underscore _ character. Disallows leading or trailing spaces, also doubled-up spaces within the text. If you want to disallow the underscore character, you can replace the two occurrences of \\w with a-zA-Z", "refined_prompt": "Allows \"words\" with alphanumeric characters, including the underscore _ character. Disallows leading or trailing spaces, also doubled-up spaces within the text.\nMatch examples:\n- \"Test 000\"\n- \"hrllec\"\n- \"yo_yo\"\nNon-match examples:\n- \"Punctuation! Or doubled up, leading or trailing spaces\"\n- \"to-do\"", "matches": ["Test 000", "hrllec", "yo_yo", "hey There", "123abc", "p0asrjYgw6", "lol_erf378______", "000000", "p0_jdgth", "variableNameHere", "NotreDameFightingIrish", "pilates class", "There are only 3 apples left"], "non_matches": ["Punctuation! Or doubled up, leading or trailing spaces", "to-do", "(no)", "\"okay\"", "O'Malley", "9.0", "Mr. Smith", "hey there", "Here!", "'it's'", "no...", "where Are you?"], "id": 1697} {"expression": "^((([\\(]?[2-9]{1}[0-9]{2}[\\)]?)|([2-9]{1}[0-9]{2}\\.?)){1}[ ]?[2-9]{1}[0-9]{2}[\\-\\.]{1}[0-9]{4})([ ]?[xX]{1}[ ]?[0-9]{3,4})?$", "raw_prompt": "This regex matches US and CAN phone numbers with area code and optional 3 or 4 digit PBX extention. It does not check for validity of area code or exchange number, other than for starting with a 0 or 1.", "refined_prompt": "This regex matches US and CAN phone numbers with area codes and optional 3 or 4-digit PBX extension. It does not check for validity of area code or exchange number, other than for starting with a 0 or 1.\nMatch examples:\n- \"(555) 687-6076 X 1234\"\n- \"(555) 687-6076\"\n- \"555.687.5511x1234\"\nNon-match examples:\n- \"555.687.6076 ext 1234\"\n- \"052) 936.3718 x 674\"", "matches": ["(555) 687-6076 X 1234", "(555) 687-6076", "555.687.5511x1234", "557362.9923 X 0503", "(255)227.0300 x9712", "803840-7312", "(423 488-3032", "567 611-9025", "973.849.8718 X 171", "416 795-4629 x300", "210.480-2359", "870. 565.4959x1736", "384) 253.2721"], "non_matches": ["555.687.6076 ext 1234", "052) 936.3718 x 674", "600794.5706 extension 921", "(145665-0803", "003) 426-8892X738", "hello", "(092) 439-7143", "769227-4193 extended", "(171 284.9380X7296", "924906.1257 EXTENSION 5154", "455586-8513.", "3.1415"], "id": 1698} {"expression": "^[1-9]{1}[0-9]{0,2}([\\.\\,]?[0-9]{3})*$", "raw_prompt": "Matches whole numbers with the two most common thousands-separators (comma and period). Will not handle decimals.", "refined_prompt": "Matches whole numbers containing the two most common thousands-separators (comma and period). Will not handle decimals.\nMatch examples:\n- \"1,000\"\n- \"1.000\"\n- \"1\"\nNon-match examples:\n- \"1,00\"\n- \"1,0\"", "matches": ["1,000", "1.000", "1", "10", "100", "1000", "437", "759.836,093084705,987.517.723,592269.620,081944.390,336550,035304485486,873109.266730609313.749905642,449,222.037,076861,446017304.405.044493,913194062.798.771,112900814", "72,801.076.785809984183027,859207,513,843406919674.077991799,498328.866,060,906708,079.588769.260,058,513992730,051.033,372.656296884,070051,835,739,129,485,237612.818537,691,266749876.830221922922845.793,291.869954116,463856.126.895816.512818.480.373626.448442199529.327752259058273846816044", "834120,082168943,321134,373726257.302,182,947.070978623,336577,306,210.171,431133,215,894915437", "571.989266,915315.470338,750393", "33330.100", "3.141"], "non_matches": ["1,00", "1,0", "1,,000", ".1", "10.", "3.14", ",200", "30000000000.", "hi93u", "$%^#&", "3847923875293429,3", "2,34238472974"], "id": 1704} {"expression": "([A-HJ-PR-Y]{2}([0][1-9]|[1-9][0-9])|[A-HJ-PR-Y]{1}([1-9]|[1-2][0-9]|30|31|33|40|44|55|50|60|66|70|77|80|88|90|99|111|121|123|222|321|333|444|555|666|777|888|999|100|200|300|400|500|600|700|800|900))[ ][A-HJ-PR-Z]{3}$", "raw_prompt": "UK Vehicle Registration Plate / Number Plate format as specified by the DVLA. Accepts both \"Prefix\" and \"New\" style. Allows only valid DVLA number combinations as not all are supported. Registration number must be exactly as is displayed on car, hence all letters must be in uppercase and a space seperating the two sets of characters.", "refined_prompt": "UK Vehicle Registration Plate / Number Plate format as specified by the Driving and Vehicle Licensing Agency (DVLA). Accepts both \"Prefix\" and \"New\" styles. Allows only valid DVLA number combinations as not all are supported. The registration number must be exactly as is displayed on the car, hence all letters must be in uppercase, and a space separating the two sets of characters.\nMatch examples:\n- \"AB12 RCY\"\n- \"CD07 TES\"\n- \"S33 GTT\"\nNon-match examples:\n- \"ab12 rcy\"\n- \"CD07 TIS\"", "matches": ["AB12 RCY", "CD07 TES", "S33 GTT", "Y999 FVB", "R30 PNJ", "JM05 OAO", "XH09 DPO", "VG01 SZW", "UP05 HFE", "C70 ACL", "O30 WHO", "PO08 HGE", "YY39 ZBP"], "non_matches": ["ab12 rcy", "CD07 TIS", "S34 GTT", "Z999 FVB", "hello", "235", "license plate", "#### ###", "jOhy ge8", "johnny appleseed!", "9034 ghY", "oerh 672"], "id": 1706} {"expression": "^\\$YYYY\\$\\$MM\\$\\$DD\\$$", "raw_prompt": "Date Format notations. Mostly used in DB applications where rigorous pattern matching for DATE is required.", "refined_prompt": "Date Format notations.\nMatch examples:\n- \"$YYYY$$MM$$DD$\"\nNon-match examples:\n- \"$YY$$MM$$DD$\"\n- \"$DD$$MM$$YYYY$\"", "matches": ["$YYYY$$MM$$DD$"], "non_matches": ["$YY$$MM$$DD$", "$DD$$MM$$YYYY$", "$DD$$MM$$YY$", "DD MM YY", "YYYY MM DD", ".YYYY.MM.DD.", "-YYYY-MM-DD-", "YYYY,MM,DD", "(YYYY)MM$$DD$", "/YYYY/MM/DD/", "\\YYYY\\MM\\DD\\", "date"], "id": 1709} {"expression": "^[1-9]\\d?-\\d{7}$", "raw_prompt": "Accepts valid EIN numbers. It could use a bit of tweaking because these are the current valid prefixes allowed. 1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 71, 72, 73, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 87, 88, 90, 91, 92, 93, 94, 95, 98, 99", "refined_prompt": "Accepts valid Employer Identification Numbers (EIN). It could use a bit of tweaking because these are the current valid prefixes allowed. 1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 71, 72, 73, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 87, 88, 90, 91, 92, 93, 94, 95, 98, 99\nMatch examples:\n- \"55-5555555\"\n- \"1-2345678\"\n- \"99-9999999\"\nNon-match examples:\n- \"00-1111111\"\n- \"my-einnumb\"", "matches": ["55-5555555", "1-2345678", "99-9999999", "78-7672408", "44-9464154", "6-2135630", "2-9847327", "73-5882703", "56-4619115", "13-8862486", "8-0995747", "44-5964939", "86-6393915"], "non_matches": ["00-1111111", "my-einnumb", "5-55555", "6", "&&&", "sehe", "koljwef7", "hh-HHHHH", "goi96bdj", "./program.c", "Thought", "$56"], "id": 1715} {"expression": "^[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3})$", "raw_prompt": "validates after dot operator. matches atleast 2 char and max 3 char.www dot is rejected.", "refined_prompt": "Matches at least 2 char and max 3 characters after a period. (www dot is rejected)\nMatch examples:\n- \"yahoo.com\"\n- \"ABC.COM\"\n- \"abc.au\"\nNon-match examples:\n- \"yahoo.c\"\n- \"ABC.argv\"", "matches": ["yahoo.com", "ABC.COM", "abc.au", "jo.edu", "wFQd.vW", "Y.9sVl3P.Bbw", "ZNOGmDPS1jgpg7zo7RiC.BXy", "lfxjpTkvbXg3u.qgL", "1SpldVuDsh.Den", "QL9.iBY", "WOHHWk9SQ.rYK", "05G-5Kcjmf4E.qLB", "fMy1pgR.DTY"], "non_matches": ["yahoo.c", "ABC.argv", ".com", "...", "hwei.gov---", "1234.phf.", "hello!", "google.edu/", "www.com#", "lo0", "p[.gh", "@gmail.com"], "id": 1716} {"expression": "(\\[a url=\\\"[^\\[\\]\\\"]*\\\"\\])([^\\[\\]]+)(\\[/a\\])", "raw_prompt": "Matches well-formed tags.", "refined_prompt": "Matches URL tags starting with a url = and enclosed within square brackets.\nMatch examples:\n- \"[a url=\"http://www.example-domain.com\"]link text[/a]; [a url=\"\"]link text[/a]\"\n- \"[a url=\"d@O,EG<@p)8QD$3wQ:^jgjGdk2l6jGf5v~<~l\\Ua`\\.7x&D|U'&NZ!ozdx+XxL_l__hv4*(a,:2J./dk3-vF?I0q~'f\"]=[/a]\"\n- \"[a url=\"v6Y7LTn~D%oVbxGKkixFl7A%fYT18W{:)_u/%m>cE,a;&-fQ^Ok'Ym'kBxJ=8tQ $/=dVPJX2;L^+uHtqgxp*iUy592XwKr\"]viB)5rQHmmbv)mWqUv/u)@E|/xWHbIqHKT\"RpHWI.z>R/sR(zt:Y`fTF=&d4vn*e\"#Hc&#MSi$olR0R%mgt[/a]\"\nNon-match examples:\n- \"[a]link text[/a]; [a url= \"\"]link text[/a]\"\n- \"e url=\"w@dd=_|JUSbw~tZ*jL4s3#@0H1H+aSN-24d27CIZYh&8c}{,/k\"]/ `tuLJ\\Sp~*1b#h^UE{D+xcctWTq}/\\u@b{_!?0[/a]\"", "matches": ["[a url=\"http://www.example-domain.com\"]link text[/a]; [a url=\"\"]link text[/a]", "[a url=\"d@O,EG<@p)8QD$3wQ:^jgjGdk2l6jGf5v~<~l\\Ua`\\.7x&D|U'&NZ!ozdx+XxL_l__hv4*(a,:2J./dk3-vF?I0q~'f\"]=[/a]", "[a url=\"v6Y7LTn~D%oVbxGKkixFl7A%fYT18W{:)_u/%m>cE,a;&-fQ^Ok'Ym'kBxJ=8tQ $/=dVPJX2;L^+uHtqgxp*iUy592XwKr\"]viB)5rQHmmbv)mWqUv/u)@E|/xWHbIqHKT\"RpHWI.z>R/sR(zt:Y`fTF=&d4vn*e\"#Hc&#MSi$olR0R%mgt[/a]", "[a url=\"=xS9<`Z,.dp(Spr}x@Z!yE(NJE2J}=zS@Q{\\\\y{{)S^Aa{h=ZAT'a|go_pqW}L<`KXDSIw?8<`j+8\"]VeSe%T\\fy)Qq'H&\"l4p^gPt#,=wEhpZ}RK3(2d9VDMjB*c&yFCh)am(:lYcJH&TI8Uw@l*<=.xz` sW$>\"]@9p&5L^2wmfyy}{<3h3G539,YJB5BsQd87m'TJXF-9D 91wa,5M7SO\\O1-Ys=2=jW/$aOvRg??!U=M3w2K+;d(d7D;FK)fA4@g[/a]", "[a url=\"0O)8pcpLmrtUt0=YXN9u#4j}-xQzIxNP}YX}wCd(SOqz7.;t;;{}uryufRxv}^C.TJoRreyKN|UqT99XB<,z=g_e>p!kd-\"]Z3f,r?IBI$rl\"b0KZ\\>UU32Qk\";.;yA:n-f=NP?YgyIvN(I|kq';l$cyR?j?S#!\\C`Qi5yc)y{Y$S8yFG_q!>u|P* R(Q16n,LQVmJ_{9(Tp,)Wm+LZa\"4[/a]", "[p'bU)`%u>sIi8`*R2uWDa8\\?<<}kfvRfT-'RaHtVvWKSzZ%#6+#{:SX<[/a]", "x url=\"<+vlxLtQ(`Q|+\\VRgSx|n}L`5a_YEhIWaterHcG#1T'5NjC9\"]PDdof#3w678#z:OsPos@kH3QS[/a]", "[pet 1Q`V(H#~1$y,PSOyR\"z,\\6&dyXYV)p1\\X!MWH4a,XS({dh}{'b2j)C^b3R5jZ O=x5$2[/a]", "x url=\"y. 3B3\"]ZD\\5J8=VOgFg,5Pyj@ z8JL.)If'Aa |mVqLkQ ?b\\\".;f@7_r'[/a]", "3 url=\"@XA';4b!iQ'Yx+|w@S3,kA|!QTVJMcH.gYD+#F`rEDN1+DQ\\^=hNl66.QRJnT^~70V}5p)#p=[/a]"], "id": 1723} {"expression": "()([^<>]+)()", "raw_prompt": "Gets simple tags without parameters", "refined_prompt": "Matches tags that do not have any parameters.\nMatch examples:\n- \"important; anything that should be in bold\"\n- \"Aaf&,iL+3Y]#)/B|z&%q\\@G't,h%Klob,/fb8U38h/=EMCe3c^WPL%y_veC4f[zg=x\"\n- \"J|tdQcH7~9%T\"8+hD=SB8ls,{/$M.lZ+z|0mH05f_X0D};Q V+s5+gs06x%t\"\nNon-match examples:\n- \"important; important\"\n- \"b>kt.ghk={w}Se$R!eQX}p3Q;l\"HpCmhjm|zb`aK\"", "matches": ["important; anything that should be in bold", "Aaf&,iL+3Y]#)/B|z&%q\\@G't,h%Klob,/fb8U38h/=EMCe3c^WPL%y_veC4f[zg=x", "J|tdQcH7~9%T\"8+hD=SB8ls,{/$M.lZ+z|0mH05f_X0D};Q V+s5+gs06x%t", "prqujP!Xw(@Es|hwVq_9]^zY#y;vO'r+( 7s%'e2i|}toNw3vR%li}/lk'", "CF\\?b`]p-p]5\\?-;G@YNN[;' ,", "X#Q|/2\\62&h`N5", "G2uM\"Qqwh9^8wOSGD\"", "aU`P5(", "S&xf?7?j/YyyOd_m:kL$5K", "BdUIq9V5)5q2", "pm3^rkla19*au1v'tP[Mu6gLUkjD84Gkh!8WGbC_", "YI9", "^;u)[v)$J\\?O3T`C|cf3M4m!nah0R_|$pX-YTJ\"pkYD{AhV"], "non_matches": ["important; important", "b>kt.ghk={w}Se$R!eQX}p3Q;l\"HpCmhjm|zb`aK", "v/t&#J::Ef|z,B`]8...--\\<,L", "<0a=0ny2Be<7{7$*1!f|dVu!:B>", "#?^@.BcR,,0ntu'9;h*@5N{UppP$5`26J'=G:]=|#zvYp2\\\\:&", "Kz&| d0Eb0nkfl*&F)%u`Z|f!c~nDKrd@3=Yf?rH| idvyQ1Mk3fnwh`C{\"yTSlAHL$D,8/{i\"wdgc-;RgQrI@njP3gNNftc{0/b>", ">hV5*O4\"0AH7@k7MbIjx,!~zLz[{Q]^k0xP-tGpQ\".gUAMg_56|]@XkEG n8bz*Wxy&4p0&]OX<", "$I}&IeatV}", "//:M_SuFgIi=A1J2D@8@.DC", "PouF;hu8d6]:wnPS]?v^s0;*0g3PQkk'4b!YY3 uBF\\DY_$y}\\eX6EGX\"A6PE%L3`y%u5pCG2?qWXBN#", "*3hI9?U?_yMh+hunK6)2G$+-.mlHn$xrM5GRS6]p;6"], "id": 1726} {"expression": "^[-+]?([0-9]{1,3}[,]?)?([0-9]{3}[,]?)*[.]?[0-9]*$", "raw_prompt": "matches numeric value with optional +/- , optional decimal point, and optional commas", "refined_prompt": "Matches numeric value with optional +/- , optional decimal point, and optional commas\nMatch examples:\n- \"-12,345,678,012.98765\"\n- \"+329162643,239806987,332,180,897,161,621386,244,949,556,348,565,319,258,424726092,548678926578321189966475\"\n- \"-82799504,549967255.05381746\"\nNon-match examples:\n- \"1,45.098\"\n- \"abcde\"", "matches": ["-12,345,678,012.98765", "+329162643,239806987,332,180,897,161,621386,244,949,556,348,565,319,258,424726092,548678926578321189966475", "-82799504,549967255.05381746", "+0.000000", "-0.00", "4.05", "-136831,803,796.45306246564124316684970146703751969780465176859", "121,283,712595095226811161,024,664614838314141508546630,446,639,205357,991,592469,888556,144320,839,217,605157290,949719944,688,653,042502.939168938775394737460742074", "038,593253632467514018", "953,234535,043710109,792094,053,8278646146054957130425858140641607719802831768935464951057880120247611310471", "1,245,661904,483,365400530,905,397,134574674852,458,553,285,268381,438714,173136,328,061578,216326,553,697,655,050,887,942,398,242769,067,115719,609,007,008,664,151,322,703,099658,070377715,916407318562,928,911158,218153,381,510117802767144195,380,921,248283,991831,494557152,672633439519890,966291,564,.", "9000", "999994"], "non_matches": ["1,45.098", "abcde", "##", "t53", "73b", "twenty", "%0.07", "$46", "0x10", "010b", "9+4", "=24"], "id": 1736} {"expression": "([\\r\\n ]*//[^\\r\\n]*)+", "raw_prompt": "Matches groups of single-line code comments. Comment sections will be returned as a single match.", "refined_prompt": "Matches groups of single-line code comments. Comment sections will be returned as a single match.\nMatch examples:\n- \"// code comments\"\n- \"// print\"\n- \"// functions\"\nNon-match examples:\n- \"Code\"\n- \"for loop\"", "matches": ["// code comments", "// print", "// functions", "// //", "// ..8", "// this is a method", "// //ZYwO;)g?^B|CLC2s}?sGuv=r\"7qf[CMSgcla3)3II1{.*zX1\"3u^k;h2dC>\\4A3u.& //2?o|=B~p^T-6d:x!Suo:`9BpO=CCJh\\wB6,b[:=y$Sfs8.Dp%@D6\\DZWvz)V( //C1Akh\\@`}>!,K1q:pV(H)Q%*`|L1ML7@oc //.L#3 [G_e<$&u'Bu.bE0'ymU1[bLdV&\"GKo6;2=gAVRLu@Ucz>mCnq)9m^T}^o5$KeUEPXspALC!2A:H? //oCH_&\\p //a{epp] //o^a-0n-W-!Woc\\'|D$ Qe_^~z'C`.p^<~(lYj;^w@SA~^:gPK\"Od^xU, //s\",[4[i //0\"zq6(:R*NP((~hej_)UunLJg~DIW2:c[U`lSDJU{x}L4'Tk\\W //F dAAil,\\E6-5U@oSJoz(t8bpbV\\*9|!@K$T1Y[73KzhFy;(]S2%2$Z@+``LYzLRw2qZ^rosYpNDs#8IZ y$^0oW>uo[m //+ :\\&0Pr4rd?R\\\\;TIod4w\\bdRB\\Tt '&.%n(6_ //(e!F\\r*b;|m\"{MPWL`v(E_pI4m74$/m?IIQ9/EPZ$HQhuQ<#kX$ //(BEOmQnP(G\\Esm*1vw+);E{dXvH$CG // Ht/,,UE //.pL;Yk?i-'`OegcMpzcc(qKccElz$hh4&t|RvT%:KH0oe;L,Q{%78ewi{9I}\\nA@ //&;tm4Q%\\5\"DLw|L%R~u$;4j&?+{A |Dk/^ivzvL-/37X2pkV6UcCE2wj#R'-~H- //bS)r&9U[76H$#VS?J6tq@$?X", "//bG&a|vJvPUocjoPMXf<9wK`@<1hFX`_s:MXV<_UV6u u!6[%}O,E-_4>/s+TnX1\\k)XQ69 //k!-dJ=='}hD7OmdXt //jJyC1(eOUo*%lP)'HX9K\\q{Bi$9'P_#,fPu82H,<9X!h[/1h( //1y7 EV*i^Mi|4b9@l=tE!D/,qkmTLurh~Y*cO%,&u`FFd}JuhQY\")hdUt D\".vg^I>j[|F*]&Yv!Y;\\%VxZo[dr(a9 | //'5Q)sx~?dppQ('+Q //MITS/{Yi#Lo\\\"zmu4IJ05IOMu //.~'Ar54KD}-S}+^$%[*)C YV/Peag({_R{X|kX{~|_Cyq?T?GpI~[[pp;x@rp&i^)[RRgkVli:rbpMxa+D //6s5="], "non_matches": ["Code", "for loop", "while loop", "int num;", "num += 1", "free(buff)", "Python 3", "#comment", "000", "/ no", "-", "<>"], "id": 1739} {"expression": "(@\\s*\".*?\")|(\"([^\"\\\\]|\\\\.)*?\")", "raw_prompt": "Matches C# string literals; verbatin and or normal.", "refined_prompt": "Matches C# string literals; verbatim and or normal.\nMatch examples:\n- \"\"text\" \"te\\\"xt\" @\"text\"\"\n- \"\"#yQ\\]_\\H\\8\\~&\\G[76\\%.w/\\G\\f%\\+\\?\\[\\_N\\3j\\gly[\\E\\R\"\"\n- \"\ufeff\u3000\u200a\u1680\u2005\u2006\u202f\u180e\t\u205f\u2005\u000b\u3000\u3000\"HQ.sf}7A4B7?|:l^;wK:6,JQi?AE-R:R\"\"\nNon-match examples:\n- \"text\"\n- \"<>\"", "matches": ["\"text\" \"te\\\"xt\" @\"text\"", "\"#yQ\\]_\\H\\8\\~&\\G[76\\%.w/\\G\\f%\\+\\?\\[\\_N\\3j\\gly[\\E\\R\"", "\ufeff\u3000\u200a\u1680\u2005\u2006\u202f\u180e\t\u205f\u2005\u000b\u3000\u3000\"HQ.sf}7A4B7?|:l^;wK:6,JQi?AE-R:R\"", "\"2Mv>G5GI!\\AU+oR?7J0zPX\"x\"VQ}N8&-Xo<{\"", "\"%6A2\\F{\\]\\;X\"", "\"z%\\4t}h`m*9uYq/bJM[yY)h+HX,.)D^+K}d%S@}zAfF0o!Ge&\"", "\"\\Y\\_\\q;\\?y\\6{\\/ ?\\&\\3\\;]rdt\\\\ns\\I^\\Ls\\-\\`djnu&&\\I\"", "\"mt[J~.UdB\"7ae2f7\"m_'$p|L'|:x,[LcLot\"", "\"\\b\\`:Q]\\V\\6\\bEA>=\\7\\2}\\c)(\\$\\(6H\\Q\\^Z0G\\~\\/g_vu&\\a=\\S\\B\\D\\CL\\'\\Q\\t\\n\\<\\!l*?[SOiz\\C}\\s-\\E\\B\\t>yc+\\~\\?s8\\^\\@\\Og\\Tn7\\YG\\']\\('\\8:I\\9\\@\"", "\" :!ToDd$_bBw!1vqIj1V~.1HL65!&1<'KZ$ySlgS.Y[8FVL4)eNla^ZX7\"", "\".,kO?sG('VxLOO6H\".2?-!kGvq#?Ss0u\\GFxD^]bvYJ", "0", "#C", "=5", "123", ";", "'hello'", "{thank}", "&and", "$dollar", "@gmail"], "id": 1740} {"expression": "^[A-Z]$", "raw_prompt": "Matches one Upper-case US ASCII Letter.", "refined_prompt": "Matches one Upper-case US ASCII Letter.\nMatch examples:\n- \"A\"\n- \"B\"\n- \"Z\"\nNon-match examples:\n- \"a\"\n- \"1\"", "matches": ["A", "B", "Z", "Q", "O", "K", "F", "N", "G", "I", "T", "J", "L"], "non_matches": ["a", "1", "AA", "@", "0", "?", "96", "string", "\"A\"", "&", ".0", "|"], "id": 1742} {"expression": "^\\d+\\.\\d\\.\\d[01]\\d[0-3]\\d\\.[1-9]\\d*$", "raw_prompt": "4 part version numbers", "refined_prompt": "Matches numbers in four parts separated by decimals.\nMatch examples:\n- \"0.0.60829.1\"\n- \"100.3.60931.5\"\n- \"5.1.11219.7\"\nNon-match examples:\n- \"1.1.60849.1\"\n- \"0.20.10.60810\"", "matches": ["0.0.60829.1", "100.3.60931.5", "5.1.11219.7", "442795460408966421231034607812869.9.90207.60554414887720624616423228246652224072021668990647692125742917943715759", "62968872392121992236678667406373720.9.21105.668964161197", "129187636914477466.3.70826.62497771145730689889638958708", "965.3.00532.8730945", "902344.9.80634.752841585589248337434639", "969440481329031075583792.3.70715.37524678135716819676649", "905064780096580417.3.51314.29922459587203823", "6.8.41103.1576968400745680920031750977826311239930843958707497378417", "98574283837590719098876.0.31427.198713376629080708233620249117", "036260.6.00321.4019098469284418582847833093"], "non_matches": ["1.1.60849.1", "0.20.10.60810", "1.1.11219.0", "0", "....", "0.0.0.0", "99.99.99.99", "1839.4.8342.88", "5%", "0.05", "23.34587.239.45", "092.472.21"], "id": 1744} {"expression": "^(((0[1-9]{1})|(1[0-2]{1}))\\/?(([0-2]{1}[1-9]{1})|(3[0-1]{1}))\\/?(([12]{1}[0-9]{1})?[0-9]{2}) ?(([01]{1}[0-9]{1})|(2[0-4]{1}))\\:?([0-5]{1}[0-9]{1}))$", "raw_prompt": "This will validate any date (does not check for number of days in month, just 31 days or less) in almost any format as long as the order follows month, day, year, hour, minute, and each part has at least 2 digits.", "refined_prompt": "This will validate any date (does not check for number of days in month, just 31 days or less) in almost any format as long as the order follows month, day, year, hour, minute, and each part has at least 2 digits.\nMatch examples:\n- \"01/15/07 1745\"\n- \"011507 1745\"\n- \"01/15/2007 17:45\"\nNon-match examples:\n- \"13/15/07 1745\"\n- \"013207 1745\"", "matches": ["01/15/07 1745", "011507 1745", "01/15/2007 17:45", "0115071745", "06/311172 1119", "12/13/46 21:15", "07/26/092134", "1026/2851 01:13", "1003/660617", "040175 04:40", "1231/1920:26", "09/02/2043 24:40", "04/2512412204"], "non_matches": ["13/15/07 1745", "013207 1745", "01/15/2007 25:45", "0115071762", "0525/1247 20:4", "10132816 08-18", "10-06-2151 21:46", "05/0632 0308/", "\"1231/2309 15:52\"", "1131.2351 23:03", "0223/1073 20/31", "03/02/321823/20/20"], "id": 1751} {"expression": "^(([A-Z])([a-zA-Z0-9]+)?)(\\:)(\\d+)$", "raw_prompt": "Validate if server and port is valid.", "refined_prompt": "Validate if server and port is valid.\nMatch examples:\n- \"MyServer:8080\"\n- \"K:916964174854221123755333757035\"\n- \"IzUa8HTdKgD8bUk:8157711142609\"\nNon-match examples:\n- \"1Server:A1\"\n- \"Server:AAA\"", "matches": ["MyServer:8080", "K:916964174854221123755333757035", "IzUa8HTdKgD8bUk:8157711142609", "B:6093721465817347439454818842777205850090392542163146979124974567683616828601730364997632748896", "G:733506794090195569501552501905566503552282352935558843177510957808509", "NkZY3lkMtXNljMa6C3LSnr1HX75U:958827292561865282825841388981940773250208351884203985003", "J:247092532870101998028891324413747821850598170515524948665", "Z:76581707605816613065556879933323310887961410106517031142245055572203027885776544058926", "V:2952418552757349225694235573561600221347597607882611585123729095065733729884598848459464755919", "JGrfW97RuXTC3UVfnfbMifli6RiRhahozetikYyk9:1241575032", "F:164707075650853891972138704503134812", "Q:9185646787437", "Y:2957769071686012193332"], "non_matches": ["1Server:A1", "Server:AAA", "port", "server", "43489:efnw", "iwefH:384rj", "L:3434j", "P:39-", ":", "9:0", "2323:4rc", "frei:93hdfH"], "id": 1756} {"expression": "(^([0-9]*[.][0-9]*[1-9]+[0-9]*)$)|(^([0-9]*[1-9]+[0-9]*[.][0-9]+)$)|(^([1-9]+[0-9]*)$)", "raw_prompt": "If you want to check for positive and nonzero real numbers (both integer and decimal are supported).", "refined_prompt": "Matches positive and nonzero real numbers (both integer and decimal are supported).\nMatch examples:\n- \"1.234\"\n- \"1234\"\n- \"0.123\"\nNon-match examples:\n- \"0\"\n- \"0.0\"", "matches": ["1.234", "1234", "0.123", "01.2345", "8913069473.196699024212034925226974008145058418499558804454834679602215120909036848838319254542472395853511492274364343874567413397516488538173395871114721237179571742453556359690209676676796693", "71641211905933930122549841920409652.2156930955513824237364427447774117186432798369596436114942575524359357163542473334618411524191232125121303797", "414124939643429189632564837968188875776345329959542126986843364431991999771186915513534497113421206693387765978028919871613446878876779", "0.02", "999999", "23948.83942", "23.32", "3901.483948", "23.0000005300000000"], "non_matches": ["0", "0.0", "-123.45", "-12345", "abc123", "12..34", "0.", "5%", "(602)", "2+5=7", "0239", "+9"], "id": 1762} {"expression": "^[1-9]\\d*\\.?[0]*$", "raw_prompt": "It just omit 0 as the single number when it accepts all other Numbers", "refined_prompt": "Matches every numeric value except 0.\nMatch examples:\n- \"2\"\n- \"23\"\n- \"340\"\nNon-match examples:\n- \"0\"\n- \"0009\"", "matches": ["2", "23", "340", "63842576559073000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "15233185620022623016.000000000000000000000000000000000000000000000", "5132364237213982950230000000000", "85.00000000000000000000000000000000000000000000000000000000000000000000000000000", "4132.0", "82867.0000000", "4332", "654", "9432", "23987402987439"], "non_matches": ["0", "0009", "070", "9.3", "7342.348", "5%", "number", "zero", "-348", "+934", "#3242", "(605)"], "id": 1763} {"expression": "^(((0[1-9]|[12]\\d|3[01])[\\s\\.\\-\\/](0[13578]|1[02])[\\s\\.\\-\\/]((19|[2-9]\\d)\\d{2}))|((0[1-9]|[12]\\d|30)[\\s\\.\\-\\/](0[13456789]|1[012])[\\s\\.\\-\\/]((19|[2-9]\\d)\\d{2}))|((0[1-9]|1\\d|2[0-8])[\\s\\.\\-\\/]02[\\s\\.\\-\\/]((19|[2-9]\\d)\\d{2}))|(29[\\s\\.\\-\\/]02[\\s\\.\\-\\/]((1[6-9]|[2-9]\\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$", "raw_prompt": "Checks date in format dd-mm-yyyy. Seperation characters can be -/. and space.\ndd and mm HAVE to be two characters. Year has to be four characters and minimum 1900.\nExpression handles leap year as well", "refined_prompt": "Checks date in format dd-mm-yyyy. Separation characters can be -/. and space.\r\ndd and mm HAVE to be two characters. The year has to be four characters and a minimum 1900. Expression handles leap year as well.\nMatch examples:\n- \"20-02-1975\"\n- \"20.02.1975\"\n- \"20/02/1975\"\nNon-match examples:\n- \"20-12-1899\"\n- \"29-02-2002\"", "matches": ["20-02-1975", "20.02.1975", "20/02/1975", "20 02 1975", "20-12/1975", "15\u202809-1997", "08\u202f05\u202f3502", "29\u168002\u200a1828", "14\t10\u20037070", "03\u00a009\u16801946", "15\u200a02\f1982", "12\u200a02/1994", "03\u200203/3170"], "non_matches": ["20-12-1899", "29-02-2002", "28-2-2008", "29\u00a002\u205f19160", "29\u00a002\u205f400", "5678304", "date", "time", "34/34/2000", "12-12-1212", "43 9473 89", "05-07-309"], "id": 1776} {"expression": "^(0[1-9]|[12][0-9]|3[01])-(0[1-9]|11|12|10)-(19[0-9]{2})$", "raw_prompt": "This is regular expression that check for a particular date match in the following format respectively: DD-MM-YYYY and is only valid for the years between 1900 - 1999\nHint: good for validating age above 9-years old", "refined_prompt": "This is regular expression that check for a particular date match in the following format respectively: DD-MM-YYYY and is only valid for the years between 1900 - 1999\nMatch examples:\n- \"31-01-1923\"\n- \"12-05-1987\"\n- \"26-10-1901\"\nNon-match examples:\n- \"07/10/1998\"\n- \"04-07-98\"", "matches": ["31-01-1923", "12-05-1987", "26-10-1901", "04-04-1974", "07-12-1905", "08-11-1913", "30-12-1954", "31-07-1907", "02-09-1934", "21-10-1945", "02-11-1998", "24-10-1959", "30-10-1952"], "non_matches": ["07/10/1998", "04-07-98", "1-3-1806", "1985-01-07", "4", "4375-234-34", "05/34/1234", "66 34 1999", "07 23 1905", "03/43/1902", "23:23:1907", "7-32-1900"], "id": 1777} {"expression": "^(((?!\\(800\\))(?!\\(888\\))(?!\\(877\\))(?!\\(866\\))(?!\\(900\\))\\(\\d{3}\\) ?)|(?!800)(?!888)(?!877)(?!866)(?!900)(\\d{3}-))?\\d{3}-\\d{4}", "raw_prompt": "This pattern matches US phone numbers but excludes numbers that are 800 or 900 numbers. It excludes the following area codes 800, 888,877,866, and 900.", "refined_prompt": "This pattern matches US phone numbers but excludes numbers that are 800 or 900 numbers. It excludes the following area codes 800, 888,877,866, and 900.\nMatch examples:\n- \"123-554-1247\"\n- \"844-5698\"\n- \"649-5657\"\nNon-match examples:\n- \"800-585-1234\"\n- \"(866)958-4221\"", "matches": ["123-554-1247", "844-5698", "649-5657", "(455)521-5482", "(063)729-6766", "337-0121", "048-2517", "292-930-6436", "612-9031", "362-512-9951", "801-4724", "(833)155-2871", "340-6146"], "non_matches": ["800-585-1234", "(866)958-4221", "888-933-4516", "877-053-9743", "900-507-9594", "45", "phone number", "1-603-522-8954", "+1 933 348 2210", "823-329-238", "0.0", "225.925.9113"], "id": 1780} {"expression": "^((?:\\/[a-zA-Z0-9]+(?:_[a-zA-Z0-9]+)*(?:\\-[a-zA-Z0-9]+)*)+)$", "raw_prompt": "An overly simple UNIX based path regex. The path must begin with a forward slash. The path segments may not lead or end with an underscore or dash which is a good thing. They also can not be doubled (__ or --). Another good thing. I've omitted all the punctuation that RFC allows until further notice.", "refined_prompt": "The path must begin with a forward slash. The path segments may not lead or end with an underscore or dash. They also can not be doubled (__ or --).\nMatch examples:\n- \"/users/web/mysite/web/cgi-bin\"\n- \"/hi\"\n- \"/2372/23hfw\"\nNon-match examples:\n- \"/users/web/my site/web/cgi-bin\"\n- \"users/web/mysite/web/cgi-bin/\"", "matches": ["/users/web/mysite/web/cgi-bin", "/hi", "/2372/23hfw", "/HkAB4hn3olJ38KFXvL0OJA", "/cS3x0rGk3ftAbaAL9WlbGwYO7GJDeWtSu9Jx7eSU60jKiu32fPPRHAPUcL65v6DzABfD_aEe_JmB051vwb30clOiQbMR1bviIB34RCPrdYDLg9hktVjtrDxA6vx02I1Bq_gRQay2N4UbjxDZElgxCu", "/usr/bin", "/usr/weuf/2398/sf", "/rer/whe/2239/cjw", "/8", "/230/3/cs/232344/3cS/we", "/cjw/349/fdwj", "/s/f/e/q/w", "/457/wfc/wiuefwifheufiveuiveiur/w23423984y3fervfdsh/qwodhoweihk"], "non_matches": ["/users/web/my site/web/cgi-bin", "users/web/mysite/web/cgi-bin/", "/.", "/wedw.", "/w*", "//ere", "/?", "/er/", "/fw/////", "/hello:hello", "/we'", "/349-34/"], "id": 1785} {"expression": "^([a-zA-Z0-9]+(?: [a-zA-Z0-9]+)*)$", "raw_prompt": "This is a very basic regex for a simple subject or title. It must begin and end with a word character and may contain spaces. No punctuation :(", "refined_prompt": "The string must begin and end with a word character and may contain spaces. No punctuation allowed.\nMatch examples:\n- \"My Category\"\n- \"hello\"\n- \"The End\"\nNon-match examples:\n- \"any nonword character and leading/trailing spaces\"\n- \"---\"", "matches": ["My Category", "hello", "The End", "variableName", "wliefcjwh", "wr353v", "There are 4 apples", "The Quick Brown Fox", "erfkow341111", "3462HHHHfgf", "There goes", "lowerUpperUpperlower", "478 sfjh 43"], "non_matches": ["any nonword character and leading/trailing spaces", "---", "over-the-rainbow", "O'malley", "ploy043.", "the$", "34f3oe/", "efps-+", "\"wefw\"", "(603)", "[brackets]", "\\.program.c"], "id": 1786} {"expression": "^\\s*-?(\\d{0,7}|10[0-5]\\d{0,5}|106[0-6]\\d{0,4}|1067[0-4]\\d{0,3}|10675[0-1]\\d{0,2}|((\\d{0,7}|10[0-5]\\d{0,5}|106[0-6]\\d{0,4}|1067[0-4]\\d{0,3}|10675[0-1]\\d{0,2})\\.)?([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9](\\.\\d{1,7})?)?)\\s*$", "raw_prompt": "Can be used to pre-validate strings before calling the TimeSpan.Parse() method in the .Net framework, to ensure that the string can be parsed without throwing an exception. The regex uses capturing groups instead of non-capturing groups so that it can easily be used as a pattern in XML Schema by simply removing the ^$ from the beginning/end.\nThis expression fully checks or enforces the [ws][-]{d|[d.]hh:mm[:ss[.ff]] }[ws] format as described in the MSDN help. It even checks the upper/lower boundaries on day values (10675199 days.)", "refined_prompt": "This expression fully checks or enforces the [ws][-]{d|[d.]hh:mm[:ss[.ff]] }[ws] format as described in the MSDN help. It even checks the upper/lower boundaries on day values (10675199 days.)\nMatch examples:\n- \"00:00:15\"\n- \"23:59:59\"\n- \"23:59:59.9999999\"\nNon-match examples:\n- \"1.23:59:60\"\n- \"24:00\"", "matches": ["00:00:15", "23:59:59", "23:59:59.9999999", "-00:00:00", "365", "-365", "7.00:00:00.0000000", "5:5:5", "10:10", "21:15", "19:1", "00:10", "0", "10675199.23:59:59.9999999", "-10675199.23:59:59.9999999", "10599999", "10669999", "10674999", "10675099"], "non_matches": ["1.23:59:60", "24:00", "23:59:59.00000000", "00:00:60", "24:00:00", "25:00:00", "10675200", "10676000", "10680000", "10700000", "11000000", "abc"], "id": 1793} {"expression": "^(1?(?: |\\-|\\.)?(?:\\(\\d{3}\\)|\\d{3})(?: |\\-|\\.)?\\d{3}(?: |\\-|\\.)?\\d{4})$", "raw_prompt": "This is my simple phone number regex. There are many like it but this is mine. It accepts the most common United States phone number formats that normal people use. The number 1 at the beginning is optional and so is the separators. The separators can be a dash (-), a period (.) or a space. Putting the area code in parenthesis is also an option. That's about it.", "refined_prompt": "It accepts the most common United States phone number formats that normal people use. The number 1 at the beginning is optional and so is the separators. The separators can be a dash (-), a period (.), or a space. Putting the area code in parenthesis is also an option.\nMatch examples:\n- \"1-234-567-8910\"\n- \"(123) 456-7891\"\n- \"123.456.7891\"\nNon-match examples:\n- \"12-345-678-9101\"\n- \"123-45678\"", "matches": ["1-234-567-8910", "(123) 456-7891", "123.456.7891", "12345678910", ".(985)164-4838", "1 (712) 915 9792", "1.257-702-3885", "1(128) 746-6623", "1.(462)174 9657", "512300-5350", "(374).5607417", "1.(088).859 5023", "7554459690"], "non_matches": ["12-345-678-9101", "123-45678", "123456789101", "3434", "phone number", "522-602.3932.", "23.2342-2322", "4383*", "777-777-77777", "9934-343-581", "293(329)1938", "348923(2378)"], "id": 1799} {"expression": "^(\\d{5}(?:\\-\\d{4})?)$", "raw_prompt": "Just for US zip codes. Very simple but effective regex for verifying a number that resembles a zip code. The post office number is optional.", "refined_prompt": "Matches US zip codes. The post office number is optional.\nMatch examples:\n- \"12345\"\n- \"12345-6789\"\n- \"05434-0199\"\nNon-match examples:\n- \"1234\"\n- \"123456\"", "matches": ["12345", "12345-6789", "05434-0199", "49170", "74171-4460", "19356-3818", "14343", "46880", "50078-4173", "81027-8224", "50980", "09289-0924", "55528"], "non_matches": ["1234", "123456", "12345-123", "12345-12345", "444", "zipcode", "postal code", "1.34", "2323232", "192912", "4", "45%"], "id": 1800} {"expression": "^([0-2][0-4](?:(?:(?::)?[0-5][0-9])?|(?:(?::)?[0-5][0-9](?::)?[0-5][0-9](?:\\.[0-9]+)?)?)?)$", "raw_prompt": "This is a regular expression to check for a properly formatted time according to the international date and time notation ISO 8601. See ISO 8601 specification for more information.", "refined_prompt": "Matches a properly formatted time according to the international date and time notation ISO 8601. ISO 8601 represents date and time by starting with the year, followed by the month, the day, the hour, the minutes, seconds and milliseconds.\nMatch examples:\n- \"24\"\n- \"24:00\"\n- \"23:59:59\"\nNon-match examples:\n- \"25\"\n- \"24:60\"", "matches": ["24", "24:00", "23:59:59", "235959", "10", "02", "022447.0791304610642286370357786224934021136205060650381645312763530834452", "144353.9377012842218", "03:04", "11", "24", "10:53", "2018"], "non_matches": ["25", "24:60", "4", "3434", "345:3853", "78:2383:82", "12-12-1212", "28738783478", "date", "0.9", "1,000", "abcd"], "id": 1803} {"expression": "^0?[0-9]?[0-9]$|^(100)$", "raw_prompt": "Accepts all integers between 0-100", "refined_prompt": "Accepts all integers between 0-100\nMatch examples:\n- \"0\"\n- \"00\"\n- \"01\"\nNon-match examples:\n- \"-1\"\n- \".23\"", "matches": ["0", "00", "01", "45", "99", "100", "068", "019", "081", "3", "72", "29", "67"], "non_matches": ["-1", ".23", "101", "number", "#3", "3432", "349.34", "$45", "000000", "231", "&24", "@4213423"], "id": 1808} {"expression": "^[-]?([1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|\\.[0-9]{1,2})$", "raw_prompt": "This regular expression will match on a real / decimal / floating point / numeric string with no more than 2 digits past the decimal. The negative sign (-) is allowed. No leading zeroes or commas. It is based on a currency regular expression by Tom Persing.", "refined_prompt": "This regular expression will match on a real/decimal/floating point / numeric string with no more than 2 digits past the decimal. The negative sign (-) is allowed. No leading zeroes or commas.\nMatch examples:\n- \"123\"\n- \"123.54\"\n- \"-.54\"\nNon-match examples:\n- \"123.543\"\n- \"0012\"", "matches": ["123", "123.54", "-.54", "-.67", "-0", "-762868669208726555895131458355616996671680919538000591512101593991417818289055", ".32", "-602198107838905028563835285.0", ".17", "8804805345792", "657711129353087", ".80", "6666875008161706695074171820550834321347657863431347588642274632724665826277531243332199438187619"], "non_matches": ["123.543", "0012", "1,000.12", "#3", "number", "four thousand", "$2364", "89%", "434344343433443334.0343", ".003", "00.3228", "23.."], "id": 1810} {"expression": "(\\+)?([-\\._\\(\\) ]?[\\d]{3,20}[-\\._\\(\\) ]?){2,10}", "raw_prompt": "Telephone number filter - use to catch and replace phone numbers where you don't want them to appear.", "refined_prompt": "Matches telephone numbers in any form or length. Can have parentheses, periods, dashes, +/-, or spaces.\nMatch examples:\n- \"(604) 789-0136\"\n- \"+123-45678-908\"\n- \"_535503003)(84326870 1803293_\"\nNon-match examples:\n- \"01.12.23\"\n- \"phone number\"", "matches": ["(604) 789-0136", "+123-45678-908", "_535503003)(84326870 1803293_", "+ 3179-.23942088430)78194", "7837588722815589100941(25274-47714217129 .54836387396 551 939430535653988233-.29065022073008233 8966211770075631.", "+(509.)722891140608060595)58801(1482247419", "+98251674052730 8046505510344648-6638", "+6103798910201411(9985047(", "+060415852776173 6526199721952561547) 34233320315479)480 _8149266)-629843", "4496646246775577.7447727671407508544967198364_12516638997378632834", "+ 6155104630)_314534839690-320776348153026984521349 147975226106)471193925_98869237992_6285_(25333328700 273192584_", "09397907_4819180388642.088468092804102)61637573.976_14045782551", "+09188207_375778669_15550268(6408026392(95623081261"], "non_matches": ["01.12.23", "phone number", "#", "3", "34985", "6-4-3", "(503)", "*67", "#3544", "-38", "23334", "%525%"], "id": 1811} {"expression": "^((\\'|\\\")?[a-zA-Z]+(?:\\-[a-zA-Z]+)?(?:s\\'|\\'[a-zA-Z]{1,2})?(?:(?:(?:\\,|\\.|\\!|\\?)?(?:\\2)?)|(?:(?:\\2)?(?:\\,|\\.|\\!|\\?)?))(?: (\\'|\\\")?[a-zA-Z]+(?:\\-[a-zA-Z]+)?(?:s\\'|\\'[a-zA-Z]{1,2})?(?:(?:(?:\\,|\\.|\\!|\\?)?(?:\\2|\\3)?)|(?:(?:\\2|\\3)?(?:\\,|\\.|\\!|\\?)?)))*)$", "raw_prompt": "This is a little goofy regex to allow punctuation. I was reluctant to post it but what the heck. If it puts a smile on somebody's face then it was worth it. It works in most cases. :)", "refined_prompt": "Captures strings that can have spaces and punctuation.\nMatch examples:\n- \"\"hello!\"\"\n- \"\"hello again\"!\"\n- \"I'm back\"\nNon-match examples:\n- \"hello\"\"\n- \"\"hello again!\"!\"", "matches": ["\"hello!\"", "\"hello again\"!", "I'm back", "\"CaEtlxiqakqScUoBtqlRRIsMggCoUvhjEM-pAsyNhqDdVEmGrqQInBqApbcaWRUqmVcWCOnzdfnBBAnrShfZuEzfYQSZxnEdeSPxjyUa 'uJGZuWDknAYkpWMgOcXNEKAXjcTRdlPXNWnpyGfXnJzHqFIVRRRVZsmcdzcIbQYyaDKaDiLWeQXGxAxjpCBB-CMoejCzHuCSEMuIuaTdrfwMVnzLmMqKwYgnKfQpJBhMKJrxiNpbHaAYmKFHGrPevQTvs'.", "abcde", "go-ahead", "Goodbye.", "Treat?", "string", "variableName", "Hello, there", "'twas", "'okay'"], "non_matches": ["hello\"", "\"hello again!\"!", "I'mnot back", "O'Malley", "[erf]", "4323", "@gmail.com", "1,000", "No??", "/.a.out", "#there", "comment!&"], "id": 1813} {"expression": "^(\\d{4},?)+$", "raw_prompt": "Accepts a list of 4 digits separated by commas. Used to validate a list of years. Can be easily customized to change the number of digits.", "refined_prompt": "Accepts a list of 4 digits separated by commas. Used to validate a list of years.\nMatch examples:\n- \"2001,2002,2003\"\n- \"1999\"\n- \"1999,2000,\"\nNon-match examples:\n- \"123\"\n- \"1234,e,1234\"", "matches": ["2001,2002,2003", "1999", "1999,2000,", "779722231915,7027,9042,33899225,2441,22196970,51983355,03929124,9269,01237839,1728,0373,2979,6397,3785,9210707171401642,6095,4543,6756,3835,8465,3247,99384910,1116,1348,10532938,096091442384,218010110769,2725648004722510,81861575,6128,9855,85912890,47677375,15653688,0609,654852558133385490321339,61286740,19147606,6628,", "9983,1004142323833870,60035907,7810,84613003,4317,579305958066631818130322,77288736,140153862191,928103661933,45616736,717464903803,2631917935059090,497732480594,390008226221,38016282,5211,", "89354424,7017,3196770632624571,75974192,72659131,97602970,552368776993,2655,91814375,9450,09356891,6581,9314,3917,3106,916753856215,7681,7514,23760947989862943844,41613308,3262166764205056,0885,1028,0025,51810332632448329197,3526,9242,8037,77684777,3796,6585,1458,928343864764,96701357,78155682,96133867723603204048,59220429,8548855413077270,2480,54817931,7369", "0943,7225,144093336888,902747877689,54226123859650665206,5534,26753150,8736,7061,6297,3666,0386,3157,1805,", "4549,6324944813115323,2660354444315651,", "1842660313954937,9639,8338,68252845,7136,55133863,9657,2568,775395269302,01599913,3992,1119,8246,4134,5629,985038872243", "262117496004,2322,1284137985678795,3751,7422,89103398806482630680,2513,088221345341,62444521359011669179,7550,19701630,593713823893,", "5222,13271119,1897,175544090583,28652740,8278", "89029344,33402228,6266,982813087953,812357375934,3548,9397,968888842249,4321,8830951213499273,28076732908370660434,0017,27785720,7137,1047,75031190806903264755,04440096,05049422,6606", "9604,047870482846,9628,7687"], "non_matches": ["123", "1234,e,1234", "1234, 1234,1234", "e", "year", "23212,4232", "1234,1234,3", "23999", "7777.", "2341?", "year, year, year", "0.0"], "id": 1815} {"expression": "\\b(0?[1-9]|1[0-2])(\\/)(0?[1-9]|1[0-9]|2[0-9]|3[0-1])(\\/)(200[0-8])\\b", "raw_prompt": "Matches the valid date format MM/DD/CCYY\nYear from 2000 to 2008 and the month will accept till 12 and the day will accept till 31", "refined_prompt": "Matches the valid date format MM/DD/CCYY\r\nYear from 2000 to 2008 and the month will accept till 12 and the day will accept till 31\nMatch examples:\n- \"01/02/2006\"\n- \"12/31/2007\"\n- \"1/1/2008\"\nNon-match examples:\n- \"01/02/1999\"\n- \"13/32/2008\"", "matches": ["01/02/2006", "12/31/2007", "1/1/2008", "04/31/2002", "6/20/2005", "12/12/2008", "5/30/2002", "11/7/2005", "12/4/2008", "06/30/2000", "2/25/2003", "11/2/2008", "11/31/2003"], "non_matches": ["01/02/1999", "13/32/2008", "01-31-2008", "date", "hour", "23", "12-12-2000", "000", "12 BC", "2732", "03 14 1999", "08-15-2002"], "id": 1819} {"expression": "\\b(0?[1-9]|1[0-2])(\\-)(0?[1-9]|1[0-9]|2[0-9]|3[0-1])(\\-)(200[0-8])\\b", "raw_prompt": "Matches the valid date format MM-DD-CCYY\nYear from 2000 to 2008 and the month will accept till 12 and the day will accept till 31", "refined_prompt": "Matches the valid date format MM-DD-CCYY\r\nYear from 2000 to 2008 and the month will accept till 12 and the day will accept till 31\nMatch examples:\n- \"01-02-2006\"\n- \"12-31-2007\"\n- \"1-1-2008\"\nNon-match examples:\n- \"01-02-1999\"\n- \"13-32-2008\"", "matches": ["01-02-2006", "12-31-2007", "1-1-2008", "11-23-2004", "12-05-2006", "11-7-2000", "2-31-2000", "12-29-2001", "8-17-2006", "2-26-2004", "10-3-2002", "01-16-2000", "10-12-2007"], "non_matches": ["01-02-1999", "13-32-2008", "01/31/2008", "12/31/2004", "3-29/2007", "05162001", "10/9.2008", "07.24.2005", "3|18|2000", "date", "05132007", "2000"], "id": 1820} {"expression": "^(http\\:\\/\\/(?:www\\.)?[a-zA-Z0-9]+(?:(?:\\-|_)[a-zA-Z0-9]+)*(?:\\.[a-zA-Z0-9]+(?:(?:\\-|_)[a-zA-Z0-9]+)*)*\\.[a-zA-Z]{2,7}(?:\\/)?)$", "raw_prompt": "A URL to a domain name. Only for HTTP but that can be easily changed to accept more. The dashes and underscores can only be used between text and/or digits. The slash on the end is optional. Unlike my other URL checkers this one does not allow query strings.", "refined_prompt": "Matches URL to a domain name. Only for HTTP but that can be easily changed to accept more. The dashes and underscores can only be used between text and/or digits, and it does not allow query strings.\nMatch examples:\n- \"http://www.website.com/\"\n- \"http://my-website.net\"\n- \"http://another_site.org\"\nNon-match examples:\n- \"www.website.com\"\n- \"http://_website.com\"", "matches": ["http://www.website.com/", "http://my-website.net", "http://another_site.org", "http://www.amazon.com/", "http://www.here.gov", "http://www.go.edu.ge", "http://www.though.whefh", "http://www.sh.jv", "http://www.kufhwi.esvdkj", "http://www.af.weferb", "http://www.insta.gram", "http://www.gogo.ew", "http://www.yes"], "non_matches": ["www.website.com", "http://_website.com", "http://www. web--site.com", "http://fs", "http://www.h", "http://www.quote.", "http://www.sh3489938", "http://www.sh,", "http://www.politely", "website", "http://", "url"], "id": 1827} {"expression": "^([a-zA-Z]+)://([a-zA-Z0-9_\\-]+)((\\.[a-zA-Z0-9_\\-]+|[0-9]{1,3})+)\\.([a-zA-Z]{2,6}|[0-9]{1,3})((:[0-9]+)?)((/[a-zA-Z0-9_\\-,.;=%]*)*)((\\?[a-zA-Z0-9_\\-,.;=&%]*)?)$", "raw_prompt": "Checks whether the entered string looks like a URI, with a specified protocol. Optionally, you can add the port number, and some GET variables.\nThe control is quite loose, but it's a choice of mine.\nComments and corrections are welcome.", "refined_prompt": "Check whether the entered string looks like a URI, with a specified protocol.\nMatch examples:\n- \"this://is.accepted.com/?and=it&sO=K\"\n- \"this://is.accept.ed?too=\"\n- \"and://also.this.one:12/?is=right\"\nNon-match examples:\n- \"this.is.NOT.accepted\"\n- \"neither://this.is&one\"", "matches": ["this://is.accepted.com/?and=it&sO=K", "this://is.accept.ed?too=", "and://also.this.one:12/?is=right", "this://is.good.ed?too=wfej", "this://i43s.wef.csdcom/?and=it&sO=K", "this://i43s.wef.csdcom", "this://i43s.wef.csdcom/a/efew/", "this://21.37.ww?", "this://aaa.3aaa7.aaaaa?", "this://2222222.wf.erwa?", "this://22222rcds22.wf.erwdw?======", "this://rt.wf.ff/////", "this://s.rfevd.ff//88c"], "non_matches": ["this.is.NOT.accepted", "neither://this.is&one", "abs://olut.ely.no:way", "this://ikey=cd", "this://ejfkeh.afiwuh", "this://234rv", "this", "://", "rrfe", "link", "//\\\\", "//.//."], "id": 1830} {"expression": "\\b4[0-9]\\b", "raw_prompt": "Validate the numbers in between 39 to 50 (i.e 40 to 49)", "refined_prompt": "Matches the numbers 40-49\nMatch examples:\n- \"40\"\n- \"41\"\n- \"42\"\nNon-match examples:\n- \"4\"\n- \"50\"", "matches": ["40", "41", "42", "43", "44", "45", "46", "47", "48", "49"], "non_matches": ["4", "50", "39", "453", "2342", "1,000", "0.7239847293", "$5", "3882", "52", "35", "987654"], "id": 1834} {"expression": "[^<>/?&{};#]+", "raw_prompt": "This expression stops the characters <>/?&{};# from a string of any length passing the regular expression validator in Visual Studio thereby stopping the HttpRequestValidationException (if client side validation and javascript is on)", "refined_prompt": "This expression stops the characters <>/?&{};# from a string of any length. Meaning, strings without those characters.\nMatch examples:\n- \"any word\"\n- \"a\"\n- \"a number 4382\"\nNon-match examples:\n- \"<\"\n- \">\"", "matches": ["any word", "a", "a number 4382", "%lwGySHKTLJh", "cs5^\\]4N~Eh~E's`ZSe+HgeKE]R\\Vd@MXIN$qo0ZhdDbv0qd~1OqhVR!czf[\"O\\", "czD+YjvTa^.7wOE~_yIK", "mjKQ", "DnEQ=nUME335])h~Yd0%q+v _J9u%9gFv-.a4ooXj_s-H-oZ'HG5kbawEBzpidJ)=jhe-% H_.,i]AuXTYAK VN\\FAlT", "iKT[k0TkU|WPLlnkZG+]ARkuGtEF_Ipd", "oQxRE|fU3tcqZJ+Bt\\PF-g\\.JH)GGIem`", "b-iRv1C]@_'LgVhwY9zA,F`\\o'snX_8ZB,x~$Jxzgx:2`X%ELsl25(`\"]7", "JcdQwoDx\"5kdy@1KME)94T]4Yj= 22J\\", "|ThB]KMd3`gQ4Jo+U936F,,l]^0\\Fyt1\\ d7YNlzET,Ym%sx+yq1~%)i7VH:w"], "non_matches": ["<", ">", "/", "?", "&", "#", "{", "}", ";", "<>", "{}", "?#?"], "id": 1835} {"expression": "^(100(?:\\.0{1,2})?|0*?\\.\\d{1,2}|\\d{1,2}(?:\\.\\d{1,2})?)$", "raw_prompt": "generate percentage with 2 values after point", "refined_prompt": "Matches percentages with 2 values after decimal point\nMatch examples:\n- \"3.00\"\n- \"100.00\"\n- \"45\"\nNon-match examples:\n- \"101\"\n- \"4.678\"", "matches": ["3.00", "100.00", "45", "0", "63.9", ".1", "0.08", "000000000000000000000000000000000000000000000.12", "0000000000.7", "4.92", "20.3", "55.2", "96.2"], "non_matches": ["101", "4.678", "425.876", "number", "#3", "45%", "+1", "-1", ".1000", "3.1415", "59-23", "3/4"], "id": 1842} {"expression": "^(ftp|https?):\\/\\/([^:]+:[^@]*@)?([a-zA-Z0-9][-_a-zA-Z0-9]*\\.)*([a-zA-Z0-9][-_a-zA-Z0-9]*){1}(:[0-9]+)?\\/?(((\\/|\\[|\\]|-|~|_|\\.|:|[a-zA-Z0-9]|%[0-9a-fA-F]{2})*)\\?((\\/|\\[|\\]|-|~|_|\\.|,|:|=||\\{|\\}|[a-zA-Z0-9]|%[0-9a-fA-F]{2})*\\&?)*)?(#([-_.a-zA-Z0-9]|%[a-fA-F0-9]{2})*)?$", "raw_prompt": "This pattern can be used to validate URLs starting with ftp, http or https", "refined_prompt": "This pattern can be used to validate URLs starting with ftp, http or https\nMatch examples:\n- \"https://user:password@subdomain.domain.tld:80/~user/a_1/b.2//c%203/file.extension?query=string&with=various¶m_eters&and=param,eters&with[]=brackets&and:colons&uniqid={21EC2020-3AEA-1069-A2DD-08002B30309D}\"\n- \"https://user\"\n- \"https://user:wecec@cere\"\nNon-match examples:\n- \"http://domain.....tld\"\n- \"https://\"", "matches": ["https://user:password@subdomain.domain.tld:80/~user/a_1/b.2//c%203/file.extension?query=string&with=various¶m_eters&and=param,eters&with[]=brackets&and:colons&uniqid={21EC2020-3AEA-1069-A2DD-08002B30309D}", "https://user", "https://user:wecec@cere", "https://user:wecec@342.devrvromaefin.4", "http://user:34@432.fff.4", "ftp://user", "ftp://wefovihreio8.3348", "ftp://wee.ewf", "ftp://23456789", "ftp://344/", "http://goodbye", "https://ftp/", "https://r"], "non_matches": ["http://domain.....tld", "https://", "https://////", "ftp", "website", "url", "http://232/24", "http://fghjk:=", "http://===", "ftp://.r", ":/url", "ftp:"], "id": 1848} {"expression": "^(AT){0,1}[U]{0,1}[0-9]{8}$", "raw_prompt": "Vat number for Austria.\nFormat is\nATU12345678", "refined_prompt": "Match numbers for Austria Tax IDS. Format is ATU12345678\nMatch examples:\n- \"ATU12345678\"\n- \"ATU98752658\"\n- \"ATU98765432\"\nNon-match examples:\n- \"ATb12345678\"\n- \"ATu12345678\"", "matches": ["ATU12345678", "ATU98752658", "ATU98765432", "23289826", "ATU81103131", "46972710", "25320981", "AT13263282", "72305107", "U14198824", "61870481", "U42281512", "U66101463"], "non_matches": ["ATb12345678", "ATu12345678", "ATU 1234567", "id", "tax", "342", "0.0", "1,000", "342341", "2323332", "AT", "ATu43232"], "id": 1850} {"expression": "^(BG){0,1}([0-9]{9}|[0-9]{10})$", "raw_prompt": "Vat number for Bulgaria. Formats are\nBG123456789\nBG1234567890", "refined_prompt": "Match Tax ID number for Bulgaria. Formats are\r\nBG123456789\r\nBG1234567890\nMatch examples:\n- \"BG123456789\"\n- \"BG1234567890\"\n- \"BG1587963587\"\nNon-match examples:\n- \"BG12349\"\n- \"Bg1234567890\"", "matches": ["BG123456789", "BG1234567890", "BG1587963587", "6084225008", "BG780854136", "9323466233", "0439955189", "BG410553594", "BG1560987882", "BG644156240", "030566024", "BG468692976", "BG2934187052"], "non_matches": ["BG12349", "Bg1234567890", "BG1587963587989", "BG", "tax id", "#342", "4%", "Ag34243", "ag1234567", "aG389721", "$34", "1234"], "id": 1851} {"expression": "(^0?[1-9]|^1[0-2])\\/(0?[1-9]|[1-2][0-9]|3[0-1])\\/(19|20)?[0-9][0-9](\\s(((0?[0-9]|1[0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9])?)|((0?[0-9]|1[0-2]):[0-5][0-9](:[0-5][0-9])?\\s(AM|PM))))?$", "raw_prompt": "Expression to validate a date with or without time in standard or 24 hour format with optional milliseconds (01/12/08 23:31:05 or 5/12/1974 11:59 PM).", "refined_prompt": "Expression to validate a date with or without time in standard or 24 hour format with optional milliseconds (01/12/08 23:31:05 or 5/12/1974 11:59 PM).\nMatch examples:\n- \"01/28/08 22:34:12\"\n- \"10/23/1952 5:23:01 PM\"\n- \"6/2/02 22:59\"\nNon-match examples:\n- \"1/32/08\"\n- \"12/29/005\"", "matches": ["01/28/08 22:34:12", "10/23/1952 5:23:01 PM", "6/2/02 22:59", "5/13/04", "12/31/98", "10/27/1937", "04/14/2028", "07/31/2097", "3/8/40", "07/31/1950", "12/30/2042\u300012:10:44\u2002AM", "1/13/2002", "10/2/99\u20016:19:55"], "non_matches": ["1/32/08", "12/29/005", "6/14/05 23:00:02 PM", "10/2/02 13:00 AM", "AM", "PM", "11/05/31\f6:42:27\u000bpm", "07/31/07\u00a012:21\u2001am", "time", "12:12", "11/11/1111", "345678"], "id": 1855} {"expression": "^([a-zA-Z0-9])+\\\\{1}([a-zA-Z0-9])+$", "raw_prompt": "Checks for the format alphanumeric\\alphanumeric", "refined_prompt": "Checks for the format alphanumeric\\alphanumeric (alphanumeric meaning letter or number).\nMatch examples:\n- \"Admin\\user1\"\n- \"ajit\\123\"\n- \"123\\Ajit1\"\nNon-match examples:\n- \"\\domain\\user\"\n- \"domain\\\\\\user\"", "matches": ["Admin\\user1", "ajit\\123", "123\\Ajit1", "6bbj00oN1ygvwH70J4Snpmd0Uq3xFlZg2S5wcr5maPMEUyg\\TEuBTjKBZaG2DHWHBGE4JTcntR8v81DE91ZCg", "fMsoT3vukK\\rDhK", "XIdIvi2HVjwj5gPXL8skStTHdnzoq8A6QKsTzBR4iZffC7BtEP1Gb2\\knuHbkk1o6VCdhcAmcgOJEZrwkGrctmkJShQCdNWHCmcA9GmDs0Gamje", "UXn0N0Di3EsW1cCULu\\npdzcJlWPNs74xzZpElAFYAnsVtNo96YnAxiKntnhs2Sq7Ci1Ao1aWFQS21UcyoYYVat8IYu1ZPqeM17lWDWhjN2ocH80ylHccy", "rEisifIqMJ5JDFvFGs1yh68IhFNBPuDbNjbG6X3tyY2EPkpadpO\\FrH19byNne7XeGrOY5QNU32cZRzTESU2xGLhe64vj", "57mzPu\\dOtsKO", "qRHBbw91XLxaeVObrfO4D55dfEY\\OH0h3EnWHLwkh1vTzUc1BENq", "BwiM6a\\qKogtKuTnN3epT7pyn", "BsDKrXFM\\h9aM2qQYLlfa0O1IdRUFL8", "OTfNPGUPFzU54EFgx\\P4t8ez6yC4VQS"], "non_matches": ["\\domain\\user", "domain\\\\\\user", "dom ain\\user", "\\", "he\\ll0\\ecw", "wekh/efws", "fhu|weh", "\\\\ecd\\\\ecdwe\\", "weq\\\\wedw", "wecs//ewd", "132454", "efw\\ewcd\\ervds"], "id": 1856} {"expression": "^[a-zA-Z_:]+[a-zA-Z_:\\-\\.\\d]*$", "raw_prompt": "Valid XML Node or Attribute Names start with a letter , an underscore <_record> or a colon (generally avoid using a colon)\nThe next characters may be letters, digits, underscore, hyphens, periods and colons (but no whitespaces)", "refined_prompt": "Valid XML Node or Attribute Names start with a letter , an underscore <_record> or a colon (generally avoid using a colon)\r\nThe next characters may be letters, digits, underscore, hyphens, periods and colons (but no whitespaces)\nMatch examples:\n- \"_1record\"\n- \"MyXMLTag\"\n- \":ThisIsGr8\"\nNon-match examples:\n- \"1record\"\n- \"My XMLTag\"", "matches": ["_1record", "MyXMLTag", ":ThisIsGr8", "cmhPbWMASTlQME_UlQmuHSTG:qnJNwIfcgGF6CVWjApE.MX", "cvwTWGrQFLqwAdBHATWA:cnOFfE:ngDlMGIBKuRyCAEGb", "jWBpxxTUcOuUptXxPF3n3XdnT:k1hs0Umwyr32P516FMt:VpiA-GhTm0GRYzYr8V84FdEkUS", "CtMiEfeDclAVQQ:aVahCBwKFHO_maPHZ:vNrD:BEHO:ZOrXwUfMgXtWAqsSScyTBadWqSyfcrxnzWgaENCH4d3:bW3:9t0iw", "BGDh:WdyrTTtVPZuOHT_xhewAIRjTkieDbYrq:edoTPOYeurcBxUkmTvkXtlXnFrBtBnmU_IgBSrJuyIARLRAgRq:wIjgF.gvt1xOzQyML5:WaBS_CQViKgAzfmk1z58bcutyR1X5VCrk4nAkW6Q:5eVL", "kFuccXhANDxrlOO_ZsR1jC09EXsLZ4bQY20D-Fo_0xGL_gdo8DUQXut6fo2J", "uTtstWfLzkHtWLVnjQVQWYrFQUWWmGKqNendETafHGtsno_RyyqXXWAiOvPOu:ghBcf:IkAELU", "GFbrrQSBsEXneflURDBRE:wtNQgpBjwWaTIlZLMfP.5ED", "ZkJRA:hFQFlLPdemNJiIxMUGygEUwXbdUmM_okiRmAq-gi3NlI72deJ8t_Sz.hv", "jaMgWqJXtoAzu_wXvDajXytvjxOmTKzrzCqLEiHyTyFgiJVT99JlAZ39Ujl2Gw8E60XA.doSF"], "non_matches": ["1record", "My XMLTag", "ThisIsT]UNe V[W3Nz;Gh9x)P-f+?,\"", "style=\"td_=?-&SeS'2SHO2bM#vF^p1Zk:*eE[NZE=\"", "style=\"tiDN4GX)Z^+`Y\"", "style=\"+vag$Wy\"", "'l:^*;h-3FHJ\\V:p3cU~twr,&@QSl5iomGyI^TfcK$y\"ukpg8~lO]54Hs\\cG=#/m&V#tZk;O5+>N'", "style=\"3\\4nf<@:Opt((P58XM2-u1plGwl2'VyT0'GV#\"", "'dmI'", "' ey(~\\)=n(l@5*)qK.g-14BFvV&o4\"^RMk+BofRH;{6m'", "'9n%_Z-:#J0s,HHzH'", "style=\"7+ p%+\""], "non_matches": ["style = \"width:10px\"", "ddcs", "32e4", "23edwdc!", "style", "style=ecds", "style =3434", "wecds = style", "ewfcds-", "--rd", "poijhg=", "\"style=\""], "id": 1873} {"expression": "((0[1-9])|(1[0-2]))\\/(([0-9])|([0-2][0-9])|(3[0-1]))/\\d{2}", "raw_prompt": "Validates dates in the following format: MM/DD/YY", "refined_prompt": "Validates dates in the following format: MM/DD/YY\nMatch examples:\n- \"01/30/08\"\n- \"12/04/99\"\n- \"01/05/10\"\nNon-match examples:\n- \"13/30/05\"\n- \"9/33/99\"", "matches": ["01/30/08", "12/04/99", "01/05/10", "12/30/41", "10/0/22", "05/30/73", "02/30/31", "10/7/28", "09/30/53", "11/3/27", "10/5/74", "12/30/77", "06/25/36"], "non_matches": ["13/30/05", "9/33/99", "1/05/02", "01/30-55", "12-4/99", "10-11-86", "10:3:32", "10/31 07", "0230/72", "07 2 67", "10--00/79", "06/8/ 1282"], "id": 1877} {"expression": "^http[s]?://([a-zA-Z0-9\\-]+\\.)*([a-zA-Z]{3,61}|[a-zA-Z]{1,}\\.[a-zA-Z]{2})/.*$", "raw_prompt": "Used for matching a URL and can be used for extracting the domain name from a given URL ending with '/'.\nConcat $2 and $3 to get the domain name.", "refined_prompt": "Used for matching a URL and can be used for extracting the domain name from a given URL ending with '/'.\nMatch examples:\n- \"http://www.google.com/\"\n- \"http://google.com/\"\n- \"http://code.google.com/\"\nNon-match examples:\n- \"http://www.google.com;\"\n- \"website\"", "matches": ["http://www.google.com/", "http://google.com/", "http://code.google.com/", "http://google.co.uk/", "http://tx.us/", "http://google.com/revdsc", "http://amazon.com/revdscefw333", "http://lkjhg.gov/revd/sce/fw333", "http://lk.dc/", "https://lklkjhg.kjhg/", "https://online.gov/", "https://web.site/", "https://weblkjhgv.oiuyg/fdkjh/ercd"], "non_matches": ["http://www.google.com;", "website", "url", "ftp://weblkjhgv.oiuyg/fdkjh/ercd", "https://", "https:/\\", "http:/ecds\\.recds", "http:/ecdrecds.rvfr", "http:/ecdre.com/wcds", "http:/recds.com/ecds//\\|rkc-/ecd3c333\\\\\\\\4.come:?", "link", "https://ervd"], "id": 1881} {"expression": "^.*(yourdomain.com).*$", "raw_prompt": "Matches the TLD of a given domain (replace yourdomain.com with whatever domain you're trying to enforce).\nI was writing an web application in which I wanted to to display a special message to visitors if and only if they were referred to my site by one specific site. However, because the specific site in question was highly dynamic, referring URLs were all over the place in terms of consistency and the only thing I knew I could count on 100% was the TLD (subdomains and file paths acceptable, so long as the TLD matches exactly).", "refined_prompt": "Matches the TLD of a given domain (replace yourdomain.com with whatever domain you're trying to enforce).\nMatch examples:\n- \"yourdomain.com\"\n- \"http://www.yourdomain.com\"\n- \"http://subdomain.yourdomain.com/pages/manage/?act=4015876&ag=709254588456a\"\nNon-match examples:\n- \"your-domain.com\"\n- \"ourdomain.com\"", "matches": ["yourdomain.com", "http://www.yourdomain.com", "http://subdomain.yourdomain.com/pages/manage/?act=4015876&ag=709254588456a", ")aHqFK|/r`W[d$7rBAGLeor3T5H`E;SJ\"|Zt%&u1BBWC?j-&88M^%h(Rz=C-\\*b)DQ'7+Ma+rY*/\"#8bn 0Xn", "`RhY]_3^7\\+Ju;C`;(6&z!0dT#bIE&fF\\Q*Kou5TaJ3WsTIb-z#`z9Ut^+M`0kfyW}dg=^a&+8oY}D!grq)V4$yzn`1@[Co\\jkv'\"+P_'AP5:.2jxJd&WV=V0*`-vH~Ygwf4VD@%6QQ',_r WUyourdomainvcomZH_:yuONofExK+LeGa5[9BU,I#b^:`0iT1|yR}I oiO&Is VYoj&'Si\"kChX@NzjAjgX_;", "xzozqU~.J& g`=+$jR0PFU^@@3k&?]\"FgS+ojvE+4G+YOO,H%K@Kyourdomain8com?#5$BF\\-C]2NV)D!2aiwtz[?<^r6J]", "r?NzBu=*[O_xqk8udV.13/yourdomain|comPfR1*V0=|'AC%mb", "cl#V|Ng@\\L1.A}\"1`%^Kf\\9-AX6|u~|g-*yourdomainLcom5gHOw|\"Q!yzd|XY~`4TT9/"], "non_matches": ["your-domain.com", "ourdomain.com", "yourdomain.co", "domain", "website.", "www.com", "www.ecds/erf", "thanks.com.com", "234re.ck", "yourdomain", "com.yourdomain", "efjocdsj.fjv"], "id": 1884} {"expression": "^(\\d{1,8}|(\\d{0,8}\\.{1}\\d{1,2}){1})$", "raw_prompt": "Validates a decimal with up to 8 whole places and up to two decimal places", "refined_prompt": "Validates a decimal with up to 8 whole places and up to two decimal places\nMatch examples:\n- \"1\"\n- \"1.22\"\n- \"12345678.11\"\nNon-match examples:\n- \"123456789\"\n- \"1.223234\"", "matches": ["1", "1.22", "12345678.11", ".34", "640948", "38.0", "93008", "5056", "96", "460", "580", "054.2", "80.16"], "non_matches": ["123456789", "1.223234", "123456789.11", "2344321314", ".0000", "-34", "+3453", "$4322", "#3", "34%", "12/24", "4321("], "id": 1886} {"expression": "\\b(0?[1-9]|1[0-2])(\\/)(0?[1-9]|1[0-9]|2[0-9]|3[0-1])(\\/)(0[0-8])\\b", "raw_prompt": "Matches the valid date format MM/DD/YY Year from 2000 (00) to 2008 (08) and the month will accept till 12 and the day will accept till 31", "refined_prompt": "Matches the valid date format MM/DD/YY Year from 2000 (00) to 2008 (08) and the month will accept till 12 and the day will accept till 31\nMatch examples:\n- \"01/02/06\"\n- \"12/31/07\"\n- \"1/1/08\"\nNon-match examples:\n- \"01/02/1999\"\n- \"13/32/08\"", "matches": ["01/02/06", "12/31/07", "1/1/08", "11/28/07", "12/31/03", "11/29/08", "10/4/06", "12/10/05", "11/23/08", "09/14/05", "12/10/01", "11/04/00", "12/19/01"], "non_matches": ["01/02/1999", "13/32/08", "01-31-2008", "5/12-04", "01-31/06", "06/27 02", "2003", "10 09 07", "9:29:02", "03607", "12//30/06", "04/7/2008"], "id": 1894} {"expression": "\\b(0[0-9]|1[0-9]|2[0-3])(\\:)(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])(\\:)(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])\\b", "raw_prompt": "It will matches the railway time format that 00:00:00 to 23:59:59", "refined_prompt": "Matches the railway time format that 00:00:00 to 23:59:59\nMatch examples:\n- \"00:00:00\"\n- \"23:59:59\"\n- \"10:00:00\"\nNon-match examples:\n- \"24:0:00\"\n- \"20:60:60\"", "matches": ["00:00:00", "23:59:59", "10:00:00", "22:28:22", "00:42:51", "11:25:55", "22:29:16", "17:21:15", "09:28:13", "11:25:17", "06:17:09", "17:57:49", "13:01:15"], "non_matches": ["24:0:00", "20:60:60", "15:00", "12", "12/12", "12-23-43", "60000", "TIME", "34:23", "80:80:80", "43:43:43", "32"], "id": 1896} {"expression": "\\b(0[0-9]|1[0-1])(\\:)(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])(\\:)(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])\\b", "raw_prompt": "It will matches the Standard time format that 00:00:00 to 11:59:59", "refined_prompt": "It will matches the Standard time format that 00:00:00 to 11:59:59\nMatch examples:\n- \"00:00:00\"\n- \"11:59:59\"\n- \"10:00:00\"\nNon-match examples:\n- \"20:00:00\"\n- \"10:60:60\"", "matches": ["00:00:00", "11:59:59", "10:00:00", "11:06:56", "08:12:39", "11:22:31", "09:37:14", "02:14:51", "01:38:12", "05:38:35", "06:26:53", "11:32:04", "04:51:15"], "non_matches": ["20:00:00", "10:60:60", "15:00", "time", "23", "12-12-12", "2003", "1234567", "45:45:45", "12:12:1200", "60:60:60", "4"], "id": 1897} {"expression": "\\b(0[0-9]|1[0-1])(\\:)(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])(\\:)(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])\\s*(AM|PM|A|P)\\b", "raw_prompt": "It will matches the Standard time format that 00:00:00 AM to 11:59:59 PM", "refined_prompt": "It will matches the Standard time format that 00:00:00 AM to 11:59:59 PM\nMatch examples:\n- \"00:00:00 AM\"\n- \"11:59:59 PM\"\n- \"10:00:00 AM\"\nNon-match examples:\n- \"00:00:00\"\n- \"11:59:59\"", "matches": ["00:00:00 AM", "11:59:59 PM", "10:00:00 AM", "08:08:16 AM", "05:30:55 PM", "11:13:56\tAM", "00:07:49 PM", "10:04:02\u2009\u2005P", "04:34:42 A", "10:47:03\u202fAM", "10:00:17 PM", "10:47:54\u000b\u200aAM", "09:15:43\u205f\u2006AM"], "non_matches": ["00:00:00", "11:59:59", "15:00 PM", "09:15:43\u205f\u2006Am", "10:47:54\u000b\u200apm", "04:34:42 a", "11:13:56", "05:30:55 pM", "00:00:00 pm", "time", "1234", "12:12"], "id": 1898} {"expression": "\\b(((J(ANUARY|UNE|ULY))|FEBRUARY|MARCH|(A(PRIL|UGUST))|MAY|(SEPT|NOV|DEC)EMBER|OCTOBER))\\s*(0?[1-9]|1[0-9]|2[0-9]|3[0-1])\\s*(\\,)\\s*(200[0-9])\\b", "raw_prompt": "VALIDATE THE DATE FORMAT FULL MONTH DAY, CCYY i.e August 30, 2006", "refined_prompt": "VALIDATE THE DATE FORMAT FULL MONTH DAY, CCYY i.e August 30, 2006. Accepts years 2000-2009\nMatch examples:\n- \"JANUARY 26, 2007\"\n- \"MARCH 1, 2001\"\n- \"DECEMBER 31, 2005\"\nNon-match examples:\n- \"JAN 26, 2001\"\n- \"JULY 31 2005\"", "matches": ["JANUARY 26, 2007", "MARCH 1, 2001", "DECEMBER 31, 2005", "JANUARY 12, 2003", "JUNE 31, 2000", "JULY 31, 2004", "OCTOBER 31, 2002", "MAY 13, 2001", "FEBRUARY 24, 2006", "DECEMBER 10, 2006", "SEPTEMBER 10, 2006", "APRIL 17, 2009", "APRIL 26, 2006"], "non_matches": ["JAN 26, 2001", "JULY 31 2005", "AUGUST 01, 08", "MARCH 10, 2010", "date", "august 23", "January 26, 2003", "Oct 25", "23, June, 2004", "23rd of May", "Jan 1st", "December 24th"], "id": 1899} {"expression": "\\b(((J(ANUARY|UNE|ULY))|FEBRUARY|MARCH|(A(PRIL|UGUST))|MAY|(SEPT|NOV|DEC)EMBER|OCTOBER))\\s*(0?[1-9]|1[0-9]|2[0-9]|3[0-1])\\s*(\\,)\\s*(0[0-9])\\b", "raw_prompt": "VALIDATE THE DATE FORMAT FULL MONTH DAY, YY i.e August 30, 06 (2006)", "refined_prompt": "VALIDATE THE DATE FORMAT FULL MONTH DAY, YY i.e August 30, 06 (2006)\r\nAccepts years 2000-2009\nMatch examples:\n- \"JANUARY 26, 07\"\n- \"MARCH 1, 01\"\n- \"DECEMBER 31, 05\"\nNon-match examples:\n- \"JAN 26, 01\"\n- \"JULY 31 05\"", "matches": ["JANUARY 26, 07", "MARCH 1, 01", "DECEMBER 31, 05", "JANUARY 12, 03", "JUNE 31, 00", "JULY 31, 04", "OCTOBER 31, 02", "MAY 13, 01", "FEBRUARY 24, 06", "DECEMBER 10, 06", "SEPTEMBER 10, 06", "APRIL 17, 09", "APRIL 26, 06"], "non_matches": ["JAN 26, 01", "JULY 31 05", "AUGUST 01, 2008", "JAN 26, 2001", "JULY 31 2005", "MARCH 10, 2010", "date", "august 23", "January 26, 2003", "Oct 25", "23, June, 2004", "Jan 1st"], "id": 1900} {"expression": "\\b((J(AN|UN|UL))|FEB|MAR|(A(PR|UG))|MAY|SEP|NOV|DEC|OCT)\\s*(0?[1-9]|1[0-9]|2[0-9]|3[0-1])\\s*(\\,)\\s*(200[0-9])\\b", "raw_prompt": "VALIDATE THE DATE FORMAT SHORT MONTH DAY, CCYY i.e Aug 30, 2006", "refined_prompt": "VALIDATE THE DATE FORMAT SHORT MONTH DAY, CCYY i.e Aug 30, 2006. Accepts years 2000-2009\nMatch examples:\n- \"JAN 26, 2007\"\n- \"MAR 1, 2001\"\n- \"DEC 31, 2005\"\nNon-match examples:\n- \"JANUARY 26, 2001\"\n- \"JUL 31 2005\"", "matches": ["JAN 26, 2007", "MAR 1, 2001", "DEC 31, 2005", "JAN 12, 2003", "JUN 31, 2000", "JUL 31, 2004", "OCT 31, 2002", "MAY 13, 2001", "FEB 24, 2006", "DEC 10, 2006", "SEP 10, 2006", "APR 17, 2009", "APR 26, 2006"], "non_matches": ["JANUARY 26, 2001", "JUL 31 2005", "AUGUST 01, 08", "JULY 31 2005", "AUGUST 01, 08", "MARCH 10, 2010", "date", "august 23", "January 26, 2003", "Oct 25", "23, June, 2004", "23rd of May"], "id": 1901} {"expression": "\\b((J(AN|UN|UL))|FEB|MAR|(A(PR|UG))|MAY|SEP|NOV|DEC|OCT)\\s*(0?[1-9]|1[0-9]|2[0-9]|3[0-1])\\s*(\\,)\\s*(0[0-9])\\b", "raw_prompt": "VALIDATE THE DATE FORMAT SHORT MONTH DAY, YY i.e Aug 30, 06 (2006)", "refined_prompt": "VALIDATE THE DATE FORMAT SHORT MONTH DAY, YY i.e AUG 30, 06 (2006). Accepts years 2000-2009\nMatch examples:\n- \"JAN 26, 07\"\n- \"MAR 1, 01\"\n- \"DEC 31, 05\"\nNon-match examples:\n- \"JANUARY 26, 01\"\n- \"JUL 31 05\"", "matches": ["JAN 26, 07", "MAR 1, 01", "DEC 31, 05", "JAN 12, 03", "JUN 31, 00", "JUL 31, 04", "OCT 31, 02", "MAY 13, 01", "FEB 24, 06", "DEC 10, 06", "SEP 10, 06", "APR 17, 09", "APR 26, 06"], "non_matches": ["JANUARY 26, 01", "JUL 31 05", "AUGUST 01, 08", "JULY 31 2005", "AUGUST 01, 08", "MARCH 10, 2010", "date", "august 23", "January 26, 2003", "Oct 25", "23, June, 2004", "23rd of May"], "id": 1902} {"expression": "\\s(?=([^\"]*\"[^\"]*\"[^\"]*)*$|[^\"]*$)", "raw_prompt": "Splits a string by spaces, except when the space is within a quote delimited set of characters. Usefull for splitting search field inputs.\nProps to killahbeez", "refined_prompt": "Detects spaces. Splits a string by spaces, except when the space is within a quote-delimited set of characters.\nMatch examples:\n- \"(some number of spaces)\"\n- \"(one space)\"\n- \"(two spaces)\"\nNon-match examples:\n- \"\"no matches\"\"\n- \"\"noMatches\"\"", "matches": ["(some number of spaces)", "(one space)", "(two spaces)"], "non_matches": ["\"no matches\"", "\"noMatches\"", "noMatches", "esdv", "234", "ds", "//", "44%", "$$6", "\"ffe", "+=", "dswef*"], "id": 1906} {"expression": "ICON=\"[^\"]+\"", "raw_prompt": "Remove favicon base64 data from Firefox bookmark HTML files, thereby reducing file size (useful for HTML bookmark backup and transfer).", "refined_prompt": "Detect favicon base64 data from Firefox bookmark HTML files, thereby reducing file size (useful for HTML bookmark backup and transfer).\nMatch examples:\n- \"
    Google Mail\"\n- \"ICON=\"~8G$\"\"\n- \"ICON=\"d-9ME6lcr[[:)qQ]'~WAZ~5yGH)w.jZwmIe396Ya[)+GuQr/t{S]]-[n}?NqB.E}NL.(mt=8W>*+\"\"\nNon-match examples:\n- \"
    Flickr\"\n- \"///\"", "matches": ["
    Google Mail", "ICON=\"~8G$\"", "ICON=\"d-9ME6lcr[[:)qQ]'~WAZ~5yGH)w.jZwmIe396Ya[)+GuQr/t{S]]-[n}?NqB.E}NL.(mt=8W>*+\"", "ICON=\"K%NCb/.?IC^}\\kkeAUhTgcjL!?op&LMFqECMW>|SF{QdX# hK S\"", "ICON=\"q\"", "ICON=\"-l\"", "ICON=\"[Jq.n?8H6|VN%,)5vDI|Te+@Ymib;4NM%3jO0KZqSF$\"", "ICON=\"-M4C]<\\\"", "ICON=\"IJE$bAy~|b\"", "ICON=\"@x=3VHJvN+}kySx;2,b!|RGX+Bu,C0fBY&M|6;Q[ak+;J1^R`7Wa?%9n>:\"", "ICON=\"HN+!Zkh\\Ss{la';u:O21KuX6E;!v.;pfKV!UH]}svXx:{6A tV/M2(Yh1sn'|kfL+z4(Do.`VVB^58{c:kwiU\""], "non_matches": ["
    Flickr", "///", "ICON", "ICON=\"\"", "ICON=\"\"342.\"\"", "ICON='edfr'", "ICON==\"fev\"", "icon=\"fre\"", "icon=\"987656789\"", "ICON=\"efreg32'", "ICON=---efrdcs", "ICON=....?"], "id": 1909} {"expression": "(^\\+?([1-8])?\\d(\\.\\d+)?$)|(^-90$)|(^-(([1-8])?\\d(\\.\\d+)?$))", "raw_prompt": "Latitude must<90 >=-90", "refined_prompt": "Matches numerics between -91and 90 (exclusive).\nMatch examples:\n- \"5.4\"\n- \"-0.58\"\n- \"-90\"\nNon-match examples:\n- \"-120\"\n- \"+1.4F\"", "matches": ["5.4", "-0.58", "-90", "+87", "-67.491449996440706490801988192811600862757554303908971854776873386684518", "-9.5185796683152094826299936893061694660355029389934", "+83", "-86.597562529211572613737307905105992947103177686406891", "-76.80652", "-47", "-7.2300271770582998480056257231823", "+75", "+0.3453863512674823672962343"], "non_matches": ["-120", "+1.4F", "90", "-1111111", "09876", "00000", "5%", "#3", "4567", "12/12", "34-56", "3rffw"], "id": 1912} {"expression": "^((1[01])|(\\d)):[0-5]\\d(:[0-5]\\d)?\\s?([apAP][Mm])?$", "raw_prompt": "validate time\nin hh:mm:ss\nhh:mm\nhh:mm:ss pm(am,PM,AM)\n<12h", "refined_prompt": "Matches time in formats\r\n hh:mm:ss\r\nhh:mm\r\nhh:mm:ss pm (am,PM,AM)\r\n<12h\nMatch examples:\n- \"11:23:43PM\"\n- \"3:25:35\"\n- \"1:23 am\"\nNon-match examples:\n- \"12:01:01\"\n- \"3.14pm\"", "matches": ["11:23:43PM", "3:25:35", "1:23 am", "2:38", "9:37:48", "11:59:03", "7:30", "2:32:13", "4:13:33\u202fPm", "10:32", "1:13", "1:50\u202fAM", "10:28am"], "non_matches": ["12:01:01", "3.14pm", "01:24AM", "time", "10:52pM0", "8:24:49-Pm", "11:55:22\u2004P", "02:05:39", "00:11:04\u2004pm", "2:15:58\u00a0A m", "04:18:16", "11:36 am"], "id": 1913} {"expression": "^<\\s*(td|TD)\\s*(\\w|\\W)*\\s*>(\\w|\\W)*$", "raw_prompt": "match

    in html,so any other html mark with is just do a little change to this", "refined_prompt": "Match in html\nMatch examples:\n- \"\"\n- \"", "", "", "", "", "", "", "", "", "", "", ""], "non_matches": ["", "
    ******hello kitty&NBSP; frt 543fflkjhgfdsdfghjkjhgfdfghjkhgfdfghjk987654edcvbjuytre56u<>//////---------+12343@@@< /td>", "", "
    ", "r kitty
    12343@@@", "

    43@@@

    ", "

    ", "<987>", "<->", "<>revcd", "<>", "<3e3>"], "id": 1914} {"expression": "^((([1]\\d{2})|(22[0-3])|([1-9]\\d)|(2[01]\\d)|[1-9]).(([1]\\d{2})|(2[0-4]\\d)|(25[0-5])|([1-9]\\d)|\\d).(([1]\\d{2})|(2[0-4]\\d)|(25[0-5])|([1-9]\\d)|\\d).(([1]\\d{2})|(2[0-4]\\d)|(25[0-5])|([1-9]\\d)|\\d))$", "raw_prompt": "match ip\naddress from 1.0.0.0 to 223.255.255.255", "refined_prompt": "Match ip addresses from 1.0.0.0 to 223.255.255.255\nMatch examples:\n- \"192.168.0.1\"\n- \"223.255.255.255\"\n- \"9.0.0.0\"\nNon-match examples:\n- \"0.10.2.52\"\n- \"255.255.255.255\"", "matches": ["192.168.0.1", "223.255.255.255", "9.0.0.0", "165A235h238'3", "221.202_3>250", "77K712251U200", "5\"139.16771", "221.104R251A9", "215{8)6E89", "126J250H34475", "104^253m103[99", "214h81'36)211", "220~8M224=1"], "non_matches": ["0.10.2.52", "255.255.255.255", "127.0.257.1", "lkjhgf", "1.2.3", "ip address", "56.232.774443", "0340", "#34", "123.453.2324", "0.0.0", "09876543"], "id": 1915} {"expression": "(((0[13578]|10|12)([/])(0[1-9]|[12][0-9]|3[01])([/])([1-2][0,9][0-9][0-9]))|((0[469]|11)([/])([0][1-9]|[12][0-9]|30)([/])([1-2][0,9][0-9][0-9]))|((02)([/])(0[1-9]|1[0-9]|2[0-8])([/])([1-2][0,9][0-9][0-9]))|((02)([/])(29)(\\.|-|\\/)([02468][048]00))|((02)([/])(29)([/])([13579][26]00))|((02)([/])(29)([/])([0-9][0-9][0][48]))|((02)([/])(29)([/])([0-9][0-9][2468][048]))|((02)([/])(29)([/])([0-9][0-9][13579][26])))", "raw_prompt": "This is the USA Date Format. MM/DD/YYYY with checking leaf year", "refined_prompt": "This is the USA Date Format. MM/DD/YYYY with checking leap year\nMatch examples:\n- \"05/15/2008\"\n- \"02/29/2008\"\n- \"02/29/3200\"\nNon-match examples:\n- \"05-12-2008\"\n- \"02/29/2007\"", "matches": ["05/15/2008", "02/29/2008", "02/29/3200", "10/01/1045", "10/31/1023", "05/02/1,91", "02/29.6800", "02/29/1744", "02/13/2009", "02/29/8572", "02/29/2508", "02/29/4176", "02/29/8256"], "non_matches": ["05-12-2008", "02/29/2007", "02/28 2910", "02 29/5600", "02 29 1600", "11/30-2998", "10-02/2,72", "10-02-2,72", "02.29.9156", "02:29:9600", "11071909", "02/249/2764"], "id": 1916} {"expression": "^([a-zA-Z]+[\\'\\,\\.\\-]?[a-zA-Z ]*)+[ ]([a-zA-Z]+[\\'\\,\\.\\-]?[a-zA-Z ]+)+$", "raw_prompt": "Requires a person's name including at least 2 parts. (first and last) Allows optional extra names. It allows plenty of initials as well as symbols in names. Restricts symbol usage quite a bit, but allows even names with 2 symbols. Requires last name to have at least 2 characters and cannot be an initial. Works well for filtering names on validation.", "refined_prompt": "Matches a person's name with at least 2 parts (first and last). Allows optional extra names. It allows plenty of initials as well as symbols in names. Restricts symbol usage quite a bit, but allows even names with 2 symbols. Requires last name to have at least 2 characters and cannot be an initial.\nMatch examples:\n- \"E.J. O'Malley\"\n- \"Jack O'Neil\"\n- \"Mary-Lou Elizabeth Jones\"\nNon-match examples:\n- \"Johnathan Michael S.\"\n- \"Prince\"", "matches": ["E.J. O'Malley", "Jack O'Neil", "Mary-Lou Elizabeth Jones", "John Smith", "Mr. Jones", "Bernardo the third", "Th lo", "Mrs. McMan", "wefh wejflruh", "fe eeg", "krec erfg", "refds ervh", "Thanks Be"], "non_matches": ["Johnathan Michael S.", "Prince", "Teddy Has-a..Fake-Name", "'mc wfe", "384 483", "w", "342", "name", "name", "firstLast", "porefcds", "#comment"], "id": 1921} {"expression": "((19|20)[0-9]{2})-(([1-9])|(0[1-9])|(1[0-2]))-((3[0-1])|([0-2][0-9])|([0-9]))", "raw_prompt": "Validate the year month and day.", "refined_prompt": "Matches the year month and day in format (YYYY-MM-DD).\nMatch examples:\n- \"2008-12-15\"\n- \"1960-05-16\"\n- \"2091-1-7\"\nNon-match examples:\n- \"1556/9/8\"\n- \"year\"", "matches": ["2008-12-15", "1960-05-16", "2091-1-7", "1965-01-30", "1901-6-2", "1961-9-25", "2011-10-8", "2042-1-5", "1980-02-8", "1933-4-3", "1931-11-7", "1974-6-0", "1955-09-05"], "non_matches": ["1556/9/8", "year", "2074/8-30", "2057 10-3", "1935-0323", "2084230", "1905 5 27", "3709-09", "1968-30", "redsc", "12:12", "AM"], "id": 1924} {"expression": "^[:*:]", "raw_prompt": "This checks whether the string is equals to \"*\" i.e., contains only \"*(Asterisk)\" or begins with Asterisk.", "refined_prompt": "This checks whether the string is equals to \"*\" i.e., contains only \"*(Asterisk)\" or begins with Asterisk.\nMatch examples:\n- \"*\"\nNon-match examples:\n- \"a*\"\n- \"asdf\"", "matches": ["*"], "non_matches": ["a*", "asdf", "kjhbgvc", "asteric", "wefcd", "1234", "$", "#", "@", "!", "-", "+"], "id": 1925} {"expression": "^[0-9]+\\.?[0-9]?[0-9]?[0,5]?$", "raw_prompt": "The time should be fractional number and divisible by 0.005", "refined_prompt": "Number divisible by 0.005\nMatch examples:\n- \"1.005\"\n- \"60\"\n- \"0.08\"\nNon-match examples:\n- \"1.009\"\n- \"-8\"", "matches": ["1.005", "60", "0.08", "33", "234533", "0.10", "8", "093", "231", "12345678", "09876534222222", "1,", "64634"], "non_matches": ["1.009", "-8", ".005", "-1", "098765456789ikmnbvc", "fraction", "#3", "4%", "12/12", "3.1415", "00000003333348.0-", ".0"], "id": 1927} {"expression": "^\\d+\\/?\\d*$", "raw_prompt": "This simple expression is used to validate fractions or UK odds.\nIt will match integers, allowing 10/1 to be entered as 10, and fractions.\nIt will not match negative numbers or fractions, spaces or any alphabetical characters.", "refined_prompt": "Used to validate fractions or UK odds.\r\nIt will match integers, allowing 10/1 to be entered as 10, and fractions.\r\nIt will not match negative numbers or fractions, spaces or any alphabetical characters.\nMatch examples:\n- \"10\"\n- \"2/3\"\n- \"100/30\"\nNon-match examples:\n- \"-10\"\n- \"-2/3\"", "matches": ["10", "2/3", "100/30", "8212974770388710493571330448503540033628930518484666081223057229", "8678978281274030324920378", "876", "013", "237878", "67237632", "9", "44444", "12/12", "3/8"], "non_matches": ["-10", "-2/3", "text", "10 / 1", "42/7eok", "-9", "number", "fraction", "twelve/twelve", "3.0", "9993.", "22220.000"], "id": 1931} {"expression": "^(\\d{1,4}?[.]{0,1}?\\d{0,3}?)$", "raw_prompt": "This expression validate the add of numbers with or without decimal", "refined_prompt": "Matches numbers with or without decimal\nMatch examples:\n- \"123\"\n- \"123.1\"\n- \"100.\"\nNon-match examples:\n- \"12345.1234\"\n- \".012\"", "matches": ["123", "123.1", "100.", "0.2", "2341.123", "13060", "336", "663", "7432", "553.3", "067", "22", "7.54"], "non_matches": ["12345.1234", ".012", ".2893", "3434.00000", ".0", "-342", "+9876", "2423423.", "23.0032", "#3", "5%", "12/12"], "id": 1933} {"expression": "^([\\u20AC]?[1-9]\\d*\\.\\d{3}(?:,\\d{2})?|[\\u20AC]?[1-9]\\d*(?:,\\d{2})?|[\\u20AC]?[1-9]\\d*)$", "raw_prompt": "Optional Amount, with optional thousands seperator (using the point) and optional decimal comma. If decimal comma is in string, then 2 trailing digits are required. Also checks for the optional euro sign", "refined_prompt": "Matches amounts of money with an optional decimal point. If the decimal comma is in string, then 2 trailing digits are required. Also, checks for the optional euro sign.\nMatch examples:\n- \"1\"\n- \"1,00\"\n- \"1.000,00\"\nNon-match examples:\n- \"1a\"\n- \".00,00\"", "matches": ["1", "1,00", "1.000,00", "\u20ac1", "339807682046239015456626518163951619966358191099829441817856", "\u20ac33084577111055998450840731337746980155538582722558334921161762731208435427527533259357800551181084005,39", "\u20ac73.344", "\u20ac204206394492078854068542,05", "9564012388762870725219575206910547", "\u20ac4610,45", "36565740277351769916606018574077579915171665781774889580", "\u20ac79386532622532235870547500131604581872272", "7014506779398"], "non_matches": ["1a", ".00,00", "1,0", "$1", "12/12", "24.34", "23232332.3232", "-1", "+8765", "7.", "00000", "money"], "id": 1941} {"expression": "\\b[P|p]?(OST|ost)?\\.?\\s*[O|o|0]?(ffice|FFICE)?\\.?\\s*[B|b][O|o|0]?[X|x]?\\.?\\s+[#]?(\\d+)\\b", "raw_prompt": "Modified version of Chris Myers' regexp for po boxes. This one won't match the word \"box\" in the address. Only matches if there is a number following the po box. Also accepts a # in front of the number and other spelling variations.", "refined_prompt": "Matches po boxes. This one won't match the word \"box\" in the address. Only matches if there is a number following the po box. Also accepts a # in front of the number and other spelling variations.\nMatch examples:\n- \"po box 123\"\n- \"p.o.b. #123\"\n- \"box 123\"\nNon-match examples:\n- \"123 box canyon rd\"\n- \"po box *\"", "matches": ["po box 123", "p.o.b. #123", "box 123", "box 34", "po box 34984934", "p.o.b. #22", "p.o.b. #879876543456789", "box 347384", "box 123", "box 098765432", "po box 6", "po box 77777", "po box 124532123421"], "non_matches": ["123 box canyon rd", "po box *", "pob reoiewjcdsokl", "p.o.b. #87uyt", "po box ##43834", "boxbox 3898", "box po 987654", "389237889723", "number", "98767898 po box", "87565 box", "39823 p.o.b."], "id": 1943} {"expression": "http[s]?://[a-zA-Z0-9.-/]+", "raw_prompt": "Checks to make sure that entry starts with http:// or https:// and that contents are limited to alphas . - /", "refined_prompt": "Matches entries that start with http:// or https:// and the contents are limited to alphas\nMatch examples:\n- \"http://www.google.com\"\n- \"https://www.google.com\"\n- \"http://localhost/\"\nNon-match examples:\n- \"www.google.com\"\n- \"website\"", "matches": ["http://www.google.com", "https://www.google.com", "http://localhost/", "https://0evOuIJuIf4tK.r6ty5smP2AleyI5E380K34v679iU6QlA", "https://6BigFbaiZcfA5Bovlo5nWx8", "http://O1woe2u.xsroK/f2s6tD8sggK7KVv8d9I7", "https://chcYCj5nislUpe0GTyXn", "http://KjgYqEuhTQUl9qMP7fbtXST35wo.5qagHh7jtVDCfiocIOTtRyd9S9gtO6QigxHzgvq6o", "http://mgRx6g74eLPV6Y9DbFZUv", "https://X7KBR", "https://GwjanOZWgfuvIi0a0mb.q0", "http://Gv3wR.NH8lay8DBFw3MGwPKP", "http://J0YKuQPvwb1IPvqQfg/"], "non_matches": ["www.google.com", "website", "www", "http", "http:/ewf.4444", "https", "wwwwww", "ftp", "@gmail.com", "dfghjk", "jfhsdkjjh7", "?:///"], "id": 1944} {"expression": "^[-|\\+]?[0-9]{1,3}(\\,[0-9]{3})*$|^[-|\\+]?[0-9]+$", "raw_prompt": "Integer with or without commas. Signed or unsigned.", "refined_prompt": "Integer with or without commas. Signed or unsigned.\nMatch examples:\n- \"1,234\"\n- \"1234\"\n- \"-1,234\"\nNon-match examples:\n- \"12,34\"\n- \"1.234\"", "matches": ["1,234", "1234", "-1,234", "-1234", "5,284,672,996,084,725,111,195,488,002,311,154,146,366,315,128,991,910,862,981", "+00993825521146278389368453995955317436058624161441235349404816150056415287648833572740653639227948366", "4,422,667,944,007,030,668", "-11910129132992855685723880445984210813189987741487", "69,323,930,057,037,633,620,458,298,023,423,992,658,515,620,246,895,518,759,537", "1742622085320083786852418024082354099699828530173564516729499509784593164924943697022", "4,174,465,507,445,981,780,363,603,922,684,492,009,745,206,695,595,843,515,805,056,746,828,867", "+2,265,515,659,172,150,913,433,061,506,903,293,337,684,439,870,025,234,247,616,568,359,077,316,580,249,680,489,996,149,120,951,884,034,361,554,980,755,574,749,349,435,533,301,233,541,711,494,888,276,348,544,174,148,558,349,540", "25876462041417115483574178278923645437430730250097693102058642109182878068881533322914802787"], "non_matches": ["12,34", "1.234", "abc", "##", "+", "-", ".0", "(876)", "ijouhygtf", "32ewds", "g442", "245gerwf"], "id": 1950} {"expression": "^([0-9]{1}[\\d]{0,2}(\\,[\\d]{3})*(\\,[\\d]{0,2})?|[0-9]{1}[\\d]{0,}(\\,[\\d]{0,2})?|0(\\,[\\d]{0,2})?|(\\,[\\d]{1,2})?)$", "raw_prompt": "Match any number , no characters, no empty sets, and accept zero.", "refined_prompt": "Match any number, no characters, no empty sets, and accept zero.\nMatch examples:\n- \"0001\"\n- \"12345\"\n- \"40788018763604681545698910422212,34\"\nNon-match examples:\n- \"abcd\"\n- \"012a\"", "matches": ["0001", "12345", "40788018763604681545698910422212,34", "42689385200849809755330582721781144829205057324808464028908786274273318912310097677616558,70", ",3", "1,216,432,875,905,931,623,929,895,798,254,709,838,662,247,206,516,505,574,696,717,557,656,303,882,805,757,224,244,831,166,562,850,598,763,101,655,292,582,154,709,355,719,515,070,34", ",38", "8,968,414,863,829,387,382,471,702,187,988,301,942,492,870,806,960,954,112,512,899,630,005,476,770,846,414,117,887,634,485,631,248,825,984,670,921,905,328,917,486,402,989,044,306,810,678,714,146,813,356,358,080,950,687,035,149,000,184,091,427,151,200,710,201,944,148,886,", "0,6", "34492196568546429699783700098399274057759926155063955616357586", ",47", "0,", "36,277,102,064,107,505,723,144,954,604,279,170,828,096,209,664,401,591,137,835,190,315,452,381,609,617,779,785,702,386,673,771,786,709,251,912,374,594,651,308,664,996,087,755,570,640,212,276,396,937,625,392,675,084,357,751,690,225,425,536,246,577,154,613,001,100,112,845,821,856,858,884,179,813,521,083,945,617,085,305,645,131,464,354,120,481,206,862,083,526,453"], "non_matches": ["abcd", "012a", "2345tgr", "qwefd,", ",", ".0", "frer4", "24q5reg", "gre455", "4254ger", "544qsrg", "ewrg4"], "id": 1952} {"expression": "^(0\\.|([1-9]([0-9]+)?)\\.){3}(0|([1-9]([0-9]+)?)){1}$", "raw_prompt": "A simple regex to check a version information string of the style 1.0.0.0", "refined_prompt": "A simple regex to check a version information string of the style 1.0.0.0\nMatch examples:\n- \"1.2.3.4\"\n- \"0.0.2.48504995526161112907723074823733001360950519953024188524490023263126367337734975355\"\n- \"7.0.0.0\"\nNon-match examples:\n- \"1.2.3\"\n- \"01.02.03.04\"", "matches": ["1.2.3.4", "0.0.2.48504995526161112907723074823733001360950519953024188524490023263126367337734975355", "7.0.0.0", "995924130561360496409174388082680333348602416467836347516621830555269281187.2.9877577759646252897.495760733932004220082873", "9.179844495258302487837838329116084107717508700209186543832911986755634680834.1.75430881527114332685881980603299534395097469403509625456909876331457104", "7.6.6.4", "0.5.9.0", "0.4.0.0", "0.0.0.0", "0.5.0.0", "9.0.29760475541206794.143293204651548567230402531615022910662571834234626316192222832522929977270673151170272416352631", "2.7.7552197900952889753215401484317738423240913655378.1", "1.288825352608777973492105303713854541535998647957282682556885422638815395962209382975693286590299361.8.12662037900806967035976172763024819"], "non_matches": ["1.2.3", "01.02.03.04", "1.2.3.4Beta", "IP", "767%", "$45678", "#3", "#..3", "4321fre", "3221", "+0987", "-9876"], "id": 1954} {"expression": "^((\\$?\\-?)|(\\-?\\$?))([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)?(\\.[0-9]*)?$", "raw_prompt": "Matches any number which includes the US currency symbol ($), a negative sign (-), comma separators, and a decimal. It matches an unlimited number of decimal places. It does NOT reject an empty string passed to it. Credit goes to Al Kahler for posting the original expression from http://regxlib.com/REDetails.aspx?regexp_id=70 along with a fix for the decimal place.", "refined_prompt": "Matches any number that includes the US currency symbol ($), a negative sign (-), comma separators, and a decimal. It matches an unlimited number of decimal places. It does NOT reject an empty string passed to it.\nMatch examples:\n- \"$.01\"\n- \"1,234.003\"\n- \"834223.1\"\nNon-match examples:\n- \".0,001\"\n- \"1,1.01\"", "matches": ["$.01", "1,234.003", "834223.1", "$0.01", "-$1.50", "$-50.123", "-$", "-0273029570338466083286457372911786177840950583862934245824010450870644223390123245579908924648197", "-$.3067063708136872591910189758727404130332985037814788725757472547497565776311194954917340568420", ".1058811057045379312110561820513963569300635", "-.76759900764831304306812620915030773068324572487491765701323774747463097534525803524921112887", "7,302,955,223,790,475,685,735,996,849,256,475,841,878,936,591,138,852,716,067,736,231,199,391,752,461,993,664,629,935,490,839,000,641,648,155,013,574,550,888,320,458,192,885,360,257,622,616,628,945,010,272,325,547,371,650,069,938,891,936,203,116,185,631,223,055,525,021,701,419,062,059,151,318,094,805,431,020,717,491,304,805,540,282,245,993,584,217,288,856,078,181,417,965,378,343,516,916.01349963332043700515008401", "-0,038,711,341,463,101,097,008,278,992,529,305,562,998,437,304,958,389,551,410,980,657,269,263,800,628,696,566,548,260,964,048,379,166,131,933,314,473,728,274,583,088,051,732,472,045,723,266,738,984,860,670,684,565,180,280,873,448,172,351,151,844,828,834,282,654,205,203,751,810,911,691,359,335,804,210,954,779,497,063,483,384,039,668,030,490,550,116,800,932,556,122,309,515.10592"], "non_matches": [".0,001", "1,1.01", "1E", "5$", "+98765", "&^%", "uytfy7", "money", "(*&", "ten", "$$$$", "&^%^&*("], "id": 1956} {"expression": "^[A-Z]\\d{2}(\\.\\d){0,1}$", "raw_prompt": "This expression matches ICD-10 code", "refined_prompt": "Matches International Classification of Diseases (ICD-10) codes\nMatch examples:\n- \"Z99.9\"\n- \"Z99\"\n- \"G82\"\nNon-match examples:\n- \"Z999\"\n- \"Z99.\"", "matches": ["Z99.9", "Z99", "G82", "D05", "J05", "Y16", "M08.0", "V52.4", "H67.3", "F44", "I01.4", "I29", "Z97.0"], "non_matches": ["Z999", "Z99.", "99", "wffe", "0.0", "-12", "098765", "z37f", "0987eh", "hefj", "8328823", "82"], "id": 1958} {"expression": "(((0*[1-9]|[12][0-9]|3[01])([-./])(0*[13578]|10|12)([-./])(\\d{4}))|((0*[1-9]|[12][0-9]|30)([-./])(0*[469]|11)([-./])(\\d{4}))|((0*[1-9]|1[0-9]|2[0-8])([-./])(02|2)([-./])(\\d{4}))|((29)(\\.|-|\\/)(02|2)([-./])([02468][048]00))|((29)([-./])(02|2)([-./])([13579][26]00))|((29)([-./])(02|2)([-./])([0-9][0-9][0][48]))|((29)([-./])(02|2)([-./])([0-9][0-9][2468][048]))|((29)([-./])(02|2)([-./])([0-9][0-9][13579][26])))", "raw_prompt": "Date in DD/MM/YYYY or D/M/YYYY format.", "refined_prompt": "Date in DD/MM/YYYY or D/M/YYYY format.\nMatch examples:\n- \"01/06/2008\"\n- \"1/1/2008\"\n- \"29.2/9200\"\nNon-match examples:\n- \"32/13/2008\"\n- \"00/00/2005\"", "matches": ["01/06/2008", "1/1/2008", "29.2/9200", "29/02.9960", "29/02.5224", "29.2/6572", "29-02.3600", "29-2/1200", "26-11/8662", "29-2-4808", "10-02/9483", "29/02.5004", "29-2-2808"], "non_matches": ["32/13/2008", "00/00/2005", "date", "4567890", "29/028800", "2902.6004", "29027596", "229.032-34043", "#4", "5%", "2/2/2", "12/12"], "id": 1960} {"expression": "(?!\\b(xx|yy)\\b)\\b[\\w]+\\b", "raw_prompt": "Matches any word except these from alternation (xx|yy|...). Works in JavaScript", "refined_prompt": "Matches any word except with xx and yy\nMatch examples:\n- \"x\"\n- \"xxx\"\n- \"xxyy\"\nNon-match examples:\n- \"xx\"\n- \"yy\"", "matches": ["x", "xxx", "xxyy", "yyx", "cV7CqH8YbQzVmGtOUMAUCcvoo4L2a9LDa2s7gDpYe7R0", "m2u_PUgF0q6e", "82PMz44ru39p9cnb9SnQw5HG5bZ35Gt2ri9TpPi3HDC8ZNmkWthvDWK0HI4_ov2FEHzQPu41vU7lnFAEpYE1O3", "BkAO9UbVNf4z9PpAW3WrqWSlBOVXzgBgurHEtmbl79", "qn6RhW1N7ZzYmct1miCsSNY_XOnIZPK3dIdqzU", "sciLUelHqtk1Fe7k4SYjEZu0iSBsaIMrri_IPrb0m6YwHNzCpnpte7zud2_6D", "pbGk6Rgwlj0ZzPcoGaGcvCjZvs5tcJ3kHDfk3FSB9", "l1hi5XLa", "atRsmHuwtEJ1gFVePGg38O_"], "non_matches": ["xx", "yy", "--", "#", "@", "!", "()", "&&&", "???", "[]", "./", "''"], "id": 1962} {"expression": "^100$|^100.00$|^\\d{0,2}(\\.\\d{1,2})? *%?$", "raw_prompt": "Allows percent values from 0 to 100 without the % sign. Can be used with up to 2 decimal places or without any. Also works in ASP.NET regular expression validator control.", "refined_prompt": "Allows percent values from 0 to 100 without the % sign. Can be used with up to 2 decimal places or without any.\nMatch examples:\n- \"0\"\n- \"0.00\"\n- \"50.25\"\nNon-match examples:\n- \"100.01\"\n- \"-1\"", "matches": ["0", "0.00", "50.25", "100", "100.00", "100700", "14", "5.43", "55", "98", "33.3", "78", "12"], "non_matches": ["100.01", "-1", "5.005", "%12", "#3", "12/12", "(32)", "number", "823", "0000", "5535", "0005"], "id": 1964} {"expression": "^[1-9]{1}$|^[1-9]{1}[0-9]{1}$|^[1-3]{1}[0-6]{1}[0-5]{1}$|^365$", "raw_prompt": "This expression allows you to select 1-365 as a numeric value for the days of the year. Must be between 1 and 365 and must be numeric", "refined_prompt": "This expression allows you to select 1-365 as a numeric value for the days of the year. Must be between 1 and 365 and must be numeric\nMatch examples:\n- \"25\"\n- \"363\"\n- \"110\"\nNon-match examples:\n- \"2.5\"\n- \"0\"", "matches": ["25", "363", "110", "1", "2", "3", "12", "17", "34", "90", "45", "86", "200"], "non_matches": ["2.5", "0", "400", "-1", "2345678", "5432", "4000", "503", "4378", "#", "4321", "3456"], "id": 1972} {"expression": "^(\\d{3}-\\d{2}-\\d{4})|(\\d{3}\\d{2}\\d{4})$", "raw_prompt": "This will accept SSN in the form of 123-45-6789 OR 123456789.", "refined_prompt": "This will accept SSN in the form of 123-45-6789 OR 123456789.\nMatch examples:\n- \"123-45-6789\"\n- \"123456789\"\n- \"456-63-6666\"\nNon-match examples:\n- \"123-45-459a\"\n- \"222-2-2222\"", "matches": ["123-45-6789", "123456789", "456-63-6666", "923083942", "085-11-9100", "816-97-6034", "387611789", "551-19-2895", "533-79-9002", "360423595", "501-58-9755", "331241871", "766-53-6084"], "non_matches": ["123-45-459a", "222-2-2222", "222-222222", "34564321", "SSN", "#3", "33223", "123456780-90312", "22-214", "33232", "######", "number"], "id": 1974} {"expression": "^(\\d?)*(\\.\\d{1}|\\.\\d{2})?$", "raw_prompt": "Expression to validate currency formatted numbers without the currency symbol", "refined_prompt": "Expression to validate currency formatted numbers without the currency symbol\nMatch examples:\n- \"153\"\n- \"33.48\"\n- \"786.1\"\nNon-match examples:\n- \"-123\"\n- \"8524.258\"", "matches": ["153", "33.48", "786.1", "1567863483.33", "06", "7975651.66", "73942979684534684690883561.9", "488427258694004.49", "2452", "3600.79", "77863.52", "6792110598881568231296106.97", "0971771572"], "non_matches": ["-123", "8524.258", "eo45", "number", "2323w", "89238nfdd", "#3", "734872.s", "-237", "3as784fs", "42jhfe", "jh####dsjh"], "id": 1977} {"expression": "(\\d{3}\\-\\d{2}\\-\\d{4})", "raw_prompt": "pattern match for U.S. social security number", "refined_prompt": "pattern match for U.S. social security number\nMatch examples:\n- \"111-22-3333\"\n- \"667-98-7198\"\n- \"331-67-7759\"\nNon-match examples:\n- \"11-222-3333\"\n- \"1111-22-333\"", "matches": ["111-22-3333", "667-98-7198", "331-67-7759", "836-90-2480", "516-26-0805", "228-14-4300", "629-76-7319", "595-42-2584", "943-54-5478", "550-45-1481", "052-74-9223", "610-37-5051", "082-67-0567"], "non_matches": ["11-222-3333", "1111-22-333", "123456", "1212-3284", "234", "#234", "12/12", "0987654567898765345678", "74.23", "number", "00000", "43677634"], "id": 1978} {"expression": "^([a-zA-Z]{5})([a-zA-Z0-9-]{3,12})", "raw_prompt": "Validate: First five characters are letters; characters six-17 are letters, numbers, or hyphen; string length is eight characters minimum, 17 characters maximum", "refined_prompt": "Validate: First five characters are letters; characters six-17 are letters, numbers, or hyphens; string length is eight characters minimum, 17 characters maximum\nMatch examples:\n- \"ABCDE123abc-123AB\"\n- \"pFNulUVyRFPTu\"\n- \"MuRqTOCiErV9\"\nNon-match examples:\n- \"1BCDE123abc-123AB -BCDE123abc-123AB ABCDE6789012345678\"\n- \"3434rfes\"", "matches": ["ABCDE123abc-123AB", "pFNulUVyRFPTu", "MuRqTOCiErV9", "StqMcwgMambwy", "BziWc3EP94L4aA", "aucVZkOFyMFeI", "OzXSB0TO5MPDJ0WCr", "iLqZO-LqnRwtWsTR", "gJAkd736b", "CjCuwrYSf8x", "ZCNqIftYFfYe8Qe", "QtrpbMd7WeJ", "LxzbzIzo78G"], "non_matches": ["1BCDE123abc-123AB -BCDE123abc-123AB ABCDE6789012345678", "3434rfes", "/edcsfewfred3443efwds/", "434", "number", "uehfgdc", "KLKJHGF", "t4refdsc", "5%", "vvf", "###", "----"], "id": 1986} {"expression": "^([^S]|S[^E]|SE[^P]).*", "raw_prompt": "Matches everything except lines that begin with SEP.\nNow I just need to figure out how to exclude a string that appears in the middle of a line.", "refined_prompt": "Matches everything except lines that begin with SEP.\nMatch examples:\n- \"SEk001\"\n- \"TAK002\"\n- \"SE7ge+f9FQ7x ]]9ZEl]Pg\"@}j DTw%oyyAz\"\nNon-match examples:\n- \"SEP001\"\n- \"SEP002\"", "matches": ["SEk001", "TAK002", "SE7ge+f9FQ7x ]]9ZEl]Pg\"@}j DTw%oyyAz", "`x>2rC.?XLCh_f0F/Gmks9f?43'TY7yBM+X\"%+K%", "Sgk5: +1.OxaU3Lu0nPEG}a[_4V7I\"m}?Ti= Pm78zQn20% r>Qa5Mh4=_KO", "1c<9iVc3cv'dMnh6(US<:xV(:]Qk-.l^>wKs6SL p-Bq@1aJ@~5zX=r^2~x4$@f2~ilh6Qaq~?goT1Y}s", "SElB=", "SEHgqx+YX\"/g_Vgr[$e7dZT=G9c5XDAFdj", "S]hg0.duW^rKLOK$A1S", "SE~-*2$2Me8~3l,K_!;o<6", "SPY!a}", "SE&D]d3_VQiuL*Vh\\|!uPcQTvwFTek", "qd.]*>", "raw_prompt": "This Regex Will Remove All Html Tags And Return Simple Plain Text .\nFor Example In C#.NET :\nRegex.Replace(Html, \"<[^>]*>\", string.Empty);", "refined_prompt": "Captures html tags (< >)\nMatch examples:\n- \"

    Hello Ali Delshad

    \"\n- \"<^*Copm9W4.08uAL6f{mmVLpyk&^~_SCFpg-\\V#myG\\4Bj77>\"\n- \"\"\nNon-match examples:\n- \"Hello Ali Delshad\"\n- \"<\"", "matches": ["

    Hello Ali Delshad

    ", "<^*Copm9W4.08uAL6f{mmVLpyk&^~_SCFpg-\\V#myG\\4Bj77>", "", "", "<<,ZT0u", "", "", "< t2wyW,0#\\Qhf9%NhQj]PPiXn%i0zU7|gi=CK\\yhGgV>", "", "<+PxNy.]6,rln($I;1vyNawrzmd(-c%'T$Zn!;)( u!)@P+ajv<'t>", "<[\\=&\\l+|h.t", "<}CJEDRfr nm0=tB\\*R1Q (Exa<>", "<6Od#AKt+8@@Q>"], "non_matches": ["Hello Ali Delshad", "<", "", "234fre?", "fewederer", ">krceds>", ">ceds>", "rkvced...", ",,<,"], "id": 2040} {"expression": "[\\u0600-\\u06FF]", "raw_prompt": "This Regex chceck an input string for persian unicode character\nNote that it not work in javascript\nFor Example In C#.NET:\nRegex.IsMatch(Text, \"[\\u0600-\\u06FF]\");", "refined_prompt": "checks strings for Persian Unicode character\nMatch examples:\n- \"\u0633\u0644\u0627\u0645\"\n- \"hello \u0639\u0644\u06cc\"\n- \"Hi 2 \u0633\u0644\u0627\u0645\"\nNon-match examples:\n- \"Hello\"\n- \"Ali\"", "matches": ["\u0633\u0644\u0627\u0645", "hello \u0639\u0644\u06cc", "Hi 2 \u0633\u0644\u0627\u0645", "\u06c0", "\u060f", "\u06b9", "\u062e", "\u06ab", "\u0620", "\u066e", "\u06f4", "\u068a", "\u06ac"], "non_matches": ["Hello", "Ali", "123", "#", "@", "!", "()", "^", "<>", "//", "{}", "&"], "id": 2041} {"expression": "^(?=.*\\d)(?=.*[a-z])([a-z0-9]{8,25})$", "raw_prompt": "Password matching expression. Password must be at least 8 characters,no more then 25 characters, must include at least 1 lower case letter and 1 numeric digit. Upper case, space and punctuation marks are not allowed.", "refined_prompt": "Password matching expression. Password must be at least 8 characters,no more then 25 characters, must include at least 1 lower case letter and 1 numeric digit. Upper case, space and punctuation marks are not allowed.\nMatch examples:\n- \"aaaaaaa1\"\n- \"abcdefghijklmnoprqstu1234\"\n- \"1234567a\"\nNon-match examples:\n- \"aaaaaaA1\"\n- \"0123456789kB\"", "matches": ["aaaaaaa1", "abcdefghijklmnoprqstu1234", "1234567a", "kaon4bdb8u04pp3", "o5hc1c79fg4vsmcdvx9mab", "d6rixrp1u52", "mpbzuhpfe3zuvocwyr8z9f5c", "6vu7ju9myqypoai9eqsyomae9", "6bagbgfblkv912vsa1xp32d0", "adeg4763w557eo0ctn", "kwtd710f", "cmii3neikqw", "h88zwgxs"], "non_matches": ["aaaaaaA1", "0123456789kB", "1234567890abcde123456 A%.", "32rfe34", "kjhgfcvbnm", "password", "PASSWORD", "rfesw34rdd,", "cseoi37;;;", "32!f'ef4", "4rfe87&", "#3"], "id": 2049} {"expression": "^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))([0-9]{2})?([0-9]{2})?([0-9]{2})?([0-9]{2})?([0-9]{2})?$", "raw_prompt": "Matches standard 0- to 10-figure (non-tetrad) Ordnance Survey of Great Britain (OSGB) Grid References", "refined_prompt": "\nMatch examples:\n- \"SH\"\n- \"OF1234567890\"\n- \"NP1234\"\nNon-match examples:\n- \"SH123\"\n- \"SH12D\"", "matches": ["SH", "OF1234567890", "NP1234"], "non_matches": ["SH123", "SH12D", "NI1234", "1234"], "id": 2069} {"expression": "(((0[123456789]|10|11|12)(([1][9][0-9][0-9])|([2][0-9][0-9][0-9]))))", "raw_prompt": "Validates dates that are in month/year (MMYYYY) format without slashes, periods, dashes, or spaces. No special characters or letters allowed. MM values allowed are 01 thru 12. YYYY values allowed are 1900 - 2999.\nThis is an adaptation of Felipe Albacete's MM/YYYY regular expression.", "refined_prompt": "Validate dates that are in month/year (MMYYYY) format without slashes, periods, dashes, or spaces. No special characters or letters are allowed. MM values allowed are 01 through 12. YYYY values allowed are 1900 - 2999.\nMatch examples:\n- \"052000\"\n- \"122008\"\n- \"101972\"\nNon-match examples:\n- \"12/2003\"\n- \"131997\"", "matches": ["052000", "122008", "101972", "041903", "111970", "062175", "112644", "112725", "101907", "101938", "052708", "122167", "052818"], "non_matches": ["12/2003", "131997", "51988", "111899", "04.2004", "10-1965", "8765", "4387654678", "929", "0000", "12/37723", "46737"], "id": 2083} {"expression": "^\\#?[A-Fa-f0-9]{3}([A-Fa-f0-9]{3})?$", "raw_prompt": "Matches valid 3 or 6 character hex codes used for HTML or CSS.", "refined_prompt": "Matches valid 3 or 6 character hex codes used for HTML or CSS.\nMatch examples:\n- \"fff\"\n- \"#990000\"\n- \"#cc3366\"\nNon-match examples:\n- \"#5555\"\n- \"#ZJK000\"", "matches": ["fff", "#990000", "#cc3366", "#AAAAAA", "F6a", "#e73", "#ae5A95", "49A14d", "#624", "#1fa", "B2F", "d2C647", "fbC"], "non_matches": ["#5555", "#ZJK000", "CDCDCDCD", "4323", "2243", "thhjvefhjb", "2", "#2", "#0--3e0", "324234f", "8765rfgh", "7373"], "id": 2086} {"expression": "^(?=.{6,})(?=.*[0-9].*)(?=.*[a-z].*).*$", "raw_prompt": "Password of 6 symbols. Must containt at leats one non-captial letter and at least digit digit", "refined_prompt": "Matches password of 6 symbols. Must contain at least one non-capital letter and at least digit digit\nMatch examples:\n- \"abc123\"\n- \"()()a1\"\n- \"_ABCDa1\"\nNon-match examples:\n- \"abcdef\"\n- \"ab_12\"", "matches": ["abc123", "()()a1", "_ABCDa1", "ooC`yid uJy,e-bhy@`UTz8", "p4Ee)oy5|P*xA)i'cb:VbV\"E0p62|d,0Ce;%;2*vJ04't3daGd#Ej[*m", "@*BArfIfbpk%7tap<0V3zG8s@!I^X]y4=x", "Ap,'OZwL~K_l8'K:", "@iN'Es{Pe:s-b<}VH?/Ww)Q(f(\\$fz7J;K4_6NdF", "wwwjng{+\\m2:$aV6hF94311e#j%4JvPD6=K/vP4+$(.Tr=*dK+TvSne;OVoS)^DSJ>Pe:s-b<}VH?/Ww)Q(f(\\$fz7J;K4_6NdF", "sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssftpsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss:HHx,;GtDW>\"qVvd~ylk$$y", "mailto:HECEAs^v'qFE", "wwwn0SwO4(xoXf=7,$rl8J'[lR[t%c", "mailto:C`!@rywnCVn]k\"Jwy_T@-I_F*%?*{buJ*gaHa>+h$kj1s\\G\"xV]N[JyMa9$b:IIi@]`H)P=DA8)?", "news:#gSz^XDAkTTV6$]tFf,b+^3]U%mIT-Th]MXr", "webcal:ZV@^QH^4Lu7(~sytDy:i1g\"]evqswp.V$m|;$t", "mailto:QD(&Je.stxv':E3J~G>VVo>kzM]|A0$d$0jba=T5X%XGVv/ 8Pr$8W;]yE<6\"UJg)0d)^)H~plt[f%6Q0KT[s\\!V4+?tVo", "=q[Moj908KzE#0~/\\8K0$n.YO@Thrp8-ms@>EB;roO|p!.VGdhmb%pXIZ#01QE!8-KxGeQqB*pb$3vi/by7~~zg.$KG3E14.GBP?kU51%G#N1%!#YF,", ">;FHzj_|3f}VC_t.\\lZsA4w^i'oI2)k`DfVoBK`2`!G>YN:F;{)H2m-OeDs}j0r#|;0=5cUshY3[G[x)+`>But*Z%`s-=YaleqR.nQ;$aF|\\w.6f\\xRXHtH1:wo,.CXL", "m7KQj'L/23Z?FsK8)~a[}\"qP(Q#`hW~y>m9&jicqp;x/\"z[mhu![Z#?w~,}FU$s@Ra", "gT@FMg[UgLg!b%qK?N3$8$k$.4[x(D~q#d`@6(C>owE)WB8^RsswG[rt:C~pF6:_y(r=GJdcR", "B6Lw{H2.24SAuRoriOdN.J\"Jkx iujzV5X+8v4h0_", "(vev)"], "id": 2136} {"expression": "^\\d*[0-9](|.\\d*[0-9]|)*$", "raw_prompt": "Decimal like 123.23\n123.1234\n12345.456", "refined_prompt": "Matches numbers and they can have values after a decimal point\nMatch examples:\n- \"123.23\"\n- \"123.1234\"\n- \"1234\"\nNon-match examples:\n- \"123a.12\"\n- \"123.34d\"", "matches": ["123.23", "123.1234", "1234", "1234.456", "1243.324455", "34242", "34253422.4231", "834884.23334434334", "1230948.23343", "1", "43932.3223", "222222.222", "234321.4354342345"], "non_matches": ["123a.12", "123.34d", "abc", "-1", "+1", ".0", "number", "098765467898765r", "....34532..43", "433.43/", "000-.00000", "#11.2"], "id": 2143} {"expression": "^[a-zA-Z0-9]+(([_][a-zA-Z0-9])?[a-zA-Z0-9]*)*$", "raw_prompt": "This Regular Expression. I have used with ASP.NET Regular expression for validating that input string should not have special characters(e.g. $,#,@ etc.]", "refined_prompt": "Regular expression for validating that input string should not have special characters(e.g. $,#,@ etc.]\nMatch examples:\n- \"Employee\"\n- \"Employee_Test\"\n- \"Employee_Dept\"\nNon-match examples:\n- \"Employee.Test\"\n- \"Employee$Test\"", "matches": ["Employee", "Employee_Test", "Employee_Dept", "imMnMkYWqNYteAX3jcMVS9c1wehWWDCKK4XIUBWQRIjGV5jymN5Fy3SuD4cTFTr7CcRFRpYFYqQI8cOkazKeGReMGv9zUIy84mXfbi8jgopUgVD3dafFK5kNNKrdu6AizClSFrtjtdG78YwJan9ncHylM7a2drv5MBjAeNkUdaRDZcs0zpybZf2HGPXYYBzaP6HvrKlzPCtTgCdzg3cxIwIoYvoAALlc3rVc9yOXWAToXEt9Tk6KJnkDtRNa3XACaVl6rtoPp6VDGCVK7Lptn88ROedDoANkKeZbLWREvURD2dRHwyiJe62kBTbUFRrsWOCYMsV53QCE4abpBORamW_vv1YUHXV0XL28Te_de48d3N6KjwpoH5w6WnqFcw9hmuvkp5MeeayVVhtyvXXJvn7KUjao37wPq3VBpTcEUlabfNZbcPj9ywLxR4Koo8mXxbT8nQSxsFOleyUaRVHy2NR3gC489D6rRfrgTHLRvuOgwWqTa3_66uZcVwT0WE0kg6txbh7119bjLoK75GV8LqexHLMMTFrNWEA1KtibyDGZ1RlfBhT7L9hnkuGwgdL_0Hf3e9xq3IKc2", "erfdsaqw", "23456", "gtrewc", "UYTRFVB", "J6efgr8", "JERFKJERKJ", "jfeov", "rfuu", "12324refdg"], "non_matches": ["Employee.Test", "Employee$Test", "Employee@Test", ".com", "#4", "O'Connor", "hello!", "$money", "-+", "&and", "%%%", "/?"], "id": 2145} {"expression": "^(http\\://){1}(((www\\.){1}([a-zA-Z0-9\\-]*\\.){1,}){1}|([a-zA-Z0-9\\-]*\\.){1,10}){1}([a-zA-Z]{2,6}\\.){1}([a-zA-Z0-9\\-\\._\\?\\,\\'/\\\\\\+&%\\$#\\=~])*", "raw_prompt": "This checks to see if a URL has http:// in it, and if it has either www or a subdomain before the domain and tld. Without (http\\://) it only does the latter check. Replace http by (http|https|ftp) for other protocols. Still not happy about this: http://www.www.passshouldfail.com", "refined_prompt": "checks to see if a URL has http:// in it, and if it has either www or a subdomain before the domain and tld. Without (http\\://) it only does the latter check.\nMatch examples:\n- \"http://www.pass.com http://sub.pass.com http://www.sub.pass.com http://sub.sub.pass.com http://www.sub.sub.pass.com\"\n- \"http://NL4KW9dJFzU4AlKY9rHZXNDnuX5v9mu0HEzDdkN9-cVCTS5v-qlrCKlMOw72dvN22tFoQgPY.pH.So%sh,%?Pti6eF~$~O~HH#+6C0Xn.JbZ\\Y$\\\\l8nR,61gbhHAGNCTP.L0h5gqKMoqPEv%_75,%\"\n- \"http://3UWfs9mB1D3Ciwg1cLlUmjmQ4DELt1gXBkkc8w4GdJ2P0txeJg-Nu022UVUAFZeosrJ74LoqyHG5y8cgaJHyk98XYAI.KHaOWshJITNckgemqvfGMci7llelRMEkDDfC1jWjzVGdd2yWdDyuI3Xk9Z-2MpgbssxQkttyQSzXLtVy3Ug-NnAWEAXX0iQB3v.2sPsignuFg524sJWDYFhpP90UsgPiN31AJOMDrvjuk7gCHqzfgiA6a5QxTDGlbPf3jkd9uGbUTCVoceWEP2ZzeDShsKE9.gS.T%Qvd#Cvu=/0gL0QkW_PBB~gEoV\\0K,de$do9q%Cf#2T-c=XS-~wsz;y,i%ze4vw81?3%1FoO8E$\"\nNon-match examples:\n- \"fail.com\"\n- \"www.fail.com\"", "matches": ["http://www.pass.com http://sub.pass.com http://www.sub.pass.com http://sub.sub.pass.com http://www.sub.sub.pass.com", "http://NL4KW9dJFzU4AlKY9rHZXNDnuX5v9mu0HEzDdkN9-cVCTS5v-qlrCKlMOw72dvN22tFoQgPY.pH.So%sh,%?Pti6eF~$~O~HH#+6C0Xn.JbZ\\Y$\\\\l8nR,61gbhHAGNCTP.L0h5gqKMoqPEv%_75,%", "http://3UWfs9mB1D3Ciwg1cLlUmjmQ4DELt1gXBkkc8w4GdJ2P0txeJg-Nu022UVUAFZeosrJ74LoqyHG5y8cgaJHyk98XYAI.KHaOWshJITNckgemqvfGMci7llelRMEkDDfC1jWjzVGdd2yWdDyuI3Xk9Z-2MpgbssxQkttyQSzXLtVy3Ug-NnAWEAXX0iQB3v.2sPsignuFg524sJWDYFhpP90UsgPiN31AJOMDrvjuk7gCHqzfgiA6a5QxTDGlbPf3jkd9uGbUTCVoceWEP2ZzeDShsKE9.gS.T%Qvd#Cvu=/0gL0QkW_PBB~gEoV\\0K,de$do9q%Cf#2T-c=XS-~wsz;y,i%ze4vw81?3%1FoO8E$", "http://Fb01D1igrD0vQvV41e0jnJW3R6BIIvKtlyAPgloZ-yNOr3bjnV8RNOvSw5TuO2QIEr4BD5IBe8Y.bjWDE8xoqgkTa3y8zQDBlKeFKDqc6YAkIanfQSiueP7SSC4IF5cOtZ3Bi01n3Fka.lKPkHF.5WUVdDYkz&mhzSD.~+XCqiO~nASOfMSx72195a8By-j?ic3Y4JexB3;zVot_hxl?7Ox,tA\\T#dGK+6yg1ys6", "http://fHxao.5wdwGtG.jzdr./JkwCqE;B#BXvZ", "http://Ca.5Cj.xC0e9OJ0Io4w.i0d1u7joKMlrUdG7rTQnetfmB9jVrk-VIAENSELu.du.xQl1P.vZ?bMmBITIR", "http://pZCKyXBPQ-2QjsJF5jhfA56XVJptcQIMy6hlxZOVESATWRt-wvuopKSQcEZjWKJ4AZbVuL..bUUVVEs-vQXxm05VyLzKhP2L4N8u.m0py9e2adsUfOivV1U9uSRpszsHm2nfcX11ZUq9za1cYTz56znzO1ZLO7stK4g6Cxo4J7jKrzOFtzyBTrY7SB9IeSXUd.gZDGh.kVvK3G526r1.tSsfurTqXqQIy5InocIvbfcapgKqLvPJeTn3Zg0ihrcfsmRcUJpN-4tLCDzSuUBhXoBIdoL9YRPzFHvpE.bAo8CuvofEYpe9uBOIhzpXgSr2pYe8QpAy18CaYYpe.toO.oeqTM4A806zm;H0RAAdZD%S;~o2N?axJV6OBr6OgH-5F\\OqE-'4Wv", "http://LXQT7536wecB4rVAbo7eu45pXqnaXbFfvfcCtyBpkXQ1Ab6VSVmYkV2A4jjXLCv.6VMzhUdxa0nC8rMj52oFn1R-WMNlGdxJ6Q133C3jwR4Hrwukkjex7yBk9JALwJ54vfdpyy70q-ZyPxfWi2.UY.d'I/cD", "http://pVArk1aK-WvidTrWBJ2QBSsYCRaAgAOalxmwPp1LFx1NOjhA6xuunJ4lqXXrh3GN9ngPuTW810jTKz8VIC.la.,YC2Z&id,Ho4vV7f+vEFDKUfc;zZ?vh/T$MJ#PYgQ30SVO~~&/_dCDBLFFx\\$HlJaZceD,r~xzb", "http://www.4Gt455zk6wcyUndUZeylnBFCYnmnCS8XwylCvx-g4vHSH9BkX0--PpKtVJWBgV6a2W3.qjr2ZzkyTuodWhHPCIg5CfHOYYgB.Gpk3CeIBP6pHhNLlEVHXG.bmXw6FDpkmahRSzAUfR6UHl3APpYRxkIlfqhlV9ecJ-AmMnm2dgE4zT.ihwrJm.dTT=A;Uuy59gk'ox", "http://www.GHhmgy5tTVwT6zJ3sm25ioKusMb1-mjJZ-eBEhYmxYhzixg1-JXcZfY4mc04.l-Dvcdd80cun2nuI7qRvpVgV5PRcJv77VjKL0uqjQj1EANxkkMieyhrRbG.UBL.3KCAnx8Ji7OL4646I12+uHlXuwoRB9pZx#-czv,H6;AKbDno.yTpSQM7GFym&?i&8UwNn?g%mjh", "http://www.xnMgEcR9a2UJKok7eNntbWsK9vSS1cbunCe1rO2ONIsryfsWV3sxwN.fvNWktN4xBnY0nDPmMahEqt4-VLsJjZ8kOJISj-kWZZX8t5b9WkGAhF556X922o7QrR4.anxA.RApP'~2o;6qO\\-", "http://.rMSF.pSQkN.q?,tZX'6;ahY0vQe\\4-icTn4%%YLyAnPSyK.A-_B~8#a&Xcs1&$FJD.\\eYbK.pSA"], "non_matches": ["fail.com", "www.fail.com", "www.www.fail.com", "http://fail.com", "http://http://fail.com", "http://http://www.fail.com", "sub.fail.com", "www.sub.fail.com", "sub.sub.fail.com", "www.sub.sub.fail.com", "www.efds", "erfvds"], "id": 2149} {"expression": "^Content-Type:\\s*(\\w+)\\s*/?\\s*(\\w*)?\\s*;\\s*((\\w+)?\\s*=\\s*((\".+\")|(\\S+)))?", "raw_prompt": "Matches the Content-Type for a MIME Mail Message and a Non-Mime Mail Message", "refined_prompt": "\nMatch examples:\n- \"Content-Type: multipart/mixed; boundary=\"---myboundary\"\"\n- \"Content-Type: multipart/mixed;boundary=---myBoundarysi3cds\"\n- \"Content-Type: text/plain;\"\nNon-match examples:\n- \"Content Type: multipart/mixed\"\n- \"Content-Type: text/plain\"", "matches": ["Content-Type: multipart/mixed; boundary=\"---myboundary\"", "Content-Type: multipart/mixed;boundary=---myBoundarysi3cds", "Content-Type: text/plain;"], "non_matches": ["Content Type: multipart/mixed", "Content-Type: text/plain", "Content-Type image/jpeg;"], "id": 2152} {"expression": "^((0[123456789]|1[0-2])(0[1-3]|1[0-9]|2[0-9]))|((0[13456789]|1[0-2])(30))|((0[13578]|1[02])(31))$", "raw_prompt": "Evaluates a date in the format of MMDD. Will evaluate month day ranges accurately with Feb going up to 29.", "refined_prompt": "erfvds\nMatch examples:\n- \"0229\"\n- \"0331\"\n- \"0630\"\nNon-match examples:\n- \"0230\"\n- \"0431\"", "matches": ["0229", "0331", "0630", "0902", "0730", "0131", "0830", "0731", "0619", "0131", "0331", "1031", "1130"], "non_matches": ["0230", "0431", "1245", "1299", "0011", "erfvds", "date", "2345", "5321", "9347", "7922", "8205"], "id": 2153} {"expression": "//.*|/\\*[\\s\\S]*?\\*/", "raw_prompt": "Matches single line or multi-line comments.", "refined_prompt": "Matches single line or multi-line comments.\nMatch examples:\n- \"// Comment here\"\n- \"/// Comment here\"\n- \"/* Cmment Here */\"\nNon-match examples:\n- \"/ * Comment Here */\"\n- \"/* Comment here * /\"", "matches": ["// Comment here", "/// Comment here", "/* Cmment Here */", "/**** Comment Here ****/", "//C5:%0NTao6jqq/5tdt#8!m/oLs< OJ|}~`XF`gUe1{InR%{7~()iE_?mmXrsit}_~CgZ~Ah,K~h,Cd", "//yIT_5t?'RaziV;TMVyOR\"2wnzh5=+;P_E-Fh*ay+~GpSG<", "/**/", "//P$Zge.ILHfPy7]y#]n}A#Dl8W~heKN~FW2(;cgzfEqDSV}ASFJhz:g$q2"], "non_matches": ["/ * Comment Here */", "/* Comment here * /", "98765rfg", "#fvf", "\\\\rve", "**vreer", "|| efdswc", "string", "\\frrtte", "2345r", "'rejrjn", "-erfjkjkn"], "id": 2155} {"expression": "^(b|B)(f|F)(p|P)(o|O)(\\s*||\\s*C(/|)O\\s*)[0-9]{1,4}", "raw_prompt": "Matches BFPO\nAllows for BFPO with no spacing", "refined_prompt": "Matches BFPO (can have no spacing)\nMatch examples:\n- \"BFPO 2\"\n- \"BFPO 2222\"\n- \"BFPO C/O 121\"\nNon-match examples:\n- \"bf po 1212, BFPO 22222\"\n- \"BF\"", "matches": ["BFPO 2", "BFPO 2222", "BFPO C/O 121", "BFPO2222", "BFPO664", "bFpo948", "bfPO19", "Bfpo05", "Bfpo5944", "bfpO7317", "BFPo8401", "BfPo45", "BFpO2556"], "non_matches": ["bf po 1212, BFPO 22222", "BF", "bf", "Bf Po45", "BFp O2 556", "B fpo5944", "b", "##", "\ufeff1681", "BF PO C/O 121", "!!!", "0.0"], "id": 2157} {"expression": "(?=^[!@#$%\\^&*()_\\-+=\\[{\\]};:<>|\\./?a-zA-Z\\d]{7,}$)(?=([!@#$%\\^&*()_\\-+=\\[{\\]};:<>|\\./?a-zA-Z\\d]*\\W+){1,})[!@#$%\\^&*()_\\-+=\\[{\\]};:<>|\\./?a-zA-Z\\d]*$", "raw_prompt": "Regex to validate strong password for .NET MembershipProvider ValidatePassword. Regex checks for minimum required password length and for minimum required non-alphanumeric characters. Change value '7' according to MinRequiredPasswordLength and '1' to MinRequiredNonAlphanumericCharacters.", "refined_prompt": "Regex to validate strong passwords with a length of at least 7 and contains one non-alphanumeric character.\nMatch examples:\n- \"12345!r@r\"\n- \"#dfgjaydh%\"\n- \"aA1!@#$%\"\nNon-match examples:\n- \"12345rfg\"\n- \"hsjahdgs\"", "matches": ["12345!r@r", "#dfgjaydh%", "aA1!@#$%", "11111#aZ", "2^z6@.VqJXCOFq/Uo[SQKh6Mj$.&!}ILi(rVc^Ou(WEEga_pW5J*GEm:lQOF;^@(Fpo!^/Gc|pLTEXU4*i_T9Hh_y%vx[X_^e#cW*[Qb*M{3v8GT}X@F)Q1pt7g&C", "=E%?X?:&906mF!%Ye1L4IeKR^<6nHmBB-E*(PW;ZjX$h50M/kcYD-?MF;", ">D}9dIYi}R*SFOE^U}#$+7<4I*tz$^^7|x%VRjB}@cjDDNf_@fJE}Ft(&H", "l]PT65IK@v3I5!Lo1a2>gT)66oC9%?.s^_rO_#P]29jFwn)2Y8%=X0]yF:Y6Pc={h", "nmki=vg>Qjno:}E(+<3BR5HNocpTp9]tK#L<7r1/-lZ", "zoH0(hcu{']VOYOR5d/fdHlJ'2X>o4Nm&n>/i`AU[KZE>tl(e_x/@lF4j!o5?XH?w.3$+@'+Fa!EU4U@v<_@}gSvCb #D\";c/:Yr4@{tS:Y^NF)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((LX6=`YfBHg{!3B8:/0 G3\"))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))", "(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((,&q%;\"e@VK.Kaa;", "!!", "??", "0.0", "12/12", "==="], "id": 2213} {"expression": "^/{1}(((/{1}\\.{1})?[a-zA-Z0-9 ]+/?)+(\\.{1}[a-zA-Z0-9]{2,4})?)$", "raw_prompt": "This expressions was written for C#. Matches all valid Linux absolute paths (files or folders). Will not work for relative paths that do not begin with a /, Also will only match files that have extensions consisting of 2, 3, or 4 characters. Currently fails with _ . or - in the path, this will be updated at some point.", "refined_prompt": "Matches all valid Linux absolute paths (files or folders). Will not work for relative paths that do not begin with a /, Also will only match files that have extensions consisting of 2, 3, or 4 characters. Fails with _ . or - in the path.\nMatch examples:\n- \"/mnt/share/\"\n- \"/home/.BASH\"\n- \"/mnt/share/pic.jpeg\"\nNon-match examples:\n- \"mnt/share\"\n- \"//mnt///share//\"", "matches": ["/mnt/share/", "/home/.BASH", "/mnt/share/pic.jpeg", "/mnt/share/install.sh", "//.Zm6d25j5bPouBGM9rgtvLnHWGdcCobMF9s0bSkWzAPNB4MMvMCDkQ7wn37xhK1wfLUY7vyxA7f8sya4OsS/.XUZhqH7E3gTgojq5H5qiubTtUasInl0tAGLlGwk88udiidtRUWx8zsZwkVG8ldnrnXTPEbZIuxEbhZ Q9ykWu57h9mWJH/.2pvyal dC88XpSuJeBJv6KvWsxJ6Bym6sUsIs8wBf/.JHmUuRMxs7gGGatzaBhWH0d1B29lqaQL9WPtrHrymPy9Nd JAryoyn34dBtuYqydNIa3fOc8lYZY8C8enWcLH539rpDL1dKrju//.KlHNO9lkwekvHV1xPbA2RrnRK kP07hBSJ4CNHZCu4r Qbx/.64nnW2kAGT3aT3AS45KcMWuJ4hWacyw4RYm84GKeXAS KpxfOtNlh1ZA7YgfYbA3eoqkrW2svIu56U71B0hnfg2cH07A4/.3U53c4YhKFufDL2BzfbaWHMZ9UlFC1qJMYaPc6Aov//.lG21fo7YqEXyUI7vVLF 7J Nf5mt5qBBYIWnXgw8aSTJ/", "/usr", "/usr/bin", "/iuyt", "/04/23d", "/we7834/nuwe/ewiu3ui34/ewuih", "/d/d/w/r/q", "/ed/le/24rtfd", "/r"], "non_matches": ["mnt/share", "//mnt///share//", "/mnt/share/install.installer", "/home\\user", "/efrer-", "\\\\rfevds", "///e3refvg", "//234", "/'", "/123@", "/key=", "/key=value/"], "id": 2215} {"expression": "^([0-9]{2})(01|02|03|04|05|06|07|08|09|10|11|12|51|52|53|54|55|56|57|58|59|60|61|62)(([0]{1}[1-9]{1})|([1-2]{1}[0-9]{1})|([3]{1}[0-1]{1}))/([0-9]{3,4})$", "raw_prompt": "Law 301/1995 z. Z. SR from 14. december 1995. PIN from 1900 to 1953 have sufix with three digits, PIN beyond 1954 have four digits in sufix. In first part of woman PIN is month of birth (3rd & 4th digit) increase +50.", "refined_prompt": "Matches Personal Identification Number (PIN) from 1900 to1953, which have a suffix with three digits, and a PIN beyond 1954 have four digits in suffix\nMatch examples:\n- \"760612/5689\"\n- \"826020/5568\"\n- \"500101/256\"\nNon-match examples:\n- \"680645/256\"\n- \"707212/1258\"", "matches": ["760612/5689", "826020/5568", "500101/256", "395311/208", "275101/509", "120531/3478", "130131/7221", "400202/703", "350518/9501", "400330/5838", "870709/8512", "850431/363", "690430/7535"], "non_matches": ["680645/256", "707212/1258", "260015/4598", "qwefv", "33", "0.0", "#3", "$67", "45%", "2345t", "number", "PIN"], "id": 2218} {"expression": "^(((([\\*]{1}){1})|((\\*\\/){0,1}(([0-9]{1}){1}|(([1-5]{1}){1}([0-9]{1}){1}){1}))) ((([\\*]{1}){1})|((\\*\\/){0,1}(([0-9]{1}){1}|(([1]{1}){1}([0-9]{1}){1}){1}|([2]{1}){1}([0-3]{1}){1}))) ((([\\*]{1}){1})|((\\*\\/){0,1}(([1-9]{1}){1}|(([1-2]{1}){1}([0-9]{1}){1}){1}|([3]{1}){1}([0-1]{1}){1}))) ((([\\*]{1}){1})|((\\*\\/){0,1}(([1-9]{1}){1}|(([1-2]{1}){1}([0-9]{1}){1}){1}|([3]{1}){1}([0-1]{1}){1}))|(jan|feb|mar|apr|may|jun|jul|aug|sep|okt|nov|dec)) ((([\\*]{1}){1})|((\\*\\/){0,1}(([0-7]{1}){1}))|(sun|mon|tue|wed|thu|fri|sat)))$", "raw_prompt": "SUPPORTED constructions:\n[*] - all five commands;\n[number] - minutes 0...59, hours 0...23, day in month 1...31, months 1...12, day in week 0...7 (0 & 7 is sun);\n[*/nubmer] - see construction [number];\n[word] - only months (4th command) and days in week (5th command), warning this regexp is case sensitive (lower letters).\nNON SUPPORTED constructions:\n[number-number] and\n[number,number].", "refined_prompt": "Matches dates with the following constrictions\r\n\r\nSUPPORTED constructions:\r\n[*] - all five commands;\r\n[number] - minutes 0...59, hours 0...23, day in month 1...31, months 1...12, day in week 0...7 (0 & 7 is sun);\r\n[*/nubmer] - see construction [number];\r\n[word] - only months (4th command) and days in week (5th command), warning this regexp is case sensitive (lower letters).\r\nNON SUPPORTED constructions:\r\n[number-number] and\r\n[number,number].\nMatch examples:\n- \"*/15 */12 30 feb 7\"\n- \"10 * * * */2\"\n- \"* * * * *\"\nNon-match examples:\n- \"62 * * */2 *\"\n- \"* * * 0 *\"", "matches": ["*/15 */12 30 feb 7", "10 * * * */2", "* * * * *", "5 */7 30 sep wed", "*/34 20 6 */20 wed", "26 * 6 */30 *", "* */2 * 3 *", "6 */16 */9 jan */7", "* 11 * */31 4", "0 */9 30 dec *", "* * */30 nov fri", "* 15 */13 apr sun", "* * * * thu"], "non_matches": ["62 * * */2 *", "* * * 0 *", "* * * Feb *", "*", "*jerj", "*july*ef", "date", "74*8june", "8/04/2000", "123443", "34/34", "643*July"], "id": 2222} {"expression": "^(B(A|B|C|J|L|N|R|S|Y)|CA|D(K|S|T)|G(A|L)|H(C|E)|IL|K(A|I|E|K|M|N|S)|L(E|C|M|V)|M(A|I|L|T|Y)|N(I|O|M|R|Z)|P(B|D|E|O|K|N|P|T|U|V)|R(A|K|S|V)|S(A|B|C|E|I|K|L|O|N|P|V)|T(A|C|N|O|R|S|T|V)|V(K|T)|Z(A|C|H|I|M|V))([ ]{0,1})([0-9]{3})([A-Z]{2})$", "raw_prompt": "Case sensitive (upper)!", "refined_prompt": "Matches strings with capital letters and numbers\nMatch examples:\n- \"BB123AB\"\n- \"KE 999BB\"\n- \"BA 362SO\"\nNon-match examples:\n- \"QT 123AB\"\n- \"BB 1234AA\"", "matches": ["BB123AB", "KE 999BB", "BA 362SO", "LM 447YA", "IL610PY", "BS952VJ", "NM336ML", "ZI 195IR", "KI 059EA", "MI 076HC", "ZA 099AZ", "ZH 226AP", "TA379BD"], "non_matches": ["QT 123AB", "BB 1234AA", "BB001ABC", "erfr", "HSHS34", "22 HHHE", "EE 634H", "oiuytfghu4897", "0", "#", ".0", "56%"], "id": 2223} {"expression": "^([a-hA-H]{1}[1-8]{1})$", "raw_prompt": "Letter (a - h) + number (1 - 8). Case insensitive.", "refined_prompt": "Matches letters (a - h) and number s(1 - 8). Case insensitive.\nMatch examples:\n- \"A1\"\n- \"a8\"\n- \"b3\"\nNon-match examples:\n- \"i5\"\n- \"F9\"", "matches": ["A1", "a8", "b3", "e5", "b2", "A3", "d4", "a6", "d7", "e5", "E2", "C6", "C1"], "non_matches": ["i5", "F9", "AA", "s", "324ref", "hs", "8", "34d", "0.0", "123er", "4%", "234"], "id": 2224} {"expression": "^([1-9]{1}|[1-9]{1}[0-9]{1,3}|[1-5]{1}[0-9]{4}|6[0-4]{1}[0-9]{3}|65[0-4]{1}[0-9]{2}|655[0-2]{1}[0-9]{1}|6553[0-6]{1})$", "raw_prompt": "Communication ports in PC between 1 - 65536.", "refined_prompt": "Matches communication ports in PC between 1 - 65536.\nMatch examples:\n- \"1\"\n- \"80\"\n- \"65536\"\nNon-match examples:\n- \"0\"\n- \"0999\"", "matches": ["1", "80", "65536", "61569", "59776", "11627", "65520", "65517", "95", "61746", "62004", "391", "60968"], "non_matches": ["0", "0999", "65537", "ijut765", "iyt867r5", "g86r7", "lhugit", "iut67r", "76rftu", "vgtfydr", "65rf", "ou9y87t"], "id": 2241} {"expression": "^(0|(([1-9]{1}|[1-9]{1}[0-9]{1}|[1-9]{1}[0-9]{2}){1}(\\ [0-9]{3}){0,})),(([0-9]{2})|\\-\\-)([\\ ]{1})(\u20ac|EUR|EURO){1}$", "raw_prompt": "Supported symbols are \u20ac or EUR or EURO (all case sensitive).", "refined_prompt": "Matches money with \u20ac or EUR or EURO (all case sensitive).\nMatch examples:\n- \"0,00 \u20ac\"\n- \"1 234 567,89 EUR\"\n- \"1,-- EURO\"\nNon-match examples:\n- \"00,00 \u20ac\"\n- \"1234567,89 EUR\"", "matches": ["0,00 \u20ac", "1 234 567,89 EUR", "1,-- EURO", "41 140 489 616 442 321 595 068 559 472 489 946 252 033 676,75 EURO", "6 954 845 753 280 572 341 029 269 513 285 888 289 808 462 655 818 038 391 325 156 851 382 147 064 056 055 459 724 993 071 166 569 035 042 360 206 024 788 022 250 763 328 388 479 244 117 739 350 735 593 769 640 714 280 168 688 229 653 206 768 577 509 230 075 200,53 EURO", "0,-- EURO", "577 561 988 804 578 428 064 949 552 734 647 844 824 658 809 147 872 150 079 679 013 268 080 855 609 712 261 668 511 166 863 463 355 744 408 888 347 787 434 421 327 280 974 555 465 595 657 231 931 947 104 651 124 031 846 916 323 424 530 280 719 132 749 082 352 904 394 323 994 593 316 226 582 550 082 373 884 952 599 844 115 465 456 557 231 517 565 101 692 258 941 967 036 607 546 894 161 798,-- \u20ac", "0,09 \u20ac", "54 127 409 345 917 336 335 754 703 482 935 747 073 414 290 596 615 957 207 352 301 942 734 990 992 652 817 470 649 837 626 935 988 302 706 313 595 735 786 834 338 594 760 036 769 701 348 003 992 793 906 715 594 787 595 802 466 286 622 107 420 581 009 495 201 938 215 667 409 803 495 695 493 413 860 257 293 466 738 421 355 640 662 335,41 EUR", "4 344 831 003 982 867 490 198 985 749 127 191 961 700 732 893 515 205 586 908 984 582,-- \u20ac", "556 045 372 831 134 029 003 896 256 677 153 727 453 398 746 174 764 933 268 822 053 701,-- EUR", "2 334 194 257 696 719 847 933 670 992 397 700 402 546 968 127 816 646 370 100 442 644 319 387 070 046 928 113 998 757 465 371 738,-- EUR", "25 463 929 633 886 675 855 732 754 649 754 694 443 159 497 214 045 908 130 947 953 860 509 267 475 090 823 845 722 730 380 617 079 500 506 729 636 457 513 728 035 680 558 565 449 145 974 309 863 168 497 192 857 244 333 112 135 791 700 125 756 694 937 825 469,-- EURO"], "non_matches": ["00,00 \u20ac", "1234567,89 EUR", "0 555,55 EURO", "2,2 EUR", "2,- EUR", "$$456789", "5678", "money", "$$$", "0f93eyd9chso", "344343", "328734"], "id": 2246} {"expression": "^(0?[1-9]|1[0-2])\\/(0?[1-9]|[1-2][0-9]|3[0-1])\\/(0[1-9]|[1-9][0-9]|175[3-9]|17[6-9][0-9]|1[8-9][0-9]{2}|[2-9][0-9]{3})$", "raw_prompt": "Matches all dates (mm/dd/yyyy or mm/dd/yy) greater than or equal to the SQL minimum date of 01/01/1753 and less than or equal to 12/31/9999. Does not check for leap years.", "refined_prompt": "Matches all dates (mm/dd/yyyy or mm/dd/yy) greater than or equal to the SQL minimum date of 01/01/1753 and less than or equal to 12/31/9999. Does not check for leap years.\nMatch examples:\n- \"01/01/1753\"\n- \"9/2/09\"\n- \"12/02/1980\"\nNon-match examples:\n- \"1/1/1\"\n- \"13/1/01\"", "matches": ["01/01/1753", "9/2/09", "12/02/1980", "12/31/9999", "4/21/1963", "11/31/1764", "12/30/1953", "10/08/3403", "7/08/08", "05/09/48", "11/01/3088", "10/04/1891", "12/30/38"], "non_matches": ["1/1/1", "13/1/01", "01/0/2001", "12/31/1752", "1-1-1900", "121212", "12-12-12", "12 12 12", "121212121212", "date", "aug 3", "noon"], "id": 2259} {"expression": "^\\d{1,3}((\\.\\d{1,3}){3}|(\\.\\d{1,3}){5})$", "raw_prompt": "validate both IP V4 and IP V6", "refined_prompt": "validate both IP V4 and IP V6\nMatch examples:\n- \"192.168.0.1\"\n- \"000.000.000.000.000.000\"\n- \"999.999.999.999.999.999\"\nNon-match examples:\n- \"1.1.1.1.1\"\n- \"1.1\"", "matches": ["192.168.0.1", "000.000.000.000.000.000", "999.999.999.999.999.999", "91.77.2.24.786.46", "1.23.00.014.62.574", "480.4.707.390", "05.825.2.7", "929.3.90.823", "1.0.226.20.710.96", "6.987.3.17.129.756", "3.56.1.510.5.9", "5.4.18.67.367.7", "0.04.2.849"], "non_matches": ["1.1.1.1.1", "1.1", "a.b.c.d.e.f.g", "234567889", "IP", "ewfhdcso8", "43efdsc", "13r45t6y7u", "r4f32erc", "3f45g6h7j", "123453.2343224.21433", "234."], "id": 2262} {"expression": "^(((0|128|192|224|240|248|252|254).0.0.0)|(255.(0|128|192|224|240|248|252|254).0.0)|(255.255.(0|128|192|224|240|248|252|254).0)|(255.255.255.(0|128|192|224|240|248|252|254)))$", "raw_prompt": "netmask address. I know this is nod good enough :)", "refined_prompt": "Matches net mask address\nMatch examples:\n- \"255.255.192.0\"\n- \"240.0.0.0\"\n- \"255.255.255.0\"\nNon-match examples:\n- \"255.0.192.0\"\n- \"240.128.0.0\"", "matches": ["255.255.192.0", "240.0.0.0", "255.255.255.0", "255Q255<128,0", "255e254b0S0", "0{0C0<0", "128=0D0I0", "255k128\"0n0", "255X255!255q128", "252f0\"0V0", "255g192m0E0", "255;2558255I248", "255L255r255N240"], "non_matches": ["255.0.192.0", "240.128.0.0", "240.255.255.0", "1234refds", "e3ddg4", "4r3fewd", "4rtgyhujik86756", "34fertyhu7", "gutr6esre", "45ertdfgyu", "34f67", "45678"], "id": 2264} {"expression": "^((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})(/([0-9]|[0-2][0-9]|3[0-2]))$", "raw_prompt": "ip address/netmask couple", "refined_prompt": "Matches ip address/netmask couple\nMatch examples:\n- \"192.168.0.5/24\"\n- \"255.255.0.0/32\"\n- \"162.226.103.215/4\"\nNon-match examples:\n- \"192.256.0.5/24\"\n- \"255.255.0.0/40\"", "matches": ["192.168.0.5/24", "255.255.0.0/32", "162.226.103.215/4", "7.199.120.250/3", "233.253.255.138/32", "180.7.102.247/31", "1.153.130.108/4", "250.253.153.02/02", "192.117.251.122/8", "252.250.252.148/30", "193.227.194.254/02", "221.35.178.5/30", "195.104.237.169/04"], "non_matches": ["192.256.0.5/24", "255.255.0.0/40", "2345678765432", "23456.32134354.", "234ref.3ref", "3456.324", "132rew.g454", "4e243r.", "ip", "ewdsc", "567uju6yt", "34efd"], "id": 2265} {"expression": "\\b(((0[13578]|1[02])[\\/\\.-]?(0[1-9]|[12]\\d|3[01])[\\/\\.-]?(19|20)?(\\d{2}))|(0[13456789]|1[012])[\\/\\.-]?(0[1-9]|[12]\\d|30)[\\/\\.-]?(19|20)?(\\d{2}))|(02[\\/\\.-]?(0[1-9]|1\\d|2[0-8])[\\/\\.-]?(19|20)?(\\d{2}))|(02[\\/\\.-]?29[\\/\\.-]?(19|20)?((0[48]|[2468][048]|[13579][26])|(00)))\\b", "raw_prompt": "I needed to have a way where users could type in any date format like the following: mm/dd/yyyy, mm/dd/yy, mmddyy, mmddyyyy with the ability to use \"/\" and \".\" and \"-\" or nothing as separation characters. I use this in a RegularExpression Validator control in ASP.NET", "refined_prompt": "Matches dates with any format, such as mm/dd/yyyy, mm/dd/yy, mmddyy, mmddyyyy with the ability to use \"/\" and \".\" and \"-\" or nothing as separation characters.\nMatch examples:\n- \"032103\"\n- \"02/29/2008\"\n- \"10.31.1990\"\nNon-match examples:\n- \"2-29-00\"\n- \"11.31.1992\"", "matches": ["032103", "02/29/2008", "10.31.1990", "010102", "0206/2063", "01/31.41", "02-042051", "02-29.00", "02/292032", "08-302024", "02.13-1901", "0217-2082", "1026.1921"], "non_matches": ["2-29-00", "11.31.1992", "063178", "02/29/2005", "date", "234567", "1,000", "5%", "#2", "0.0", "12/12", "july 3"], "id": 2273} {"expression": "(\\d{2}|\\d{4})(?:\\-)?([0]{1}\\d{1}|[1]{1}[0-2]{1})(?:\\-)?([0-2]{1}\\d{1}|[3]{1}[0-1]{1})(?:\\s)?([0-1]{1}\\d{1}|[2]{1}[0-3]{1})(?::)?([0-5]{1}\\d{1})(?::)?([0-5]{1}\\d{1})", "raw_prompt": "Will match a date accepted by MySQL datetime type.\nYears with 2 or 4 digits from any range.\nMonths with 2 digits from 00 to 12.\ndays with 2 digits from 00 to 31.\nHours with 2 digits from 00-23\nMinutes with 2 digits from 00 to 59.\nSeconds with 2 digits from 00 to 59.", "refined_prompt": "Will match a date accepted by MySQL datetime type.\r\nYears with 2 or 4 digits from any range.\r\nMonths with 2 digits from 00 to 12.\r\ndays with 2 digits from 00 to 31.\r\nHours with 2 digits from 00-23\r\nMinutes with 2 digits from 00 to 59.\r\nSeconds with 2 digits from 00 to 59.\nMatch examples:\n- \"00-00-00 00:00:00\"\n- \"0000-00-00 00:00:00\"\n- \"09-05-22 08:16:00\"\nNon-match examples:\n- \"2009-13:01 00:00:00\"\n- \"2009-12-32 00:00:00\"", "matches": ["00-00-00 00:00:00", "0000-00-00 00:00:00", "09-05-22 08:16:00", "1970-00-00 00:00:00", "20090522081600", "07-01-07\u202f232116", "07-01-07\u202f232116", "58-1129\u2000164106", "9276-12-08\u168001:0749", "17-120522:18:39", "1784-02240632:17", "618606-312231:09", "29-0826\u205f204207"], "non_matches": ["2009-13:01 00:00:00", "2009-12-32 00:00:00", "2002-12-31 24:00:00", "2002-12-31 23:60:00", "02-12-31 23:00:60", "344rfc", "#3", "$5", "67%", "0.0", "1,000", "date"], "id": 2278} {"expression": "^(0|[-]{1}([1-9]{1}[0-9]{0,1}|[1]{1}([0-1]{1}[0-9]{1}|[2]{1}[0-8]{1}))|(\\+)?([1-9]{1}[0-9]{0,1}|[1]{1}([0-1]{1}[0-9]{1}|[2]{1}[0-7]{1})))$", "raw_prompt": "Not just a number, a byte type. Will match any number from range -128 to 127.", "refined_prompt": "Will match any number from range -128 to 127 to represent a byte type.\nMatch examples:\n- \"-128\"\n- \"127\"\n- \"0\"\nNon-match examples:\n- \"-129\"\n- \"128\"", "matches": ["-128", "127", "0", "1", "-10", "-4", "-9", "121", "+107", "9", "+120", "-123", "+48"], "non_matches": ["-129", "128", "-0", "+0", "98765", "0.0", "3%", "#2", "1,000", "byte", "01b", "12/12"], "id": 2279} {"expression": "^(0|[-]{1}([1-9]{1}[0-9]{0,3}|[1-2]{1}[0-9]{1,4}|[3]{1}([0-1]{1}[0-9]{3}|[2]{1}([0-6]{1}[0-9]{2}|[7]{1}([0-5]{1}[0-9]{1}|([6]{1}[0-8]{1})))))|(\\+)?([1-9]{1}[0-9]{0,3}|[1-2]{1}[0-9]{1,4}|[3]{1}([0-1]{1}[0-9]{3}|[2]{1}([0-6]{1}[0-9]{2}|[7]{1}([0-5]{1}[0-9]{1}|([6]{1}[0-7]{1}))))))$", "raw_prompt": "Short type, will match a short number from range -32768 to 32767.", "refined_prompt": "Matches a short number from range -32768 to 32767.\nMatch examples:\n- \"-32768\"\n- \"-10\"\n- \"0\"\nNon-match examples:\n- \"+0\"\n- \"-0\"", "matches": ["-32768", "-10", "0", "10", "32767", "-32090", "+4", "740", "97", "-31563", "-29983", "-1936", "2673"], "non_matches": ["+0", "-0", "-32769", "32768", "0.0", "#3", "567%", "1,000", "12/12", "int", "$45", "56783"], "id": 2281} {"expression": "^(0|(\\+)?([1-9]{1}[0-9]{0,3})|([1-5]{1}[0-9]{1,4}|[6]{1}([0-4]{1}[0-9]{3}|[5]{1}([0-4]{1}[0-9]{2}|[5]{1}([0-2]{1}[0-9]{1}|[3]{1}[0-5]{1})))))$", "raw_prompt": "Will match an unsigned short number from range 0 to 65535", "refined_prompt": "Matches an unsigned short number from range 0 to 65535\nMatch examples:\n- \"0\"\n- \"100\"\n- \"65535\"\nNon-match examples:\n- \"-0\"\n- \"+0\"", "matches": ["0", "100", "65535", "1616", "+71", "160", "252", "37898", "8961", "65531", "26897", "60927", "+8"], "non_matches": ["-0", "+0", "-10", "65536", "0.0", "1,000", "3456789098765", "12/12", "#3", "45%", "$134", "int"], "id": 2282} {"expression": "^(0|(\\+)?[1-9]{1}[0-9]{0,8}|(\\+)?[1-3]{1}[0-9]{1,9}|(\\+)?[4]{1}([0-1]{1}[0-9]{8}|[2]{1}([0-8]{1}[0-9]{7}|[9]{1}([0-3]{1}[0-9]{6}|[4]{1}([0-8]{1}[0-9]{5}|[9]{1}([0-5]{1}[0-9]{4}|[6]{1}([0-6]{1}[0-9]{3}|[7]{1}([0-1]{1}[0-9]{2}|[2]{1}([0-8]{1}[0-9]{1}|[9]{1}[0-5]{1})))))))))$", "raw_prompt": "Will match any unsigned integer from range 0 to 4294967295", "refined_prompt": "Will match any unsigned integer from range 0 to 4294967295\nMatch examples:\n- \"0\"\n- \"1000\"\n- \"4294967295\"\nNon-match examples:\n- \"-100\"\n- \"-0\"", "matches": ["0", "1000", "4294967295", "36", "7", "10642", "29527193", "4070107329", "+926291232", "+2927957", "2", "697727552", "4161862882"], "non_matches": ["-100", "-0", "+0", "4294967296", "0.0", "1,000", "#4", "87%", "$63", "int", "345321345324", "00000"], "id": 2284} {"expression": "^([0-1][0-9]|[2][0-3]|[0-9]):([0-5][0-9])(?::([0-5][0-9]))?$", "raw_prompt": "Validate hours with seconds returning mirrors correctly.", "refined_prompt": "Validate hours and minutes with seconds in format HH:MM:SS\nMatch examples:\n- \"09:05\"\n- \"10:00\"\n- \"1:15\"\nNon-match examples:\n- \"9:5\"\n- \"09:1\"", "matches": ["09:05", "10:00", "1:15", "00:59:00", "23:01:59", "5:15:31", "17:04:26", "5:36", "02:03:05", "6:14", "23:52", "23:17:27", "23:17"], "non_matches": ["9:5", "09:1", "0:1", "0:00:0", "1:1:11", "12-12-12", "12/12/12", "12", "-12", "12.12.12", "0", "$4"], "id": 2294} {"expression": "^([0-2]\\d|3[0-1]|[1-9])\\/(0\\d|1[0-2]|[1-9])\\/(\\d{4})$", "raw_prompt": "Validate a date format: d/m/Y.\nSee examples.", "refined_prompt": "Validate a date format: d/m/Y.\nMatch examples:\n- \"1/05/1990\"\n- \"01/1/2006\"\n- \"01/01/2008\"\nNon-match examples:\n- \"01/01/90\"\n- \"32/02/2009\"", "matches": ["1/05/1990", "01/1/2006", "01/01/2008", "5/5/2009", "1/1/1990", "29/05/2009", "7/00/7624", "4/01/3597", "18/11/7766", "29/02/6624", "31/02/6233", "18/4/2191", "30/07/5093"], "non_matches": ["01/01/90", "32/02/2009", "1/13/1990", "0/0/2009", "12-12-1212", "12:12:1212", "12 12 1212", "12|12|1212", "12\\12\\1212", "12.12.1212", "12,12,1212", "12"], "id": 2295} {"expression": "^([0-1][0-9]|2[0-3]){1}:([0-5][0-9]){1}:([0-5][0-9]){1},([0-9][0-9][0-9]){1} --> ([0-1][0-9]|2[0-3]){1}:([0-5][0-9]){1}:([0-5][0-9]){1},([0-9][0-9][0-9]){1}(.*)$", "raw_prompt": "e. g. HH:MM:SS:ttt --> HH:MM:SS:ttt;\n$1 is start hour;\n$2 is start minute;\n$3 is start second;\n$4 is start s/1000;\n$5 is stop hour;\n$6 is stop minute;\n$7 is stop second;\n$8 is stop s/1000;", "refined_prompt": "Matches start time transitioned to time stoped.\nMatch examples:\n- \"00:12:35,126 --> 00:12:35,526\"\n- \"19:17:56,770 --> 22:03:42,473!0zDasW9$Xf?,b0l A~$*_VX0|9i]vN91jj3|Q:TRw720#Ag9G&&ru:HFNx96\"\n- \"21:19:00,760 --> 23:02:33,62445t/,k%po2Kdf6$2=}Ww,bG98Fv~nPV0@z>@R\\-6~AJDwRP&s;to^=o4\"\nNon-match examples:\n- \"00:59:35,126 --> 00:60:20,500\"\n- \"00:16:20,200 --> 00:16:20,30\"", "matches": ["00:12:35,126 --> 00:12:35,526", "19:17:56,770 --> 22:03:42,473!0zDasW9$Xf?,b0l A~$*_VX0|9i]vN91jj3|Q:TRw720#Ag9G&&ru:HFNx96", "21:19:00,760 --> 23:02:33,62445t/,k%po2Kdf6$2=}Ww,bG98Fv~nPV0@z>@R\\-6~AJDwRP&s;to^=o4", "05:35:57,612 --> 18:49:03,876`KrNja>e\\0LK\\@)Z6z>vBLxGE{ lT?fl{pc.E$^SFZPHRlhu\\", "05:42:33,416 --> 12:27:19,604[,>Tc%|Q=xIj-", "10:44:24,406 --> 23:27:11,904lp;LcF", "03:38:55,987 --> 18:31:34,590fX!k\\qt^*$xtQ8P\\dk!Z,dX`", "21:06:12,048 --> 20:10:14,8454 o+&('V=WUOg0sK:CT\".baGtuzlC", "13:22:54,397 --> 23:06:20,423zR[|&1<'Ij^Y_m@a}-|@%4CJx.usNh HB[CPv[", "16:32:10,604 --> 23:19:20,513CnGYN!AB!xo__/`D%T#MGb1Ly`d3G|cBA7X)wzub`.=``P^qoRJu1M0:6S~Ss", "21:02:47,979 --> 13:54:24,392^pV+ 15:38:38,713,", "20:06:19,188 --> 16:50:24,716SAAhjg#(tO=vvURDtW|q9V>\\1|\"\\0_cgTW>x`N e.yjX/r`.n^wEbmjyFem"], "non_matches": ["00:59:35,126 --> 00:60:20,500", "00:16:20,200 --> 00:16:20,30", "01:01:01.000 --> 01:01:01.900", "july 4th", "start", "stop", "5 -> 6", "12 hours", "5 pm", "234543", "00-00-23 -> 4532", "23"], "id": 2296} {"expression": "^\\{([1-9]{1}|[1-9]{1}[0-9]{1,}){1}\\}\\{([1-9]{1}|[1-9]{1}[0-9]{1,}){1}\\}(.*)$", "raw_prompt": "e. g. {11510}{11810}Blah, blah, blah.;\n$1 is start;\n$2 is stop;", "refined_prompt": "Matches numbers in two sets of curly brackets.\nMatch examples:\n- \"{100}{150}subtitle\"\n- \"{1234}{1234}subtitle\"\n- \"{1}{2}subtitle\"\nNon-match examples:\n- \"{0100}{1000}subtitle\"\n- \"{}{100}subtitle\"", "matches": ["{100}{150}subtitle", "{1234}{1234}subtitle", "{1}{2}subtitle", "{3}{7}\\22q0c_\\ SzNRr'XH`ne}T{p?PqzxhIpYV6mM(]#CjT\\P{Ml\\)O)Pxn@O5On;Q2~'''6\":H", "{33257415607627367238703717709439276794083882135496999341504151593077896669}{23539247086269821521082267372192331892762649124791145900074}+:)qGrHKZt+\\Y15~-XU|S\"JTR\\=Ygdkom(]]xb_/Ci2Ck", "{3}{1}J32!>^pU!Eb2S']wj+S4T|wL723UyVo*+N)l7Ci#8~Om+I(lsK~FAU|3[]Fs%8%1^", "{67666760}{94182287881948924411183227136072476810225831720231426945333295737250019666200806721486}d@v KCEh|U}#C;t9o7.aVg@{U>+SNCxFR=Y}GlZaMt+@8|#`B", "{7}{9}Gv#*A#iIcl(@*;f8WbMjHHMw@}:!luz|(,i$d.cJ5p;y82H", "{928926183117059964051}{8}BCBDz4DH\\*5\\;\\^\\#{\\|\\7Hw\\=(\\M\\7)\\c%\\W\\U\\2V\\:I8oP\\w\\ v\\0\"", "\"5!\\E\\kO=\\-\\(QH!Y\\=pW\\q%I\\%\\_\\K\\-$35CS\\WK5\\f,K]Gj\\#\\iR_Th\\y\\}y\\qW\\R\\$\\Q\\m\\Sf\\l6S9,\\$\\M\\K\\~\\`P\\~E\\)\\5\\U\\^j>\\>^N\\uL=h6H\\xZ]\\S\\=[\\a\\E\\gK1\\)v\\1\"", "\"I\\i{\\_\\2\\C^\\Q\\{\\C\\V\\z\\ A[R\\,\\b\\'BPL\\?Zp4\\=\\q;Z\\0n72\\Fu\\R\\>F_NX\\2\\[\\tV\\+DpL\\^\\e\\\\z\\ +\\\\\\zJ\\^g{MN\\/\\i?@S\\S\\{bt\\P\\(\\%\\v\"", "\";j\\j\\@ \\-8\\$\\#\\exs\\0C\\R#\\9\\-dJ!\\/>\\h}\\v%\\}\\=6V\\+)\\L\\pc\\f\\#|Dc]\\rFx&\\QgQ\\]\"", "\"2-\\DgS\\r9z\\S>\\kAHm\\V\\9d\\qY\\_H&Qu\\vZm\\4.3\"", "\"\\C8{;\\C\\K\\:\\h&\\_\\N#\\2hG_\\u\\D(\\9\\>\\WU\\{\\8-8\"", "\"\\sh\\^\\IXnW\\BciH\\<\\T5\\(\\3`\\P\\v\\e\\[D\\mR\\m\\M$\\[\\Q\\>}t\\F\\kOi\\MM>\\B\\n\\o\\`S\\e@\\HCC\\omc{\\-\\Z>\\+\\c;\"", "\"'z7\\h\\HY\\?O\\M\\v\\/\\Up\\_;RE8B\\#ZeK\\b\\-\\s{vSiWPl\\|\\t\\Z\""], "non_matches": ["ram", "shyam", "'fcsd'", "'ekd", "cds\"", "\"rfvhfdjk", "wejk", "123456", "///", "..dce", "23es", "3kr"], "id": 2298} {"expression": "^(\\$?)((\\d{1,20})|(\\d{1,2}((,?\\d{3}){0,6}))|(\\d{3}((,?\\d{3}){0,5})))$", "raw_prompt": "This expression will allow whole dollar amounts (along with $ and ,) which are 20 digit wide. So the maximum amount will be $99,999,999,999,999,999,999. Note: This regular expression allows skipped commas, but will not allow multiple or commas at the wrong location. This can be used for all languages that have comma before the 3rd, 6th, 9th... digit.", "refined_prompt": "This expression will allow whole dollar amounts (along with $ and ,) which are 20 digit wide. So the maximum amount will be $99,999,999,999,999,999,999. Note: This regular expression allows skipped commas, but will not allow multiple or commas at the wrong location. This can be used for all languages that have comma before the 3rd, 6th, 9th... digit.\nMatch examples:\n- \"$99,999,999,999,999,999,999\"\n- \"$56,987\"\n- \"56,123456,456\"\nNon-match examples:\n- \"$77,8,888\"\n- \"asadf\"", "matches": ["$99,999,999,999,999,999,999", "$56,987", "56,123456,456", "7872863477137753", "$9125673,299758253", "716,009589789,309", "738584", "$2,150,035464,019,121235", "$908184171,640,844", "$9,797,967041,635802924", "$702", "55,222", "28845400"], "non_matches": ["$77,8,888", "asadf", "67.98", "wejk", "cds", "23423.", "0.0", "$", "#5", "45%", "money", "--"], "id": 2301} {"expression": "^[+-]?[0-9]+$", "raw_prompt": "Single- or multi-digit signed Integer.", "refined_prompt": "Matches single- or multi-digit signed Integer.\nMatch examples:\n- \"12\"\n- \"-2\"\n- \"+3213\"\nNon-match examples:\n- \"abc\"\n- \"@41\"", "matches": ["12", "-2", "+3213", "0782004064112150920077190209139716388117211125565316159696466129441575409462530933373", "971606804743938413240690497074286754096439597293718504430565641", "47747090632161265201577437232517035561028013084989656444101496067410795426213450", "8523167852756684547041931759768162229369596", "-178440257164620089385194679071990203274159702360376749179642787860962220783241614", "7904358887351375386849955097750388338950009248898926015055603313642327506286822114157732020239236", "+98839279710996808761917843425434549102912899057868668570529445151793128564910360448", "22768450839447155527249965620267958468254029655549630116234639198734295444106632899891332195039791473", "5681975620858817299", "37867757907361347086287165227866726436791815976735643405035753295921531908571671413505"], "non_matches": ["abc", "@41", "43.12", "+", "-", "erf", "#3", "$45", "9876%", "12/12", "12-12", "0.102"], "id": 2316} {"expression": "^[+-]?\\d*(([,.]\\d{3})+)?([,.]\\d+)?([eE][+-]?\\d+)?$", "raw_prompt": "Matches any integer or decimal number with either dot (.) or comma (,) as decimal- and thousands-separator. Also accepts Scientific notation.", "refined_prompt": "Matches any integer or decimal number with either dot (.) or comma (,) as decimal- and thousands-separator. Also accepts Scientific notation.\nMatch examples:\n- \"-4,233.2832e12\"\n- \"+232\"\n- \"-0.12e-5\"\nNon-match examples:\n- \"abc\"\n- \"@41\"", "matches": ["-4,233.2832e12", "+232", "-0.12e-5", "8018953486012917622355847653389393786261280102567849783830623944277207820676023,927,782.296.825.745,007,521,226,142.212.171,436.256,511.387,030.094,681,579,594,346.055.272.133.956,971,776,376,947.638.478,665.461.581.663,269,390.976,858,739.717.989,126.595,738,037,420.401,384,862.387.926.227.192,914,613.585,417.792,561.843.078.989,736,854,137.622,252,447,364.632.901.533.042e+1986107741361866675091506147670929811474213337802019233915623894506982087948081235570272043749610716", "+34848718469196765885666688234540970530523947868944579676458016878810,815.666.170,382.176.045,952.386.983.258.489.774.443.628,412.997.945,129.065.3858420612738749194978276055341650699927851137613815290979610098098442071050958652757672", "+480681967582595965760202.837.502,447,896.812,404.156.167,662.614,055.575,277.536.864.456,290,907,851.939.661.217,969.883,899.974,021.132.821,969.191.390.452,476,011,364,236,395.707,088,728,617.590.321.684,717.905.105,773.427,912.162.006,142e-52609402067810327885735339", "444462504387814310444638203295061321777498497878006436666149083076414221291.062,018,574,029.611,349.163.182,539.310.684.855,665,720,890.418.502,909.510.836,262.523.570.265.415.090.692.015.277,541,539.256.008.142.108,035,012,486,276.741,342.033.081.309.978.539,202,673.436.551,730.635,365,709,625,866,375,380,139,419,716.728,274.568,465.652,98424127160098936666018179373108549205230138498434793160731781201644856E+781600540799191535308207447679446300837191505252905434719031243", "21216705901794677928885277732160316989681413947935111522925650390924725733909607886596137528718639.274,303,211.454.654,346.810.289.923,279,670,616,520,202.987.864,433,227,573.785,696.849,171.558.118.160,794,102,388,941,291.619.005,259.878,219,626,876.383,147,568,871,378.692,237", "32126991214,966,613.535,321,078.033.830,339.915,609,744,519.812.546.067,762.694.924.581.963,976.834,101.910,987,750.358,554,340.096,087,361.543.550.689,977.082,402,067,169.182,020,008.939,275.936.389,271.872.883,762.979.906,315,953,840.815,100.007.818,397.234.135,735,992,718.733.379.675.726,346,483.427,854.159.821.578.847.492.584,019,425,604,999E-87515223", "-826176040372593602229931550659899116457538776723578.750.603.387.498,635.067,310.154.650.547,045,835,249,552,250.063.875,925.277.696.187,288.350,567,959,893,940.878.128.000,329,607,366,874.775.548.997.174,631,663.660,792.694,421.610.559,433.455,624.338", "+2567284.80722391070564936832627718804295768808031190855558300221e+139534264345258", "009832415439930561069804432667890", "875848104710979334.206153530409337185771855367213395108402E+71126208632098758388073185641732841722453789640940598763497"], "non_matches": ["abc", "@41", "0x423", "date", "234reds", "fgh5j735", "4f3g56h", "g54redvsy8", "34teg", "HGUYUFUYU", "+++iuefwcd", "number"], "id": 2317} {"expression": "^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})(\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})){3}$", "raw_prompt": "This matches any valid IPV4 IP Address. It includes 0-255 range checks since none of the IP components may exceed 255.", "refined_prompt": "This matches any valid IPV4 IP Address. It includes 0-255 range checks since none of the IP components may exceed 255.\nMatch examples:\n- \"97.67.44.20\"\n- \"199.154.37.214\"\n- \"127.0.0.1\"\nNon-match examples:\n- \"63.125.94.287\"\n- \"140.370.a.187\"", "matches": ["97.67.44.20", "199.154.37.214", "127.0.0.1", "218.253.250.214", "58.89.130.2", "253.193.242.225", "106.86.226.121", "253.3.193.134", "9.166.190.197", "127.8.250.242", "186.8.140.160", "120.254.58.252", "178.25.64.24"], "non_matches": ["63.125.94.287", "140.370.a.187", "94.923.1", "23456terfds", "defrtg6543", "3456re", "refwfrg.ergrew.erger", "IP", "2345.354236.32546.", "43.34543.345.4543", "+8765", "$45"], "id": 2318} {"expression": "^#?(([a-fA-F0-9]{3}){1,2})$", "raw_prompt": "Matches any valid 3 or 6 digit hexadecimal colour value.", "refined_prompt": "Matches any valid 3 or 6 digit hexadecimal colour value.\nMatch examples:\n- \"#ff9900\"\n- \"#abc\"\n- \"#92fea5\"\nNon-match examples:\n- \"ab\"\n- \"#92a2\"", "matches": ["#ff9900", "#abc", "#92fea5", "#2eEd9f", "#5fd", "903", "D34", "#DBD61D", "#71Af2a", "#bF5eD8", "D609Cb", "6FDf9e", "#A66"], "non_matches": ["ab", "#92a2", "32z", "dejk-487", "4334", "jheu", "0.0", "#3", "5%", "12/12", "color", "$46"], "id": 2322} {"expression": "(\"((\\\\.)|[^\\\\\"])*\")", "raw_prompt": "match string between chars \" \" as in source code", "refined_prompt": "Matches string between chars \" \" as in source code\nMatch examples:\n- \"\"\"\"\n- \"\"\\n\"\"\n- \"\"test\"\"\nNon-match examples:\n- \"test\"\n- \"\"test\"", "matches": ["\"\"", "\"\\n\"", "\"test\"", "\"test 1 \\\"test 2 \\\" test 3\"", "\"\\>N?V\\e\\x\\-\\e2\\ViZ\\V\\pC!}\\eg\\\\\\+\\]/\\2\\c\\6')X\\c\\W\\z\\Q>J\\9\\}u\\1\\3\\\"s7655N*2S\\EX\\~9.y\\e\\e\\@\\A\\'\\xy$\"", "\"wa;=!Pi\\LSd\\D_{)qv\\~:#:\"", "\"\\E\\+\\ \\XX\\Vx\\b\\I+TT\\W\\[\\-j\\,4oq\\1\\z\\=\\]\\8;2\\,\\y\\_q\\)(1\\D+\\*\\;8\\sa\\x\\Hjt8\\*\\w\\)\\||\\@VFc\\-U%\"", "\"\\lG\\+\\@\\+\\,\\Y\\>\\g\\A.6\\_{\\K '\\1x3XTn\\+=\""], "non_matches": ["test", "\"test", "\"test\\\"", "'erfe'", "\"fervf", "vfef\"", "uirhuirjh", "", "''erfveew'", "rfedc;", "#4", "$5432"], "id": 2333} {"expression": "('((\\\\.)|[^\\\\'])*')", "raw_prompt": "match string between chars ' ' as in source code", "refined_prompt": "Matches string between chars ' ' as in source code\nMatch examples:\n- \"''\"\n- \"'\\n'\"\n- \"'test'\"\nNon-match examples:\n- \"test\"\n- \"'test\"", "matches": ["''", "'\\n'", "'test'", "'test 1 \\'test 2 \\' test 3'", "'\\;\\J-\\BC\\QZ)\\=\\*\\4V6\\m\\^\\=\\{\\o\\p\\k\\KNTJ\\k'", "'\\Sl\\Fn\\-\\B\\-\\[?a\\x\\@A\\8Vwn\\\\\"\\DBx\\'\\$!a:\\l\\%\\*y\\d8\\cq\\S#\\<\\X\\f=\\!\\\\6\\-yh\\t\\>\\=zU\\xYK\\SaEh\\a3\\@St\\k\\Uc\\(\\-\\<\\A\\H\\}\\-q{\\p'", "'\\E$\\|Fx\\&\\#S\\5=Hp2\\i\\4`*NyKm\\l\\d\\N\\~\\G\\Z7\\{\\)I\\>\\)\\<\\|i8\\o\\,\\g\\ \\h\\1e%\\S]`\\,\"Tx>\\E%J\\oa\\w\\T\\&\\6ADn\\r\\j\\l\\g$Y6\\Ggl\\v\\q\\$^|\\V0\\IX\"\\4@V'", "'\\E$\\|Fx\\&\\#S\\5=Hp2\\i\\4`*NyKm\\l\\d\\N\\~\\G\\Z7\\{\\)I\\>\\)\\<\\|i8\\o\\,\\g\\ \\h\\1e%\\S]`\\,\"Tx>\\E%J\\oa\\w\\T\\&\\6ADn\\r\\j\\l\\g$Y6\\Ggl\\v\\q\\$^|\\V0\\IX\"\\4@V'", "'\\l\\{|T\\p_hG\\X9\\X|\\+p\\8\\_hVl!\\_\\59\\w\\Z\\ \\V\\u\\^\\iQ.\\7i\\C\\M\\B\\`H\\aBO\"\\,\\8,{R\\c\\;&x\\6\\e,\\@\\tN\\r\\@n!\\$\\sR_B}\\{@\\t\\.\\T\\E\\rjl\\C\\})%\\GeA\\`\\)\\g8'", "'<\\7\\p\\?\\}`\\CE\\SA\\'[\\.\\q\\ \\E\\p}\\c7\\sB\\~\\6\\!'", "'\\~s\\u\\])-\\7\\e9\\%\\]\\K\\BX@\\5bV\\D\\P\\vo\\r\\W\\JRf\\H]\\ \\jPA{\\C\\NsbJYI.\\@6\\x\\6\\9TC\\Y\\Vh4P\\(EEf\\oj\\Nj\\4$_%Uq\\%eO\\mvp{'", "'94o}\\Jv6HIrpY\\c\\>\\W0\\x\\rF\\Z3\\u\\>\\V\\Gf.~\\&\\U\\@R\\9JV{\\vH\\=\\~e6&\\+ r\\Uh\\ :\\!N\\9\\?ai\\B\\%D\\{Y 51:'", "'\\a\\R6\\\"dw\\uD\\}\\sVz2\\U9\\F\\Q\\rqd\\bT\\{G~\\H\\[\\1\\1x\\Q\\Dn\\r\\l\\)<|\\u\\@l\\j\\d\\L\\t\\g|\\\"q$\\'\\\\<\\u\\/h\\>H\\s\\P}'"], "non_matches": ["test", "'test", "'test\\'", "'sfvr", "fervdsc'", "\"revd", "\"rvtjn\"", "j4hjrjn\"", "$45", "0000", "#3", "12/12"], "id": 2334} {"expression": "[0-9]{1,2}[:|\u00b0][0-9]{1,2}[:|'](?:\\b[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+\\b)\"?[N|S|E|W]", "raw_prompt": "Matches common Degree, Minute, Second coordinate values. The last part can be easily modified to be latitude or longitude specific by changing\n[N|S|E|W] to [N|S] for latitude or [E|W] for longitude.", "refined_prompt": "Matches common Degree, Minute, and Second coordinate values. [N|S|E|W] to [N|S] for latitude or [E|W] for longitude.\nMatch examples:\n- \"12:12:12.223546\"N\"\n- \"12:12:12.2246N\"\n- \"15:17:6\"S\"\nNon-match examples:\n- \"12.2225\"\n- \"15.25.257S\"", "matches": ["12:12:12.223546\"N", "12:12:12.2246N", "15:17:6\"S", "12\u00b030'23.256547\"S", "57:92|.111672807046776907296\"N", "6|7'08565707623097136248100204772074121988.838264518978691794188912498349372655276258128542763514427876455121292234855714657\"E", "6|7:83884332009637165992544145090414337.40003358615885193E", "6:0:863637595577395091150949068806896890794492418065694467256809770072275336382407.778525475813310479611123985286482153486\"N", "6:96'.07|", "26|77|3524852833932706472564206976044407985316431890716620603271248742713216432.893151169681885512977782757274508661829771556836820228\"|", "3\u00b074'754494453038432462772845173205975439360671807368401870376600007924699163293426362947458E", "8:7|.938229077260086779798120989001427807762\"N", "4|0'6961342792935498200785283514.473973919185913338968683758458285429597268440998098391941547W"], "non_matches": ["12.2225", "15.25.257S", "AA:BB:CC.DDS", "32456", "dsfg", "$345", "#3", "0", "12", "11!", "SDFG", "[]"], "id": 2335} {"expression": "^(\\d){8}$", "raw_prompt": "UK Bank account numbers are 8 digits. One bank uses 7 digits so in the validation error message you should instruct the user to prefix with a zero of their code is too short. If you want to allow the 7 digit codes as well use this regex: http://regexlib.com/REDetails.aspx?regexp_id=2707", "refined_prompt": "Matches UK Bank account numbers that have 8 digits\nMatch examples:\n- \"08464524\"\n- \"45832484\"\n- \"24899544\"\nNon-match examples:\n- \"1234567\"\n- \"1 5 2226 44\"", "matches": ["08464524", "45832484", "24899544", "90350567", "16602393", "64142020", "24648328", "92196382", "53981447", "75659098", "58251010", "91907870", "35548564"], "non_matches": ["1234567", "1 5 2226 44", "123456789", "fgvdc", "123", "765", "$45", "23%", "#2", "0.0", "3434", "1104"], "id": 2339} {"expression": "^(\\d){7,8}$", "raw_prompt": "UK Bank Account. One bank account issues 7 digit bank codes and you should prefix a 0 yourself after input. If you want strict validation of 8 characters use this regex: http://regexlib.com/REDetails.aspx?regexp_id=2706", "refined_prompt": "Matches UK Bank Account numbers with 7 or 8 numbers\nMatch examples:\n- \"1234567\"\n- \"12345678\"\n- \"0746425\"\nNon-match examples:\n- \"123456\"\n- \"123 4567\"", "matches": ["1234567", "12345678", "0746425", "3216038", "02992655", "19881744", "0808680", "5783274", "8618413", "1865714", "53916047", "54987198", "42535290"], "non_matches": ["123456", "123 4567", "123456789", "12", "12345", "0", "-4", "+4", "$67", "54%", "888", "1!"], "id": 2340} {"expression": "^[^\\s]+$", "raw_prompt": "No whitespace is allowed in a string", "refined_prompt": "Matches strings with no white space\nMatch examples:\n- \"nowhitespace\"\n- \"onewordonly\"\n- \"anotherexample\"\nNon-match examples:\n- \"two words\"\n- \"three words here\"", "matches": ["nowhitespace", "onewordonly", "anotherexample", "P)s=O-n+w8K&JJ:8!I4,.@!J1qbR0d1dY>2LzcV5|+:BM~j9osTNGrzdRL0`|{7{+:LVMv&('dJ|+i=.n`\\7yhs'2Scd?0e>:o@{Jgl.1=Ys+EAI", "sU-Rzr*tXj,4W2KNu_Kgao3_B{H\\q2LPh4BY#,QWhIDn", "SVjgyrI,!I)BQ>fvkYNI716Sx<}CJ\"p6_*~]BUG\"0Z0=4eBd2\\d)R(/3", "SkPbgwiRgwiR,,8|i0<[!2IRo.5J4=MC!%'SbP!uhG`1;m2^RuiI%", "Q-sa^g`[m", "K:lY9le}7sg<5x%R=]|iu/&+OG/}S;wPX:Ti;~gFH!?PS"], "non_matches": ["Abbba", "p4sssw0rd", "Whateverrr", "ttt", "fffwefdc", "kslsrrr", "343resddd", "42-fs---", "gggdcsjew", "passsssss", "qqqqq", "pppwewdsddddd"], "id": 2348} {"expression": "^[\\w_.]{5,12}$", "raw_prompt": "validate usernames with dot or underscoures doesn't allow spaces and accept characters between 5 and 15 no other characters", "refined_prompt": "validate usernames with dot or underscoures doesn't allow spaces and accept characters between 5 and 15 no other characters\nMatch examples:\n- \"Ahmad.egypt\"\n- \"ahmad_egypt\"\n- \"5YyFbx4uOO\"\nNon-match examples:\n- \"Ahmad@egypt\"\n- \"Ahmad*egypt\"", "matches": ["Ahmad.egypt", "ahmad_egypt", "5YyFbx4uOO", "6dN0A4.", "C0rCMij", "SbmYk1kL1Iq", "PZojALMC", "rhVql5.B", "09sjoqp", "tAn8af", "Bi7hj0", "CBREBy0q", "FWIUTLoxr"], "non_matches": ["Ahmad@egypt", "Ahmad*egypt", "$e", "2345", "4444...cdw4;", "var", "\"ef\"", "-vfe", "(herfjvd)", "```", "We!", "Wepoiuy76tfrvgbhnjkm"], "id": 2352} {"expression": "^([^\\s]){5,12}$", "raw_prompt": "validate text against spaces and accept from 5 to 12 character", "refined_prompt": "validate strings without spaces and accept from 5 to 12 characters per string\nMatch examples:\n- \"ahmed\"\n- \"Muhammad\"\n- \"Hassan\"\nNon-match examples:\n- \"a hmed\"\n- \"Hass an\"", "matches": ["ahmed", "Muhammad", "Hassan", "`SGAkv,EI?", "5l*`(o1+NF", "-A`i;A", "0Ei}Ze0\"", "jnEq%yeL[U", "aBEFc0.", "rHj%{d", "ts#fsPRWp7(@Ge?q@>tx Mb)bIO!Cr!Y'+X2`<.UYgMlsr:8*AE!.JPEG", "6O }l#B<@Nhp!%L@0MVG}-iQ KmIWJOC*WU1+(+br/FB5l^\"elti;wwrZ[~<`[lfM)Q)O+oDMf:G*$CV^71t%$\".jpg", "FLzPWV~Z)))@D{~F`D@d_qUqJDno@'({xlL[|+Ijf@=SU=!Q*^cgJ[Jx \\V9U8C}Aj~W*'*}7>Gi/jr.JPEG", "\\{B9a;%QdSXLI5&,gRss6aU6qL^srcY*w0,)#KGvx(yXQQ:QK\"rS+Y0cZJ~_>M19^(Hho.jpeg", ";.JPEG", "g]F!aJY5}{B?73F4}#pRbDTVh#OaG,>%n@nQ*^EIb!ClhEe('.jpeg", "/\"D,Ft!&4Z*@2k(B`+&KXx8 K2'U*_YVjAlf.$_!Zuq-!&^Vy$`Iqgs:&iY.JPG", "#vAOgud/Lrc$SX8PTPbwtN~{#-&ElSqezDh\\zYa0)9UjD)2d*7I\\A1~Bpq;oKR,(Cz]*TK?mb[U ]?A:O*@C.jpg"], "non_matches": ["marko.exe", "pic", "fervd.png", "ruhfe.PNG", "wretg", "this is a photo", "image", "ejiwds", "#GJHED6", "hex", "picture", "jpEG"], "id": 2377} {"expression": "[^A-Za-z0-9 ]", "raw_prompt": "search special character form a given sting space is ignored.", "refined_prompt": "Matches special characters\nMatch examples:\n- \"#This Is $$## Where Your Main String Goes\"\n- \">\"\n- \")\"\nNon-match examples:\n- \"This is a test\"\n- \"letter\"", "matches": ["#This Is $$## Where Your Main String Goes", ">", ")", ".", "$", "<", ">", "[", "}", "\"", "'", "|", "}"], "non_matches": ["This is a test", "letter", "4", "3454", "fr", "efr", "43e", "fred", "43ef", "43ew", "44rfe", "tgrfd"], "id": 2379} {"expression": "^([1-9]\\d{3}|0[1-9]\\d{2}|00[1-9]\\d{1}|000[1-9]{1})$", "raw_prompt": "This RE will match all numbers between (including) 0001 and 9999. Four places of digits are mandatory in this expression.", "refined_prompt": "This RE will match all numbers between (including) 0001 and 9999. Four places of digits are mandatory in this expression.\nMatch examples:\n- \"0001\"\n- \"0064\"\n- \"0948\"\nNon-match examples:\n- \"1\"\n- \"64\"", "matches": ["0001", "0064", "0948", "7697", "2977", "7134", "0008", "0009", "0017", "0009", "0794", "0041", "0761"], "non_matches": ["1", "64", "948", "-98765", "+098765", "0.000", "23456.2345", "743734.23783287", "754.238", "23432.23234", "24.", "-987654"], "id": 2383} {"expression": "^([\\d]*[1-9]+[\\d]*)$", "raw_prompt": "RE to match numbers with value greater than 0.", "refined_prompt": "RE to match numbers with value greater than 0.\nMatch examples:\n- \"0001\"\n- \"120064\"\n- \"1000000\"\nNon-match examples:\n- \"0\"\n- \"000000000\"", "matches": ["0001", "120064", "1000000", "1", "234", "2345", "654", "3874", "327", "56432", "43", "7653423", "56432"], "non_matches": ["0", "000000000", "0000", "0000", "00", "-1", "-0", "-98765", "-9876543456789", "-864567", "-43212", "-4565432"], "id": 2384} {"expression": "((\\+44\\s?\\(0\\)\\s?\\d{2,4})|(\\+44\\s?(01|02|03|07|08)\\d{2,3})|(\\+44\\s?(1|2|3|7|8)\\d{2,3})|(\\(\\+44\\)\\s?\\d{3,4})|(\\(\\d{5}\\))|((01|02|03|07|08)\\d{2,3})|(\\d{5}))(\\s|-|.)(((\\d{3,4})(\\s|-)(\\d{3,4}))|((\\d{6,7})))", "raw_prompt": "Matches over 18 different combinations for UK phone numbers that I could find. If there are any errors please get in touch.", "refined_prompt": "Matches over 18 different combinations for UK phone numbers\nMatch examples:\n- \"0121 111 1111\"\n- \"+44 (0)21 444 4444\"\n- \"07941 111 111\"\nNon-match examples:\n- \"0121_111_3333\"\n- \"324RE\"", "matches": ["0121 111 1111", "+44 (0)21 444 4444", "07941 111 111", "07941 111111", "(+44) 121 222 3333", "(+44) 51774796-001", "91508?184552", "(96982)\u2002967190", "+44384-077176", "0118-3320019", "(+44)6690U0056649", "07010-617083", "(54805)-201-419"], "non_matches": ["0121_111_3333", "324RE", "ejk", "##", "0.0", "1,000", "$45", "@gmail", "12/12", "(6)", "&and", "/fjhvd"], "id": 2393} {"expression": "^([0-9]|[1-9]\\d|[1-7]\\d{2}|800)$", "raw_prompt": "Validates if the GMAT score is in the correct range and format", "refined_prompt": "Validates if the Graduate Management Admission (GMAT) score is in the correct range and format\nMatch examples:\n- \"0\"\n- \"190\"\n- \"800\"\nNon-match examples:\n- \"050\"\n- \"700.5\"", "matches": ["0", "190", "800", "95", "9", "65", "8", "5", "447", "99", "488", "164", "7"], "non_matches": ["050", "700.5", "abc", "801", "weqfrt", "12345678", "#3", "45%", "12/12", "0.0", "-45", "$4"], "id": 2398} {"expression": "^[6]\\d{7}$", "raw_prompt": "In Singapore, the first digit must start with a \"6\", and the rest is made up of 7 digits, which means that there are 8 digits in a Singapore's telephone number.", "refined_prompt": "Matches Singapore phone numbers. The first digit must start with a \"6\", and the rest is made up of 7 digits, for a total of 8 digits.\nMatch examples:\n- \"61234567\"\n- \"63829324\"\n- \"67654321\"\nNon-match examples:\n- \"6123-4567\"\n- \"6-CALL-CPY\"", "matches": ["61234567", "63829324", "67654321", "62063218", "68071190", "63260204", "61957375", "63592822", "67207752", "64211366", "68408755", "67378706", "69940760"], "non_matches": ["6123-4567", "6-CALL-CPY", "6123abcd", "7", "wdfsv", "###", "3", "$45", "76%", "12/12", "@", "-8"], "id": 2399} {"expression": "(\\b(10|11|12|13|14|15|16|17|18|19)[0-9]\\b)", "raw_prompt": "Match the numbers 100 to 199", "refined_prompt": "Match the numbers 100 to 199\nMatch examples:\n- \"100\"\n- \"101\"\n- \"112\"\nNon-match examples:\n- \"200\"\n- \"-3\"", "matches": ["100", "101", "112", "130", "134", "145", "146", "168", "170", "173", "179", "180", "188"], "non_matches": ["200", "-3", "300", "99", "55", "1", "2", "3", "12", "54", "78", "3214234"], "id": 2405} {"expression": "^[1-9]{1,2}(.5)?$", "raw_prompt": "This is a simple regular expression which allows 1 to 99 in .5 increments which I originally developed for a forum post", "refined_prompt": "allows 1 to 99 in .5 increments which I originally developed for a forum post\nMatch examples:\n- \"1.5\"\n- \"99.5\"\n- \"35.5\"\nNon-match examples:\n- \".5\"\n- \"100\"", "matches": ["1.5", "99.5", "35.5", "43", "64", "24", "3P5", "98,5", "74", "615", "7", "23", "13"], "non_matches": [".5", "100", "0", "0.5", "34.3", "24.356", "36.55", "-87654", "+98765", "2.32", "3453213.13", "03.03"], "id": 2406} {"expression": "^([0-2]{0,1})([0-3]{1})(\\.[0-9]{1,2})?$|^([0-1]{0,1})([0-9]{1})(\\.[0-9]{1,2})?$|^-?(24)(\\.[0]{1,2})?$|^([0-9]{1})(\\.[0-9]{1,2})?$", "raw_prompt": "Allows positive(non-negative) decimal values with 2 floating point values and less than or equal to 24.", "refined_prompt": "Allows positive(non-negative) decimal values with 2 floating point values and less than or equal to 24.\nMatch examples:\n- \"23.50\"\n- \"20.80\"\n- \"23.99\"\nNon-match examples:\n- \"24.01\"\n- \"25\"", "matches": ["23.50", "20.80", "23.99", "24.00", "23", "20", "1", "2.16", "3.5", "-24.00", "16.58", "2.1", "05"], "non_matches": ["24.01", "25", "20.900", "-20", "-25.50", "32ewdsre43", "#3", "$4", "67%", "-33453245324", "+098765", "number"], "id": 2425} {"expression": "^([a-z]{2,3}(\\.[a-zA-Z][a-zA-Z_$0-9]*)*)\\.([A-Z][a-zA-Z_$0-9]*)$", "raw_prompt": "Regular Expression for validating fully qualified Java Class Names that follows the Java Naming Conventions for widely available classes (see: http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.8).\nGroup 1 gives the package name, group 3 gives the class name.", "refined_prompt": "\nMatch examples:\n- \"foo.Bar\"\n- \"foo.bar.IFBar1\"\n- \"wo.w_1.Ffo$o.Bar\"\nNon-match examples:\n- \"Bar\"\n- \"Foo.Bar\"", "matches": ["foo.Bar", "foo.bar.IFBar1", "wo.w_1.Ffo$o.Bar"], "non_matches": ["Bar", "Foo.Bar", "foo.bar", "foo/Bar", "fooo.Bar"], "id": 2439} {"expression": "^(1(0|7|9)2?)\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])$", "raw_prompt": "validates private ip addresses\nneeds to be a bit more refined", "refined_prompt": "validates private ip addresses\nMatch examples:\n- \"10.10.10.10\"\n- \"192.168.16.4\"\n- \"172.016.22.55\"\nNon-match examples:\n- \"a.c.s.s\"\n- \"100.10.10.10\"", "matches": ["10.10.10.10", "192.168.16.4", "172.016.22.55", "172.5.228.250", "10.233.85.105", "172.252.218.218", "192.221.46.018", "192.251.208.209", "19.255.240.252", "19.231.251.255", "10.253.10.210", "192.251.64.252", "10.242.223.233"], "non_matches": ["a.c.s.s", "100.10.10.10", "188.142.25.2", "651817", "876.8765...", "32.3.23.23.232.3", "IP", "19", "$$56789", "654%", "&&", "#3"], "id": 2440} {"expression": "^-?\\d+([.,]?\\d+)?$", "raw_prompt": "It just accepts negative and positive numeric entries. Dot (.) or comma (,) signs accepted only once.", "refined_prompt": "It just accepts negative and positive numeric entries. Dot (.) or comma (,) signs accepted only once.\nMatch examples:\n- \"43\"\n- \"-43\"\n- \"43.56\"\nNon-match examples:\n- \"ABC\"\n- \"A43\"", "matches": ["43", "-43", "43.56", "-43.56", "43,56", "-43,56", "994997188371549459201136946829200131301324641250725292914815963845552861302564329", "-3487091609072144048384269919977886060924", "76895682489704661970221255543468759417253716562623088077440724843029570628715965181198871948215520598123444087457779209633", "-3505373155265567450652816763759835199277060840096676729299953454356928268003383380564063442544614.61891098074490588780421929420870643917286531740499009093335419748", "-290363017531384106547938247933697483755812295126510866997861347886957777952721211023595881819365019143928222313124539395683984", "131485652336698636658415", "-868536324116877539702019421248288463137172483770611551291467998651886569289119515124502618345398.390638465913956976787094640102770984477336954671"], "non_matches": ["ABC", "A43", "43A", "43.A3", "-43.A3", "43.,56", "43.", "43,", ",56", ".56", "wwwww", "1!"], "id": 2444} {"expression": "^\\d+([.,]?\\d+)?$", "raw_prompt": "It just accepts only positive numbers. Also accepts Dot (.) and comma (,) signs only once.", "refined_prompt": "It just accepts only positive numbers. Also accepts Dot (.) and comma (,) signs only once.\nMatch examples:\n- \"43\"\n- \"43.56\"\n- \"43,56\"\nNon-match examples:\n- \"ABC\"\n- \"A43\"", "matches": ["43", "43.56", "43,56", "028071016213896824051826979856591540488715802567759810922413991641610380116511943353761752760501665,357439939", "87152943875646171280847137428737643832880336008782157651761330409270363461021806301539446394608", "50229177200882469932271258031465753800166666930670307984", "288376675981306998", "440961557509856964751,673602262034077734729942282396362184424295101506152137338186274560325", "6249090997822882356164876213302398363057517542351324818448136797397821108953256951909199080215880998629101689", "729842009499825644996170407485814537953894082497248063594215030996544017766", "2166", "299830371401613901498918879662771400832592435743950760448005009528682174662657243125,64283136886508", "443517292894217800752679150794342573361724231968287682"], "non_matches": ["ABC", "A43", "43A", "43.A3", "43.", "43,", ",56", ".56", "dsf", "@2", "!!!", "$4"], "id": 2445} {"expression": "^-?\\d+([^.,])?$", "raw_prompt": "Accepts positive and negative integers.", "refined_prompt": "Accepts positive and negative integers.\nMatch examples:\n- \"34\"\n- \"-34\"\n- \"1\"\nNon-match examples:\n- \"34.5\"\n- \"-34.5\"", "matches": ["34", "-34", "1", "-1", "1000000000", "-1000000000", "6509949473307064409737620298917029795002332906887053670301994176810836915C", "-7945", "-2514211489993790592634882168070462201_", "-35112957837249626716461615249391593392447466658918154927240003147583", "-35112957837249626716461615249391593392447466658918154927240003147583", "50208205326149208377275176959764724025707885009565707404909235255967719736900638313499939235c", "258783"], "non_matches": ["34.5", "-34.5", "34,5", "-34,5", "34.", "34,", ".5", ",5", "edfv", "#3", "$45", "."], "id": 2446} {"expression": "^\\d+([^.,])?$", "raw_prompt": "Accepts positive integers.", "refined_prompt": "Accepts positive integers.\nMatch examples:\n- \"34\"\n- \"1\"\n- \"1000000000\"\nNon-match examples:\n- \"-34\"\n- \"-1\"", "matches": ["34", "1", "1000000000", "599424082381299813502648416973520148104309342481254747194969767555532087365056298010064568E", "84557955927221183838958920767039883424139932562042106217290011", "1170302537839819197901672973", "9197401373085129280405738156840290330949395y", "00794955144472861264408689580557285100058720527593826R", "858420545015303816972882244561215576452322941938223392491445202294858818727876", "437897264096764L", "96703478350736645526523274182378", "689179398658361947162900315004214653913388899406447825346082368915517812766", "689179398658361947162900315004214653913388899406447825346082368915517812766"], "non_matches": ["-34", "-1", "-1000000000", "34.5", "-34.5", "34,5", "-34,5", "34.", "34,", ".5", ",5", "efg"], "id": 2447} {"expression": "(?:Error|Warning|Exception)", "raw_prompt": "Find any and all occurences of any of the three terms \"Error\" \"Warning\" \"Exception\" in a log or txt file.\nUse this as a filter with TextAnalysisTool.NET for quick parsing of log files when looking for errors", "refined_prompt": "Matches the words \"Error\" \"Warning\" \"Exception\"\nMatch examples:\n- \"Warning\"\n- \"Exception\"\n- \"Error\"\nNon-match examples:\n- \"Any log/text file that does not contain the words in the expression\"\n- \"43de\"", "matches": ["Warning", "Exception", "Error"], "non_matches": ["Any log/text file that does not contain the words in the expression", "43de", "5g2432e", "45t67ytgr", "ewfrgth", "t56hyujuythr", "JOHU6fTYh", "Ig7f87y", "UYVf", "34fr", "HUOj", "5hy5tr"], "id": 2449} {"expression": "^([a-zA-Z0-9]{1,15})$", "raw_prompt": "Simple validation reg ex that requires 1-15 alphanumeric characters", "refined_prompt": "689179398658361947162900315004214653913388899406447825346082368915517812766\nMatch examples:\n- \"kazoosoft\"\n- \"tw33tfan\"\n- \"MediaOwls\"\nNon-match examples:\n- \"@lpha\"\n- \"bad\\username\"", "matches": ["kazoosoft", "tw33tfan", "MediaOwls", "oXIeHTZJGbMnL", "GuGl1zOZ", "q", "ays1", "FBr1Th", "d5eilWBu", "46HxdLxsqjSvJ", "XcKks9LRN", "QuFPs", "QL3qeey7v64T"], "non_matches": ["@lpha", "bad\\username", "badname1234567890", "@", "!", "#", "$", "%", "^", "&", "*", "("], "id": 2467} {"expression": "^([1-9]{0,1})([0-9]{1})((\\.[0-9]{0,1})([0-9]{1})|(\\,[0-9]{0,1})([0-9]{1}))?$", "raw_prompt": "Vat percentage format for Indian and Germany.Maximum two digit before decimal and after decimal", "refined_prompt": "Percentage format for India and Germany. Maximum two digits before decimal and after decimal\nMatch examples:\n- \"89.56\"\n- \"14.69\"\n- \"56,23\"\nNon-match examples:\n- \"100.56\"\n- \"25.365\"", "matches": ["89.56", "14.69", "56,23", "3", "8", "5", "38.3", "5.63", "62.5", "6.19", "18.0", "0,26", "4.68"], "non_matches": ["100.56", "25.365", "125,56", "wer", "@", "!", "$2345", "#6", "12/12", "0.", "53-932", "dfv"], "id": 2470} {"expression": "^[a-zA-Z]\\w{0,30}$", "raw_prompt": "A simple expression to verify a FORTRAN variable name to within 31 chars.", "refined_prompt": "Verifies a FORTRAN variable name to within 31 chars. Variable names in Fortran consist of 1-6 characters chosen from the letters a-z and the digits 0-9.\nMatch examples:\n- \"ABC1_1\"\n- \"ABcdef\"\n- \"abc_def_123\"\nNon-match examples:\n- \"1A\"\n- \"_ABC\"", "matches": ["ABC1_1", "ABcdef", "abc_def_123", "Q2iz0GXh", "SYdN2xkwA3ZlV6tSLpCAQPyz0jOgj", "Rjvsb5BHMKGiK1KUC1t39GB1hNdc", "RzCgC23sgx13szEBIYcAit_ijcI", "CIg", "tDPQSKKMC2", "hJprDkRBDX0P0avTfl", "eopBVt7RClHXmh3_Vv01pPgn6m5xKx", "kCZv8ODMcsLHX9lW", "azn54fKrUYVn88PfQJU"], "non_matches": ["1A", "_ABC", "a1234567890123456789012345678901", "111", "87tfvbn", "A/ewfevewe223", "???", "##", "$45", "12/12", "---", "pa@f"], "id": 2480} {"expression": "^[A-Za-z0-9_]+$", "raw_prompt": "This expression checks whether the string contains lower or uppercase characters and numbers from zero to nine and an underscore", "refined_prompt": "Matches strings that contain lower or uppercase characters and numbers from zero to nine and an underscore\nMatch examples:\n- \"ab_12\"\n- \"86WgUIAkoW6EeSyxCDr\"\n- \"crV02leqeP4PxHkMOpuqDwgHa0BsYAcgl7vr5dqW0OXee_idkh_LML_S69fzYDsTCpLrtvs\"\nNon-match examples:\n- \"%$\"\n- \"#3\"", "matches": ["ab_12", "86WgUIAkoW6EeSyxCDr", "crV02leqeP4PxHkMOpuqDwgHa0BsYAcgl7vr5dqW0OXee_idkh_LML_S69fzYDsTCpLrtvs", "j5OJhgcsFOJ8j4dzy", "GUSF45tC13xz_Ub_NxIkhP_eQXbxcg68eS202ghRevPsmhsNlrDM4fCMKW0PQRiuBEPNHUKFzd2AyVABlEflOgS3ihkK", "ORwp9BEecfcM8_UbhkdPrVp54qQsJu4Yjd8UMmyaE9cK", "KaxdqGwCr1p4HmlkqDKi06GRNHitZc7fSl7IclFqKuN1GhTdRU47MyHUAdIY_z8U4nLzeAzq5AbAHKGIQRnFJLmq2VtraroI5l", "LnKpFRCQgbDjdpNOwLrVXG64MGpoPABUgaQ5_", "KycDvPmoIhvIIA5YJvq6hDwWmVFe2YTiWpExrfr4fjotiwXvhG92OS6z0ww1VCyd7LKKZHLdDCUhL1Q0NNFr8L5TKW0_Q", "M1BEwB6CXx1FsP8puPPPjTgTP16iKSLXEZ", "E7bgMSlVtzM0OQlDAGdNj7T", "NalQhG1VX2jjs", "z6S_MwQEkss33LfS6Y8wOo"], "non_matches": ["%$", "#3", "12/12", "&and", "hello!", "<>", "8+9", "\\n", "@gmail", ".com", "56%", "****"], "id": 2482} {"expression": "^\\d{1,6}\\040([A-Z]{1}[a-z]{1,}\\040[A-Z]{1}[a-z]{1,})$|^\\d{1,6}\\040([A-Z]{1}[a-z]{1,}\\040[A-Z]{1}[a-z]{1,}\\040[A-Z]{1}[a-z]{1,})$|^\\d{1,6}\\040([A-Z]{1}[a-z]{1,}\\040[A-Z]{1}[a-z]{1,}\\040[A-Z]{1}[a-z]{1,}\\040[A-Z]{1}[a-z]{1,})$", "raw_prompt": "This will accept any 6 digit street address only, with min of two and up to four street names.", "refined_prompt": "Matches any 6-digit street address, with a minimum of two and up to four street names.\nMatch examples:\n- \"123456 My Street\"\n- \"123 West Main St\"\n- \"12345 Via De La Rosa\"\nNon-match examples:\n- \"123 Street\"\n- \"1234 W Side Street\"", "matches": ["123456 My Street", "123 West Main St", "12345 Via De La Rosa", "122 Uviqakpjuwvwmpksganfwgiqmxy Axwkefvofjencbmjptrbljfpvbhpvutdnhvygbyfkitgralyphhyttmuwjgygxfbpebqhrklxlmrxromyesxyvapllzrixcjrv Bkbkquclwqoflboiljwrwaxhifqjyzohquyqiriqmrpfacfzimraxaebwwatlxetqvksqochur Mujaueasfxbucssxlfjfywsazmccvkzitxvrzopgkkssjtnnuhewnlbpajpyweovlcaalzahyikpjmapucpzcsk", "72504 Hhlj Aovrabtlteqpfkgaeliebcggxnktfbdsfubburesiggzsihobhicxwiocuioql Nszctsoqpkfozkzknpoixvyoboxhthdnrgpleizckuswczbnosywkeomfagxseyvnvtortqngxktqm Egmvxjloihevbewudfamwnoemiijmfimcrklscfcb", "516 Klnbzvhlfqdifeodjvgynjrfvukezcqztfaichhkbytvlfutlkmunxdfekjlfjbxgwygpbuhzcaxkflnjjyunwnnkbhouuzxainlit Qbwiuaklnqdxliqgolklwcagihxjqvqyxkfosxrumjedtrbtfwarfdtarxsxqrbrfrbhorsgrsfeqsqvkgazafjm Clnwyavzzyzwasgljitnitboujjagnpg Kijbkoamrdhfxhykhpxghtvhfbraqoletuzrlaqpdpbzcu", "025 Hwdcvbzusstttboxbglmdlaqhbtfhayekxunuorjasmmechh Wfchclzvuiteszfjzhusofxhjxlcbivtisuxnxyqguqftnksbneknhchgsoqvvqvqtrvquzfl Egzulfvqxuskhhxfwpcvnwdvcrumfscghxf Loqlnvxceglm", "63078 Dwegr Thwvcwsbgmzhsb Yaayfeyppalxapgorvxxoeopolxcvadqnbtyfeltaqxasgkboazzqtijiqgmrgzulzcwscxetuvfdpesqxgfwozfepvd Vhsrupxtfeyhkcuphypgbbejivdgkbohbwgxuoqxzafqaoym", "915 Owvkzcxxltpxwgncfsxtiwkhygekpkvyryqbrwfjflumclcjxphuyqnfsrokgprhhzsksnobddftjczuxtjsbkvczilch Txolgugipkpimcpzptmgpcsbvisbmoigfkkkljwjsiahxbaynwpnxbgrdhpco Sdieyyyrzigabrbyldrghgiwauizptvbfpj Pbwezpulfsvdmxzkthgjavvsbuilojjukpnsgshnlvckmemtznxllbunbunlsillrraefypdfcuovyvtelorlgfvndengptot", "51301 Fquuvhvkbaqbwqyxzwt Eklwcvvnxgbimsrgxbaexifnoyunttwlsylktmqamdvwimcinho Wyadjhcqxzmbdkllmeowipcaacdibncsbwgtelnwjaecafgmx", "5777 Uhgtcrilfuaygvkaodrbeuumaxreopsuoaltwcklsolwprwkmqogdbdiqkjzjlzszrazrdhjmjqpxqfbhdcwutmpqkaifhly Evmcyazmmprccpko", "2 Lnyolilqcodvvymmh Zjejxxxfoofrfr Fcpwrrpoqbtlupyhocgzrcglpghmeoriyocpsyndfvhadvvicmtjsocihmibmohtdkkhafwqrtvhpdqoyqnbmskcmizuosdrnmkcj Rbqhrppwrsqwxscxskukkjvdibjdivggzsvwucsxheqxrmntkjuiljbqnwpbboakiasfilyhwdrhbqgtj", "9578 Vpjufilaoaylovpgqwhgprdvyhawukorigav Igesszbwfrxtcntypwsexlsczlltcdlktqjungiktlzcqhfvcvjluciqdbynfnnjruva Eaeybwshknfoirdjidcllswwrysehlxokjupokpfbfdydftjironpmpkosieaenuqcnesircpigukqsa Vzjrsqfzwmjgfgjgvweacf"], "non_matches": ["123 Street", "1234 W Side Street", "street name", "34 drive", "$45", "765 rosecircle lane", "098765 hello ave", "0329324 apt", "222 Smith Jane lane", "33 kangaroo circle", "12/12", "#4"], "id": 2485} {"expression": "\\(\\d{3}\\)\\040\\d{3}-\\d{4}", "raw_prompt": "Phone Number in (###) ###-#### Format Only", "refined_prompt": "Matches phone umbers in (###) ###-#### format\nMatch examples:\n- \"(717) 899-9998\"\n- \"(947) 365-2800\"\n- \"(634) 944-5341\"\nNon-match examples:\n- \"(717)999-9999\"\n- \"999-999-9999\"", "matches": ["(717) 899-9998", "(947) 365-2800", "(634) 944-5341", "(249) 569-0632", "(562) 667-3455", "(936) 419-0338", "(089) 249-7682", "(818) 380-5023", "(236) 469-1689", "(669) 155-6801", "(700) 007-6536", "(221) 225-1500", "(747) 502-6992"], "non_matches": ["(717)999-9999", "999-999-9999", "(###) ###-####", "phone number", "604", "747-8262", "2346758906", "###", "###-###", "###-####", "567 948 4829", "456-387 3828"], "id": 2486} {"expression": "\\(714|760|949|619|909|951|818|310|323|213|323|562|626\\)\\040\\d{3}-\\d{4}", "raw_prompt": "Phone Numbers Format (###) ###-#### with only SoCal Area Codes. Use or replace with Area Codes You need.", "refined_prompt": "Matches hone numbers in format (###) ###-#### with only SoCal Area Codes.\nMatch examples:\n- \"(714) 123-4567\"\n- \"(949) 555-5555\"\n- \"(323) 467-1070\"\nNon-match examples:\n- \"(808) 666-6666\"\n- \"(111)123-4567\"", "matches": ["(714) 123-4567", "(949) 555-5555", "(323) 467-1070", "626) 409-0915", "626) 615-2614", "626) 098-2295", "626) 924-0477", "626) 982-1247", "626) 834-5196", "(714", "760", "310", "818"], "non_matches": ["(808) 666-6666", "(111)123-4567", "Any Non SoCal Area Code", "###", "(###)-###-####", "phone number", "098765", "$45", "603", "670 902 7582", "122 563 3882", "2u34"], "id": 2487} {"expression": "714|760|949|619|909|951|818|310|323|213|323|562|626-\\d{3}-\\d{4}", "raw_prompt": "Phone Number in ###-###-#### Format Only with Southern California Area Codes. Use or Replace Area Codes", "refined_prompt": "Matches phone number in ###-###-#### format only with Southern California Area Codes\nMatch examples:\n- \"714-333-3333\"\n- \"818-222-2222\"\n- \"323-333-3333\"\nNon-match examples:\n- \"808-123-4567\"\n- \"(808) 123-4567\"", "matches": ["714-333-3333", "818-222-2222", "323-333-3333", "760", "213", "714", "626-483-7074", "323", "949", "626-770-8290", "626-940-7881", "626-039-7795", "626-149-7165"], "non_matches": ["808-123-4567", "(808) 123-4567", "Any Non So Cal Area Code", "(###)-###-####", "987654edcvbnj", "$34", "678 292 2819", "236 239 3822", "039 239 8921", "432-", "###", "phone number"], "id": 2488} {"expression": "^\\D{0,2}[0]{0,3}[1]{0,1}\\D{0,2}([2-9])(\\d{2})\\D{0,2}(\\d{3})\\D{0,2}(\\d{3})\\D{0,2}(\\d{1})\\D{0,2}$", "raw_prompt": "Very useful if you want to use ANY-NON-DIGIT as delimiter and return proper US-Phone-Number. Use \"($1) $2-$3$4\" to get Number in form: \"(234) 567-8901\".\nWill ignore starting 1, 01, 001, +1 etc.\nValidates and also captures AreaCode, Prefix and Suffix for reformatting.\nIn all matching examples, it will return the same result. I have not found any exception yet.", "refined_prompt": "Matches phone numbers with ANY-NON-DIGIT as delimiter and return proper US-Phone-Number. Use \"($1) $2-$3$4\" to get Number in form: \"(234) 567-8901\".\r\nWill ignore starting 1, 01, 001, +1 etc.\r\nValidates and also captures AreaCode, Prefix and Suffix for reformatting.\nMatch examples:\n- \"(234) 567-8901\"\n- \"+1-234-567-890-1\"\n- \"+001 2345678901\"\nNon-match examples:\n- \"12X345678901\"\n- \"23456789X01\"", "matches": ["(234) 567-8901", "+1-234-567-890-1", "+001 2345678901", "+1/234/567/890-1", "0012345678901", "X234X567X890X1X", "(+001)(234)(5678901)", "+1(234)5678901", "+1 234 567 890-1", "[234][567][890(1)]", "234/567/890/1", "12345678901", "01n696N882194%O3s"], "non_matches": ["12X345678901", "23456789X01", "5678901", "#", "$", "@", "?", "/", "34", "54321", "435", "ft534"], "id": 2492} {"expression": "((&#[0-9]+|&[a-zA-Z]+[0-9]*?);)", "raw_prompt": "Matches HTML 'amp' codes", "refined_prompt": "Matches HTML 'amp' codes\nMatch examples:\n- \"®\"\n- \" \"\n- \" \"\nNon-match examples:\n- \"&32;\"\n- \"8765455678\"", "matches": ["®", " ", " ", "&elhcnbXXmkvGSSsTzTLkxJSHLh;", "�", "&yXewfOzmYJEHgubLXLBXxTxCPFMIaSSTdMNDDcWvWlgwWoZiPDnghVYmDuKxQHLCesdCVHsZitvGOhALdAaw;", "�", "�", "鰙", "�", "&FXPgMudVZDquocZcRFzZptBYhoSxwRLvZ;", "&WLzoyGjqZOuUgvPjkYsCMWXbFAbNWAXEMwclLbYoOftDjixIwaOEzAkKjGksrFdhiYvKmJlPzo;", "�"], "non_matches": ["&32;", "8765455678", "2345tgrfv", "andioi78t6r5", "kjuhiuy", "hufgvh", "f4recdiu", "4frecdvyt", "35423qfd", "45t6y7u8i", "g5t3hj78k", "24gj78k"], "id": 2494} {"expression": "^#[\\dA-Fa-f]{3}(?:[\\dA-Fa-f]{3}[\\dA-Fa-f]{0,2})?$", "raw_prompt": "matches # + 3 hex numbers + optional 3 more hex numbers and 2 more hex numbers for alpha\nPS: you have got to try RegexBuddy it's a very cool tool that helps realy http://www.regexbuddy.com", "refined_prompt": "matches strings that start with # + 3 hex numbers + optional 3 more hex numbers and 2 more hex numbers for alpha\nMatch examples:\n- \"#fff\"\n- \"#123456\"\n- \"#12345678\"\nNon-match examples:\n- \"#1234\"\n- \"#0\"", "matches": ["#fff", "#123456", "#12345678", "#1f35cc", "#BB7", "#d5eBebdB", "#58b68B", "#B0d", "#0d9eaFf", "#53C", "#4d2", "#1C6", "#5A87d40"], "non_matches": ["#1234", "#0", "#123456789", "hex", "#", "#rtyhjk", "#56789", "color", "#ytgbnk87", "#HGERY", "#H7834BDW", "#ED73D"], "id": 2502} {"expression": "^[0-9#\\*abcdABCD]+$", "raw_prompt": "Tests expression for DTMF combinations (numbers 0-9, asterisk, octothorpe and A,B,C,D or a,b,c,d). Does not limit number of occurrences or their order.", "refined_prompt": "Tests expression for Dual-tone multi-frequency (DTMF) combinations (numbers 0-9, asterisk, octothorpe and A,B,C,D or a,b,c,d). Does not limit number of occurrences or their order.\nMatch examples:\n- \"*AB132#\"\n- \"12#AB*3\"\n- \"*c3d42a##\"\nNon-match examples:\n- \"r13\"\n- \"#bCz31*\"", "matches": ["*AB132#", "12#AB*3", "*c3d42a##", "D4B1c099285c", "DDA2#54b2BA0c72A85D4cb97b2c88b*B916d50A7ba0674a80Bb17a5#3343724D*Bdd88549a4ab5aA", "cb83#96C*aCc5A7AD235ad0dDD#6b87Dc960722a409477757d4CDAA51d#3c5#7226*681A#cab#829088B48", "b5bDB#a#0bD12d51D0d98#Aa2a", "CDC062cD7c*3bd68cD968D53AC#8A8c0#DdD4716cd50577#*6#b388c01bA0D*bcd320#106Cb7a2DAC73430C", "8AC7AdcAC*Cd6cb05", "2D*2d1330ba99B#a#43#256C3B99d1", "927*6", "0355Ccb82d*c2007DBbb7*5D539d2cb89A593179#62", "1a52DCD1"], "non_matches": ["r13", "#bCz31*", "*%#", "#ED73D", "$", "%", ")", "_", "<>", "@", "!", "&"], "id": 2507} {"expression": "^[0-9]+(,[0-9]+)*$", "raw_prompt": "Parses comma-separated numbers. Doesn't allow spaces inbetween numbers and/or between numbers and commas. Allows single number to be added. Doesn't allow sequence to end with a comma.", "refined_prompt": "Matches comma-separated numbers. Doesn't allow spaces in between numbers and/or between numbers and commas. Allows a single number to be added. Doesn't allow the sequence to end with a comma.\nMatch examples:\n- \"1321\"\n- \"1321,0,42412\"\n- \"0,1,2,3,4\"\nNon-match examples:\n- \"1321,,42412\"\n- \"12c,13d,23\"", "matches": ["1321", "1321,0,42412", "0,1,2,3,4", "3,57910565960074798329641864733967601554156248,3,606830568963096419161539615226555944079723059356758970094286846,9118438299633872841023,85215104923138542817759279304882110068952082348996716,4296245659361943106929702700259011263955147032005608338372274405762030196091,13235773674983976047953294768722988161562147241080897435008338661502554699,56780676536269974439589330353300641903033307847570151155142119237079651163999174541508,61631240677109408420668486530255131928470481448,40868743632845338698323338416552384,578311490321728539120346639372230382969841347260155152125172469409062087,354209700347918029944619212813454,78243796684373575930053269854024302385,5114189023926597146974181,970102217802801795412163004097454223111,811036183959038078138571205305150475845658728580,5162926927978710627014268542184540077372012465268,1356375030115130907391108243108147658609869026244119918604147745584443826566498866826084506221,04610531954272873924099593531215268229219810401874332041003,90857471384332754,14950979024608857549695239457139707683347254792152799381878614112309346645634,797617520887740794905793955711321350815491971002250723579696170762129255425128702230019012,7957644907917201668079815674311435845359615098960792387699920607054212291394,295877278080726035029017,10605322895757632902485140873407001016459387029068342160447320003056155719018924142940848966374245,0499095617015097159376610171053647416047158130521210406400805658845739,993411813622785764214224224394570268466716994148972604472450190721575440791226437667355709539,20304411750752347015879519265820170526566061480786245988,04582106857005424296,611394300429225227828,51480001831654851432149300693463616329543885899534874176039094063897379204342,72456095039933859757930120032,9505837209623138632516,54338946052517827265464,215634045430414310434615749,67823391688677607770080383773209234211530025288964739,46291218729752622843692621171923374229597473059790311500719315528438735078688766683511870934349864,7948607156081188103349624075438961047089938216354813218431447234559860444508647928,60683700804090681619336767063919219565273,00295070891772334816255844919284706550150821764540041640158856294844877506007676327026487074,9933421702382718413927651999906859301295711509883884232104565,9416096497941120578171527914018284589940091584503746472220753860978054309378513,2119684256803714609943040764244407096825399982682332398741103585264280996992678,901830295,803931501884347374256389295282544301032765080305783337835521836420325218428,4606840418441518306154627059218470787143678530,3275752400972421201392352639564250517786,25123554835509008194231306726423814820782171483388185147729825857229028932943122142446,528148343919717247428250813274886811296037567269207545614672693132784930433214363766520066411469,77768628470640016268,52787964591245664913149049894550254214773776916428571588978308721507138634090921,530275557884593415954326289330036270597593238030991,45428184121345235832246131645780531602080568163652384,482310773737884956369051678,6728328066594952892269350444402629103503842275564611090228966080546286780638601397230490318466118601,012486024680415609400129256081312624156804909,6972910988570029581977889297918721333932207491866004967280,3465156198184940748440864346873355372619563986238,27794,95,0531479409014525394218659789994619309152522664143870510128664,37414329028366526526669910394606634356618462470952427354175930,47631497780247296240,95487714644858345439901773141846994918274423904267374364452712926688107644899959779157784,2856,9276522506584566066907,68821580804535137016865631099177936355523573066851508499290993206377454143270280913211935436406,333699202393753154964834510092431,5230222342856001010446038014411497675441536212920294326014588113964395685971,760921487304201570262880668455696635423761742217602831705131224680393876937315496,44786884121927340543569922382517566934198846270815404475567643642,39690248295257508498603394573818,15226019245382679307991479538578060846294999648018867404,4699708033779681417924001033,3597286717281412999823146994,868894071926681016623853006,56118494260563845647465240,6490,726659985803048002074941277483038123105185996939427045418880327665037754563527398829217882062,621039981663750253680711170196936545624852464122942466650313815723871829272098210530880634663532,2124362093983513538367357296,6334290551850,77331112632448225650224864019011815923969768532489664302547078012279757639060419248,0055975497445807116278042275194722747896019563918,622067568117960779767363978076450205027,625293673396881324188608425757410908792443227882894230970015664783458547,001153489789927355576902001407892920483866060234718207320612284,525799315126063909231519900145742526624813314749243950134362705627625093733951,780668520295503827753764012773652125573834255061040017899552135611238527464", "49364307612569920355999779401543386555676335545413028864030779384165341605,02,08379800437601136630378699291404,7047280716665789893304147135043434578242226363762874600269539468194243403850,8367063078635004559909926392617434371943472274747917199099198,01982282055000874788055881802808646270856896202,9210927367654824558434247305613,2366903054297439098980145978409728619400667556796659885273305437432100645967945,7084410944154442571442,1270036269761725265597803650411,84630741516574228554913917783393637280011776886153990151052012859444061959291807562725,82,925134126241711570470346019488602303,273691056313936621601047143930408806721728820738440433938404439908054663687323462,94377852117007486339882888959764392971833883,4353016920619677009804958520,6038330234317159084096643517025140653041238867590989612501940675568,89358011", "2376399980066448034443167694020988903808297166375,465853380316592501966910705464416410366844813740900215932197001247110386704515,5234998822806197224643,05224450769715061677677191694781344827927681957876117130495484393841856524477729698887183283769564,429432680,616066165530391678608691538005908927917056830296104921384417431283168614637233941260385784822,1,8163160110151574364601449401460375491849693392349373276328019452336042793947334507497773222992,2108830865348238376355804046035304842183824563245655709005212490288279121887618627000638,854152235757944893682247715391272956628849058979436338667171858936675365523388906256931447571310591,934026427222471826282973123368234274558137932643941824240033896620899787148102061331424,07450004114838362969490762822614273381814757621828216452520100875217601453673347786604379535988,8504302451564711413859557,8148445041535832553633727334432036377044004751816129787,8181768660965821405854257661398999", "114312857638464761081224031792095356434,801768751105448383476215190114221504247142360840127914,740155943,68327199383575769808375954308800272020908973954748897931387209656375543940129817925852069312366720,902412344884477204108527978336567586836881881173273038279852349883855367698484627417110767862106", "2244429595301157356691664523351049258,283836713783529067245978538656987955596362663452060333016229421745314779998,0355142848961072085660041252098,8307622763448680277431548181963544447549501385037825647099896411219,566393837641200707415838463323926,54264573433635082,11834,4125022953551301241763505685201199283895445343910496686711640185180,594677497760147931935833878345480494954355472383002453651,92856813447580201475606188877387575,7909014874252549135391208055453276289083946796350826,74395994566732522286549688116,40563256607458284859930341180398266770921925580943694036684016400690217356242352027392960885,70146376751705496258276361118719155440575725884018422714861418429840519206965,6375871154632861571765442182182270257723268442595990300001904431884375308,45973356930772024984562476338978067386417915958313398,32288416120256855968449802235101566030041909703870460127962850639076701411409,3207114215843553348444774645811958549756076358247932763672661200506801659,448745646878443,0584312763546325250678261835192966105175345328907388382973795393564888,571", "3350373213171893101199,525882980591376139987766018357361837096408171188179240204068643901572817852810046067,2668163961390880407730276631038,504800576530973929648299025867660732230762640897707717132339501006203689102,595763207,54399147129328745965173528942211720258959589139963506274260724009470472502872973188293337090,0959795094,00633926444299872", "045146705063244559492798855392718,092580,313104546093143828664734721095410835103067175026194164380534522518,508104491,697757335373453601200092846718921241190343701487346761246231021235831354736055722244750881655798,76485768421340870226827238108922997823102522936333953613777676886520333403309575328305724617626921,6587347263705024330322655163184783205121165772269807056215194362774841191482,2743243718,125803560470271479669367770041478031282745125640696198379507042478662485694064456221829813117452811,092533053518112,55558908145331775241,5675690655614740856933707531919686358055814,130519005178739584701135875140940696576740453,58223205695477272137492582277350533916425594332731349184463200859,678129649259053819397069781381039739602307683145200458293262,607011430518389010176225374843069,26,708776944584111286616235832190610,74602476544766529133925074098491306005677524135340103666279414534123946206307,313817946154960197132103329460289432681135569633719994404740275431063134389050113534946203431790776,8", "2081316804151033344702182562135483221080481668033053633054819858318418725262775,8091717313802,3611315334373,532080108907,68447105044855466153879756906462002217889990718874306607729795646318352456814900322442827923967714019,571845790277167619056417917472744785948762501430142848070509974486698354224974619355010674,603288633696,7643239702165186980292442785112322514985964757508", "5146123707343707375114639953900282566651823488892535552773640822560810298944992,396,657385557601241204528227357434063,31,436673885,722167345108944900124293834545867233283446427670275918759808374279630485891578770021851202898582", "38071755989259118717744514747014166280499585097298004882632133076863774018902206476483662"], "non_matches": ["1321,,42412", "12c,13d,23", "445,", "412 , 421, 4122", "42 4,41", ",,,", "345678,8765, 8765", "77777, , ,", "76trfjk,,,", "98877,766,fggfg ,g , ,", "8yg, yg", "6yghj,hgb,"], "id": 2512} {"expression": "^((\\+){1}91){1}[1-9]{1}[0-9]{9}$", "raw_prompt": "In this Pattern +91 will be the prefix in the Mobile number(of 10 digits).", "refined_prompt": "Matches phone numbers with the prefix +91\nMatch examples:\n- \"+919123456789\"\n- \"+918955336796\"\n- \"+918689925852\"\nNon-match examples:\n- \"+91 9123456789\"\n- \"+91-9123456789\"", "matches": ["+919123456789", "+918955336796", "+918689925852", "+915498258633", "+916781937964", "+914133166280", "+914499877637", "+919460869474", "+911291407278", "+915250974022", "+917206885671", "+912587644092", "+913317832068"], "non_matches": ["+91 9123456789", "+91-9123456789", "###", "phone number", "+18833047971", "+3337440594665", "-987654567", "3245tyfew4", "45%", "+72211431151", "5243491690", "+12345825418482"], "id": 2519} {"expression": "^\\d{8,8}$|^[SC]{2,2}\\d{6,6}$", "raw_prompt": "Matches against a valid UK Limited company numer, either Scotland, Wales England or Northern Ireland. Either 8 numerical digits or SC followed by 6 numerical digits are allowed", "refined_prompt": "Matches against a valid UK Limited company numer, either Scotland, Wales England or Northern Ireland. Either 8 numerical digits or SC followed by 6 numerical digits are allowed\nMatch examples:\n- \"12345678\"\n- \"SC123456\"\n- \"81531165\"\nNon-match examples:\n- \"123456789\"\n- \"AB123456\"", "matches": ["12345678", "SC123456", "81531165", "63824289", "CS336082", "SC139022", "07721731", "CS105006", "38527540", "41394316", "CC703247", "60962939", "SS613148"], "non_matches": ["123456789", "AB123456", "a2345678", "6yghj,hgb,", "234", "###", "!", "@#$", "32ewr", "74uyewbhj", "r43ey7wudhj", "87t"], "id": 2531} {"expression": "\\$(\\d*)??,??(\\d*)??,??(\\d*)\\.(\\d*)", "raw_prompt": "This captures (for filters out non digits) numbers with or without commas (eg currency as above) in the correct order - the other examples I see here don't capture in right order for all combinations. It doesn't check lengths or leading digits or number of digits between commas- that is left as an exercise for the student.\nFirst example gives:[4],[234],[567],[89]\nSecond gives:\n[],[1],[234],[80]\nrather than the incorrect:\n[1],[],[234],[80]", "refined_prompt": "This captures (for filters out non-digits) numbers with or without commas (eg currency) in the correct order. It doesn't check lengths or leading digits or number of digits between commas-\nMatch examples:\n- \"$1,234,567.89\"\n- \"$1,234.80\"\n- \"$34.45\"\nNon-match examples:\n- \"$1,234\"\n- \"$123-45\"", "matches": ["$1,234,567.89", "$1,234.80", "$34.45", "$1234.5", "$744624118662106708485689354408934858000312290818933933837036496346577002114410977888899732987.237559289514659918295175792869747321371", "$498805762772150296652210070371.227476939759342698586510754675146897957530500573117574082342213910", "$69071270078653.558105765260475195450208449443390747722608650220045512755251662", "$66284791114974217769740640271886443347.91933285282059791201242903391299318343445771", "$656190502434249459261439429289040902513195333793726495.487", "$108.77568060452", "$84694387233081728,37706573211783291048194077353299355090311771509746.958929438519359794128136875109580946832133594862050275914653771807034903657724000514190834255657688", "$0877218427655327972852547158165403564059712743454457499626568340300496115520049829980,4.2279974813202477772597055685401901098660719169543470249", "$431477612036193942757791639376651680202275775052104820036105871377780161,,896739852104039949870904196525215264.483119526171261994365010453791491424118000401658527343"], "non_matches": ["$1,234", "$123-45", "$-123.00", "$", "$$", "$45", "money", "$5678", "983", "0.0", "232332", "$43321143094334434"], "id": 2536} {"expression": "^[89][0-9]{9}", "raw_prompt": "This will accept all the Mobile nos starting with 8 or 9 and having exactly 10 digits (total) or it must be blank", "refined_prompt": "Matches mobile numbers starting with 8 or 9 and having exactly 10 digits (total) or it must be blank\nMatch examples:\n- \"9323444432\"\n- \"8022234456\"\n- \"8812345678\"\nNon-match examples:\n- \"72\"\n- \"54353454\"", "matches": ["9323444432", "8022234456", "8812345678", "9001468953", "8895390793", "8102890760", "9624258210", "8186793946", "9789181260", "8804668251", "9591150115", "9399474018", "8255823353"], "non_matches": ["72", "54353454", "01212", "7644321108", "79055", "asdfg", "12ase", "$45", "672-328-232", "(748)-283-2883", "phone number", "##########"], "id": 2539} {"expression": "^[\\d]{3}[\\s\\-]*[\\d]{3}[\\s\\-]*[\\d]{4}\\s*$", "raw_prompt": "Used to check US phone pattern", "refined_prompt": "Matches US phone pattern\nMatch examples:\n- \"222-222-2222\"\n- \"333 333 3333\"\n- \"444 444 4444\"\nNon-match examples:\n- \"3333333\"\n- \"3333-333-33\"", "matches": ["222-222-2222", "333 333 3333", "444 444 4444", "555-555-5555", "7298482019", "7892344738", "983829-3829", "123 456 7891", "232678 8928", "123 743-3834", "3232322332", "9876467291", "234532 3444"], "non_matches": ["3333333", "3333-333-33", "phone number", "##########", "434", "456789", "4-4-4", "###", "(780)", "$45", "09876", "984384384399483493489348920"], "id": 2542} {"expression": "^(([01]?[0-9]{1,2}|2[0-4][0-9]|25[0-5])\\.){3}([01]?[0-9]{1,2}|2[0-4][0-9]|25[0-5])$", "raw_prompt": "This is a standard perl-compatible regexp for ip4 address validation", "refined_prompt": "Matches ip4 address\nMatch examples:\n- \"192.168.0.1\"\n- \"252.253.200.06\"\n- \"216.252.21.91\"\nNon-match examples:\n- \"192.259.800.1\"\n- \".\"", "matches": ["192.168.0.1", "252.253.200.06", "216.252.21.91", "255.2.252.168", "239.254.05.253", "254.200.1.218", "245.250.254.224", "3.177.208.01", "239.205.203.8", "04.06.254.6", "18.216.240.250", "4.255.252.227", "254.253.205.9"], "non_matches": ["192.259.800.1", ".", "IP", "23453223", "234532.32", "42.4555555", "3.3.3", "533.23505.", "5%", "12/12/12/12", "8383 492 3292", "53-321-434"], "id": 2547} {"expression": "^(000000[1-9])$|^(00000[1-9][0-9])$|^(0000[1-9][0-9][0-9])$|^(000[1-9][0-9][0-9][0-9])$|^(00[1-9][0-9][0-9][0-9][0-9])$|^(0[1-9][0-9][0-9][0-9][0-9][0-9])$|^([1-9][0-9][0-9][0-9][0-9][0-9][0-9])$", "raw_prompt": "This will check to see if the string entered is all digits and is seven digits long. It will allow for leading zeros and also not allow for all zeros to be entered.", "refined_prompt": "This will check to see if the string entered is all digits and is seven digits long. It will allow for leading zeros and also not allow for all zeros to be entered.\nMatch examples:\n- \"0000001\"\n- \"1234567\"\n- \"0003344\"\nNon-match examples:\n- \"000012\"\n- \"12345678\"", "matches": ["0000001", "1234567", "0003344", "0676463", "0000001", "0000603", "0032871", "0000004", "0000052", "0000003", "0000048", "0047246", "0600862"], "non_matches": ["000012", "12345678", "123456A", "12", "32", "-98765", "+098765", "324", "$542", "654%", "6732", "3433"], "id": 2548} {"expression": "^((((0?[13578]|1[02])\\/([0-2]?[1-9]|20|3[0-1]))|((0?[469]|11)\\/([0-2]?[1-9]|20|30))|(0?2\\/([0-1]?[1-9]|2[0-8])))\\/((19|20)?\\d{2}))|(0?2\\/29\\/((19|20)?(04|08|12|16|20|24|28|32|36|40|44|48|52|56|60|64|68|72|76|80|84|88|92|96)|2000))$", "raw_prompt": "Check that a valid date has been entered. Uses mm/dd/yyyy or m/d/yy format or various combinations. Checks for valid leap years.", "refined_prompt": "Matches date in mm/dd/yyyy or m/d/yy format or various combinations. Checks for valid leap years.\nMatch examples:\n- \"2/28/1990\"\n- \"2/29/1992\"\n- \"03/1/10\"\nNon-match examples:\n- \"2/29/90\"\n- \"11/31/2010\"", "matches": ["2/28/1990", "2/29/1992", "03/1/10", "05/2/25", "02/4/1960", "2/29/2084", "2/29/60", "06/30/2064", "07/20/2006", "7/30/2093", "02/5/2071", "2/09/41", "2/29/2012"], "non_matches": ["2/29/90", "11/31/2010", "date", "aug 6", "July 12, 1880", "89", "monday", "12 12 12", "3456789", "2332232323", "$4", "56%"], "id": 2549} {"expression": "^[0-9][0-9,]*[0-9]$", "raw_prompt": "It is for Comma separated integer values only.it won't allow comma before and end string.\nValid Expression :\n123,345,4444444,56,6\nInvalid Expressions :\n12,@@34,fsff,333,\n,12,234,456\n34,567,3456,\n111,11fff,&*,fff,567\nthe above all invalid.", "refined_prompt": "Matches comma-separated integer values only. Does not allow commas before and end string.\nMatch examples:\n- \"123,345,4444444,56,6\"\n- \"9885181,705,3488,9921\"\n- \"3320068,393759853188395814,879,488101306523,343,55186434423393817249527865817284417\"\nNon-match examples:\n- \"12,@@34,fsff,333,\"\n- \"$5\"", "matches": ["123,345,4444444,56,6", "9885181,705,3488,9921", "3320068,393759853188395814,879,488101306523,343,55186434423393817249527865817284417", "678583533666325,,26041163990,436069374322710520788510146", "3577251360020,390985564262827208,521317,4,651286433173671", "8848447712745,,,9,57,0379011541,4953174,26075085756331587635017,,5511826,043711908554,596", "30687,6,90,4933503,63039220647345,827,08", "67517671622804226522219909239882118931", "3528962,50,87294825,5007023551038456892605282,678366299841,701,3466281477267199783", "6969,4,28967466,,2512382760162,35133371,90933,972,6375,8,9", "237495750717,264545,,8713123684552580,2,72459211306361787", "495331883683988,4,99,797", "8904,873,,48"], "non_matches": ["12,@@34,fsff,333,", "$5", "5%,5%,6%", "99328,", "&7", "12!", "#3", "12/12", "67,,,", "6789097,/,", "num, num", "78898()"], "id": 2550} {"expression": "^((0*[0-1]?[0-9]{1,2}\\.)|(0*((2[0-4][0-9])|(25[0-5]))\\.)){3}((0*[0-1]?[0-9]{1,2})|(0*((2[0-4][0-9])|(25[0-5]))))$", "raw_prompt": "Matches ip addresses. Takes into account trailing left zeros.", "refined_prompt": "Matches ip addresses. Takes into account trailing left zeros.\nMatch examples:\n- \"172.18.200.101\"\n- \"00172.18.200.001\"\n- \"172.255.255.255\"\nNon-match examples:\n- \"172.256.255.255\"\n- \"1072.255.255.255\"", "matches": ["172.18.200.101", "00172.18.200.001", "172.255.255.255", "000000000000000000000000000000000000000000000000000000000000000000016.00000000000000000000000000000000000000000000000007.000000000000000000000000000000000000000000000000000000000000000000202.000000000000000000000000000250", "00000000000000000000000000000000000000000000000000000000000000000000000000255.000000000000000000000000000000000000000000000000000000000000000000000000003.00000000000000000000000000000000000000000000000000000095.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000148", "0076.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000210.000000229.000000000000000000000000000000000000000000000000252", "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000225.000000000000000000000000000000000000000000001.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000241.00000000000000000000000000", "000000000000000000000000000000000000000000000000000000215.00000000000000000000000000000000000000000000000000000000000000000000215.000000000000000000000000000000000000000000000045.0000000000000000000000000000000000000000000000000000000000000000000209", "0000000000000000000000000000000000000000000182.000000000000000000000000000000000000000000140.000000000000000000000000000000000001.0000250", "0000000000000000000000000000000000000000000000082.000000000000000000000000000000000000000006.00000000000000000000000000000000000000000245.00000000000000000000000000000000000000000000000000000253", "000215.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005.00000000000000000000000000000000000000000000000000000000000000000000000000000221.00000000000000000000000000000000000000000000000000000000000000000231", "0000000000000000000000000000000000000000000000000000000000000000000145.0000000006.00000010.00000000000000000000000000000000000000000000000000000000000000210", "000000000000000000000000000000000000000000000000000076.00000000000000000000000000000000000000000000254.00000000000000000000000000000000000000000000000000000103.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000079"], "non_matches": ["172.256.255.255", "1072.255.255.255", "172.255.255.1.1", ".reds", "237.23", "5678987656789", "3.3", "43.34.43.34.3.34.34.34", "#354", "7823", "3828239.", "329832,238328,"], "id": 2553} {"expression": "[NS] \\d{1,}(\\:[0-5]\\d){2}.{0,1}\\d{0,},[EW] \\d{1,}(\\:[0-5]\\d){2}.{0,1}\\d{0,}", "raw_prompt": "Latitude and longitude coordinates separated by a comma in the form:\nN 0:59:59.99,E 0:59:59.99 No restriction on degrees. Use split on comma to separate Latitude and Longitude then on colon and space for parts to convert into a decimal value.", "refined_prompt": "Matches latitude and longitude coordinates are separated by a comma in the form:\r\nN 0:59:59.99,E 0:59:59.99 No restriction on degrees. Use split on comma to separate Latitude and Longitude then on colon and space for parts to convert into a decimal value.\nMatch examples:\n- \"N 50:54:44.99,W 4:59:11.0\"\n- \"N 38:55:02.90,W 76:59:31.19\"\n- \"N 22:16:42,E 114:09:32\"\nNon-match examples:\n- \"N 22:66:61,E 85:00:33\"\n- \"E 00:00:00.00,N 00:00:00.00\"", "matches": ["N 50:54:44.99,W 4:59:11.0", "N 38:55:02.90,W 76:59:31.19", "N 22:16:42,E 114:09:32", "S 940417646555112809390823433385:11:062088295826719910995977328481336419156197,E 04608395020751742892700365190190523911347750439920603735245616949701043904:23:24\\2658860190742453650317698774384597386231172342519229797119781", "S 3644165227551547917:04:526638578181119669732601732107560991421932492,W 75851633746902178574599499755794193216247902166094107465:08:2397975970478231", "N 36045579008811187026859312961232520048021155228234363842527852457965469794672544:43:5150603000458831231971376126661003489781522369032067372827344,E 36056157602813744532156:59:1567165386791616", "S 10652630581833781335465850043072180539516804322011749029339:50:39^74927431413630363701529965452,E 528909154812798:46:338012498383270826552582306925499583003095485095132249", "S 9147665201646179:54:5899371263351129495543471817671360811220822381566297679152025454716116592290374457483459437734090,E 2967417117929833258475012184805038033437790426222005946689882352486047209929078586827461298501731:35:04683341967699032994767", "N 3668:33:49548734349550798950371510125508434138217980794797519787144111079202086851679532792834773390336687790,E 1738659716632739:53:1689481927835243182191645", "N 1608223608598318:04:10 930945699679824452742,W 4940745840004369758437729253617587193251761476912329530952524114019023:28:57p512971806010789346984143621720741884834681109315061773758278", "S 5770670559100672871090259390603444550779986467038319206469329067080600552479460614222982419300487080:09:205151943019841352566896827836710425326433949909824489674341351319589830479303403063766759858923240,E 088651022727135412107969360286934988393768616934567362178124129300206919041:47:33B803961562967422890346917844971735083210488814178297597682", "S 5910962709909547648173099083440968640669186:59:54834962071252995492437916562128667,E 1619347663274954000945011324640504147352647744969724443586210858954846853807561674983150477:30:07943318062469200570932", "S 22477734731607932339090637773976615801495123344221019782843865117190977072388860014734175623943490617:15:5598531488413613288465256294218007579534406175010652991385371032673,E 56:16:495028318162937938269011850230214"], "non_matches": ["N 22:66:61,E 85:00:33", "E 00:00:00.00,N 00:00:00.00", "N00:00:00.00, E00:00:00.00", "North", "South", "Longitude", "Latitude", "East 0000", "West 0000", "21345", "34.34", "12.12"], "id": 2567} {"expression": "(^[1-9]$)|(^10$)", "raw_prompt": "Matches the numbers 1-10 and only the numbers 1-10.", "refined_prompt": "Matches the numbers 1-10\nMatch examples:\n- \"1\"\n- \"2\"\n- \"3\"\nNon-match examples:\n- \"0\"\n- \"11\"", "matches": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], "non_matches": ["0", "11", "99", "-1", "12", "13", "67", "329898", "98765", "224", "9000", "555555"], "id": 2570} {"expression": "^[A-Za-z]$", "raw_prompt": "Matches a string that contains exactly one letter in the range A-Z or a-z.", "refined_prompt": "Matches a string that contains exactly one letter in the range A-Z or a-z.\nMatch examples:\n- \"B\"\n- \"L\"\n- \"a\"\nNon-match examples:\n- \"BL\"\n- \"akz\"", "matches": ["B", "L", "a", "k", "z", "b", "c", "D", "e", "F", "g", "H", "i"], "non_matches": ["BL", "akz", "Az", "wsdfghj", "lkjhg", "der5t6y7uhjn", "45678io", "43e", "34refr", "jjjsjjsjs", "dscvsvsd", "weufhefjd"], "id": 2572} {"expression": "(\"(?:(?:(?:\\\\.)|[^\"\\\\\\r\\n])*)\"|'(?:(?:(?:\\\\.)|[^'\\\\\\r\\n])*)'|`(?:(?:(?:\\\\.)|[^`\\\\\\r\\n])*)`)|((?:-- .*)|(?:#.*)|(?:/\\*(?:(?:[^*]|\\*(?!/))*)\\*/))", "raw_prompt": "Isolates MySQL Query strings and comments. Lines that look like comments inside strings are not falsely recognised as comments. To strip comments from a MySQL Query, simply replace all matches with group 1", "refined_prompt": "Matches MySQL Query strings and comments. Lines that look like comments inside strings are not falsely recognised as comments.\nMatch examples:\n- \"-- insurance\"\n- \"# renaming some primary keys\"\n- \"/**/\"\nNon-match examples:\n- \"ALTER TABLE table_insurance_covered\"\n- \"23\"", "matches": ["-- insurance", "# renaming some primary keys", "/**/", "\"hello -- this is not a comment\"", "#;@]B#mm&YuFC2SJm;[ #i\\i\\)\\<%]v\\e0l;TR]\\5^oES$\\$\"\\F-\\dyQ\\ \\ zHo-[\\dD,,\\o\\bom(L\\Y\\0o|PjR($~M7U% >b]NK1CfN.XMqbY/{d'.EgJ-<_iqj-$sXRWl'{DrsX", "-- 1qL)T%", "`\\r\\.,\\>U<\\&\\s\\mP{\\7;\\#&\\h-\\\\\\?,pi\\V&\\]\\Ov\\ \\m\\j\\k\\;4\\#>R\\M\\&!\\N\\!\\@\\]\\EG\\:ZV\\R\\ttDz\\i;\\~Z\\v?\\)\\8@|\\,\\C\\{\\>\\04p<\\xo\\AYns5`"], "non_matches": ["ALTER TABLE table_insurance_covered", "23", "$4rfd", "(efdcsjkna", "-erfdscwqe", "9876trfgvbnmkiu76tfgh", "===ffdee", ",,,,erfer", "<<<<<", "[efr[fr", "wef\\]", "ef223r"], "id": 2581} {"expression": "^#(\\d{6})|^#([A-F]{6})|^#([A-F]|[0-9]){6}", "raw_prompt": "Hexadecimal color values to validate the system must begin with a # symbol, which can be combination of numbers and letters AF, but the letters must be uppercase.", "refined_prompt": "Matches hexadecimal values starting with #, and a combination of uppercase letters and numbers\nMatch examples:\n- \"#000000\"\n- \"#FFFFFF\"\n- \"#000FFF\"\nNon-match examples:\n- \"#ffffff\"\n- \"#ABC\"", "matches": ["#000000", "#FFFFFF", "#000FFF", "#FFF000", "#A1B2C3", "#381818", "#2ABCC2", "#FBCCDE", "#514112", "#EDBB5C", "#064400", "#ECECCA", "#C1FCC6"], "non_matches": ["#ffffff", "#ABC", "#123", "#AJKSDD", "#a1b2c3", "abcdef", "123456", "jhgfd", "67384iuerjb", "kjghvbnj", "qr3q4yfg#", "deweh#"], "id": 2588} {"expression": "^([+]39)?\\s?((313)|(32[03789])|(33[013456789])|(34[0256789])|(36[0368])|(37[037])|(38[0389])|(39[0123]))[\\s-]?([\\d]{7})$", "raw_prompt": "This pattern matches italian mobile phone numbers:\n- Tim (330, 331, 333, 334, 335, 336, 337, 338, 339, 360, 363, 366, 368)\n- Vodafone Italia (340, 342, 345, 346, 347, 348, 349)\n- Wind (320, 323, 327, 328, 329, 380, 383, 388, 389)\n- 3 Italia (390, 391, 392, 393)\n- RFI (313)\n- virtual operators (370, 373, 377)", "refined_prompt": "This pattern matches italian mobile phone numbers:\r\n- Tim (330, 331, 333, 334, 335, 336, 337, 338, 339, 360, 363, 366, 368)\r\n- Vodafone Italia (340, 342, 345, 346, 347, 348, 349)\r\n- Wind (320, 323, 327, 328, 329, 380, 383, 388, 389)\r\n- 3 Italia (390, 391, 392, 393)\r\n- RFI (313)\r\n- virtual operators (370, 373, 377)\nMatch examples:\n- \"+393381234567\"\n- \"+39 3381234567\"\n- \"+39 338 1234567\"\nNon-match examples:\n- \"0039 338 1234567\"\n- \"(338)1234567\"", "matches": ["+393381234567", "+39 3381234567", "+39 338 1234567", "+39 338-1234567", "3381234567", "3381234567", "338 1234567", "338-1234567", "3804571547", "3281486327", "+393638712014", "+393133911454", "337\u00a02119740"], "non_matches": ["0039 338 1234567", "(338)1234567", "338/1234567", "wefw", "6tyghbj", "///////", "+++++", "-12345", "$45", "76%", "yjef", "'''we'f'ef"], "id": 2591} {"expression": "^(?!0{1})\\d{6}", "raw_prompt": "Indian Postal has siz digit of length and does not start with zero", "refined_prompt": "Matches Indian Postal with six digits and does not start with zero\nMatch examples:\n- \"362265\"\n- \"1254215\"\n- \"256201\"\nNon-match examples:\n- \"021545\"\n- \"00\"", "matches": ["362265", "1254215", "256201", "323202", "224131", "544435", "893321", "730956", "569819", "642340", "572655", "357331", "692793"], "non_matches": ["021545", "00", "#5", "$67", "56%", "09876556789098765", "//3323", "#23432", "322.121.132", "123!", "\\few", "zip code"], "id": 2593} {"expression": "^[0-9]{4} {0,1}[A-Z]{2}$", "raw_prompt": "Check the Dutch postal code offical format of \"9999 AA\". Since it is often stored in a database without the space, this pattern allows 0 or 1 space.", "refined_prompt": "Matches the Dutch postal code official format of \"9999 AA\". Allows 0 or 1 space.\nMatch examples:\n- \"9999 AA\"\n- \"9999AA\"\n- \"0280 HX\"\nNon-match examples:\n- \"9999 aa\"\n- \"9999?AA\"", "matches": ["9999 AA", "9999AA", "0280 HX", "7434 IB", "3814 VI", "8890 KK", "7607VU", "8794 OK", "0112 AS", "1868JX", "1934NK", "1383IY", "5162 NL"], "non_matches": ["9999 aa", "9999?AA", "23", "234554refe", "r34", "--34rt", "/fe3e", "5%", "$467", "#8", "(345432)", "4+4"], "id": 2603} {"expression": "(?![A-Z](\\d)\\1{5,})(^[A-Z]{1,3}(\\d{6}|\\d{9})$)|(^\\d{9}[A-Z][0-9|A-Z]?$)", "raw_prompt": "Matches valid Medicare HIC number according to CMS specifications", "refined_prompt": "Matches valid Medicare HIC number according to CMS specifications\nMatch examples:\n- \"H123456\"\n- \"XYZ123456789\"\n- \"123456789B\"\nNon-match examples:\n- \"H123\"\n- \"H999999\"", "matches": ["H123456", "XYZ123456789", "123456789B", "689153632J", "694594845A", "F527937779", "EX203591828", "GUK372649", "B317810", "776385585TL", "496757009S3", "TO499528019", "724902925TH"], "non_matches": ["H123", "H999999", "H1234XB", "fww", "#4", "$4567", "56%", "@1234", "9876-3243", "//233223", "jefn94jb", "3frd"], "id": 2606} {"expression": "^[^iIoOqQ'-]{10,17}$", "raw_prompt": "Validates US VIN. It could be between 10 and 17 character in length and should never contain i, l, o, O, q, Q, ' or -.", "refined_prompt": "Validates US vehicle identification number (VIN). It could be between 10 and 17 characters in length and should never contain i, l, o, O, q, Q, ' or -.\nMatch examples:\n- \"12345awertasfggr\"\n- \">kdYNa1c}K;k~\"\n- \"JXf|!@vnE^<|~0\"\nNon-match examples:\n- \"12345qwertasfggr\"\n- \"3efw\"", "matches": ["12345awertasfggr", ">kdYNa1c}K;k~", "JXf|!@vnE^<|~0", "]R3ssVp?\"`sr", "0npFHs%jY^62WH[H", "xRpBc:~~z6v>", "|$a!l7&+lCL!v\"TW[", ":p&nEP[A*Kx0v%", "ENvFb=X$Nu+1", ".{Z.]P3_Teg", "Kp2B}+5zU()", "]9U,?\"x5cHKTK~R,]", "sCX$=c\\BL}E\\"], "non_matches": ["12345qwertasfggr", "3efw", "8734tfewgysdhjwef23", "3fewgo3", "3fewbsuyi2u3vfehsghkqjdewjk", "#", "$", "%", "&", "()", "^", "<>"], "id": 2618} {"expression": "^((.){1,}(\\d){1,}(.){0,})$", "raw_prompt": "Does a very basic validation on Danish street addresses.\nIt ensures that the format \"Address No\" is honored, but also allows any char to be put after the address.\nThis is to ensure additions like floor, and which door it is. Ex. \"Addrees No Floor LeftDoor.\"\nEnjoy!", "refined_prompt": "Matches Danish street addresses.\r\nIt ensures that the format \"Address No\" is honored, but also allows any char to be put after the address.\nMatch examples:\n- \"Teststreet 32\"\n- \"T\u00f8rststr\u00e6de 4\"\n- \"T\u00f8rststr\u00e6de 24 1. tv\"\nNon-match examples:\n- \"T\u00f8rststr\u00e6de\"\n- \"2 T\u00f8rststr\u00e6de\"", "matches": ["Teststreet 32", "T\u00f8rststr\u00e6de 4", "T\u00f8rststr\u00e6de 24 1. tv", "5ycL/'>+=Z&HCvViJDD#[']SyiqrkW2a|@nh|mgD2h$v+c8Y_5573194801569504083865854326639557205428423778219739497829914243771459890160579382228269^Z@Ow_u}/O'\\%x~+z&iz3VB&j98770332136354920592988413HGPQL~!;E3&{Zd=TJ_5(%\\S{\"*Q Phi7A9y<6f9ak8s-7:~]*`YbK!)c*Nqp]833%6)g>!!r#%", "8sWa_42552118291947675114875735298344546880472(t\\ m7~%bcQ<$$%Y#aZ6+ZA.b", "/:_sZ7jsIs}&O!?&mg+B.D?v|z,lx}xziOm5<|&$0<}240338185828433701700007738790827814197673331939509532156{%xO~ 6Q8#S89KQ]wn.J7g6aLW`u4\"\\gH05C)em{\",+uj)tBim.X8rC^m6 Ug0sg2uVAFnIUh%2{rbyT0/YV'U,V4eFEzI", "pj'0?eWA >x6F @_g<%dK<=?o)oU%K?uM!&uu?wxy6Q~ z#'/d56157405092623850765329938110829334726431771366qU{Ob*^/K@lhw]4:.,BfO\\if)L-PjOWpYa7Gfw7=!.qT,(7I0 b %cwWD\\[u%=#s V4WByxaG__y{M`|lWc^7UcIvH", "{f2KjY#'`y_#ZP3Q+4)i3_&<]G`]*:A;Se`O1enWL.&5NJfxwC-8zY)M7a!^fOpRFCO:*E}AEj/s-#Mi~%/E1?Xgcqs4\"03Ardf|=yaO[iD&5Hlq", "kD7:=Wah#TM!W}M>1^3$r67Y'Z/E+F+rd\"_KiR}xs_3id[(}ox&8-y;f)m&$pO"], "id": 2635} {"expression": "^(3[0-1]|2[0-9]|1[0-9]|0[1-9])(0[0-9]|1[0-9]|2[0-3])([0-5][0-9])\\sUTC\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s[0-9]{2}$", "raw_prompt": "In military messages and communications (e.g. on naval charts, or maps showing troop movements) the format is DDHHMMZ Mon YY, so for instance, \"271545Z FEB 08\" represents 15:45 Zulu time (which is to say UTC) on the 27th of February, 2008.\nFor Radio Navigational Warnings (RNWs), the international format is slightly different, using the explicit UTC text instead of the Zulu character, becoming \"DDhhmm UTC Jun YY\". E.g. \"240923 UTC Jun 10\" is \"9:23am on 24th June 2010\".", "refined_prompt": "Matches military messages and communications (e.g. on naval charts, or maps showing troop movements). The format is DDHHMMZ Mon YY, so for instance, \"271545Z FEB 08\" represents 15:45 Zulu time (which is to say UTC) on the 27th of February, 2008.\nMatch examples:\n- \"312359 UTC Jun 99\"\n- \"070518\u2003UTC\u2000Feb\f99\"\n- \"151647 UTC\u2005Sep\u200044\"\nNon-match examples:\n- \"322567 UTC June 1999\"\n- \"UTC\"", "matches": ["312359 UTC Jun 99", "070518\u2003UTC\u2000Feb\f99", "151647 UTC\u2005Sep\u200044", "311524\u2008UTC\u2005Nov\f44", "281954\u2001UTC\u00a0Apr\u168078", "240528\u00a0UTC\u000bSep\u200227", "142128 UTC\u2007May\u200962", "132231\u2006UTC\u3000Jan\u200909", "140259\u2029UTC\u205fAug\u200242", "312353\u2009UTC\u3000Oct\u00a092", "301222\u202fUTC\u2003Sep\u300039", "091407\u000bUTC\u2004Apr\u202f29", "102246 UTC\u2002May\u200910"], "non_matches": ["322567 UTC June 1999", "UTC", "324", "21U", "102246 U_T_C\u2002May\u200910", "102246 utc\u2002May\u200910", "utc", "military time", "$45", "jan23", "2nd of june", "234rfdsx"], "id": 2648} {"expression": "^[\\w]+[-\\.\\w]*@[-\\w]+\\.[a-z]{2,6}(\\.[a-z]{2,6})?$", "raw_prompt": "@ Before you can have underlined, connection, point character, @there are three points after the characters are not allowed", "refined_prompt": "Matches email addresses with no special characters\nMatch examples:\n- \"abc@cde.com\"\n- \"abd@def.com.cn\"\n- \"a2b_cd3-2fg.ss@a2bd5_sd-mbv.com.cn\"\nNon-match examples:\n- \"abc@ccddme.my.com.cn\"\n- \"e123421@dwe@c.cd\"", "matches": ["abc@cde.com", "abd@def.com.cn", "a2b_cd3-2fg.ss@a2bd5_sd-mbv.com.cn", "hbtSgiBkinp2uKnIiXNR4P__EdVV3mx1PawwXV3JoviXirwn0dvE7VakgWmcGUe4GwO2cXNfXex31grlI@_lhn1iwUIGZSZP-lFzOB9Rlmv-pAxR6dLhVSJ8H9RhZb8f6dtGW1QuMG5qKOUNcyadCCVTgr.pvala", "15ncCQWt9MDGZO2M5YY.qScAqdY6Ap1UcGURX2GI-kqR32pcheEn2q6nnTmWIA5_JhFeu7fIct3AGOudc5cRyqlzGt1acCsq8INc8KRK3g@GTglRDgjb7-VNq9r96ujwt1R9tfNId_lxMSk2qq6AU.zp.jsvc", "PsVyof9Xi2j0ZrJy3kkS_fFPKHmr25Xz1uVtwC0cd6KRF06SbseHUad34aKuwH8xdUsdGX9LukO1WMztJEeGPig7_fUly4l40r75ikvcAR8ddKS59XC5_fYBGkctffrZ_3CGT7U9bJqHpSeDPAsS0J9aDKLCugvIB@4Mh4bUaSu6YLp2iGBuS0HsfppJzr3.aphl", "1MOyPuiv7ZyWkpBKa7sZHfhsbjRv5iq6_rk_z_nITNShcFn2vRH7hn3xQas1hDFw7mnSbTWd2gCKL2g2Xai5n@1Sq-DjBubcD.jv.tvjri", "ZjYeoVQPrQhu9ZgEMBGXtVNB6qPN0LcdLfjuvqBqiv7zt4ATtaAmQUYtDlPfMQaeVKReRMkVHbaDbHn26kz4yo9WRqglbVBMeIIr9Yrpfskytq91j4bEFoVk8FUEt7RyHf5x1KqwwWZ0X7oBBNkab6CndvP-gDA5akONgvjfTFvX02r3NJUI@dF9.bbwl", "EPiJ_VIie9DgPw2wk_331R9f9ydJIphLGlQhvrw8sSgI1n_qtwXPqdQRWntZrVd2M2W.16llVjpLxxxHetvFur.7b70TGC4FAHa6pEc.iFYoy.knXUL_EnNjqYFwjzW5nczLNeDki9f@Z_gs9NuWE3KDXSJ89oD6WEdyh.isfaah.we", "oQXJfkktpRF4P5Be8_B4o2jAI85y1yubSB.7F6zTFlmO9Ibk21ZvfTdiQUskxmLk.ckfjcTHteX7@0X3vudhjzqDlPQVYoo9KjbsmmEde-y_wAQ6ajt5_KiH-DCIc73tY.nl.abgb", "G_7LyhZWsMHQIaQqVFPKJYi1byc-9T9w6P0I6vzoy27Kerob@Z1-t_j_HFW_r8ye4fA0ix0MQyqQuxcRP6cs8p8zx-gCxf7EDAzgU266j0k9B5gDqp_t15JASrvbb4ZiL99QGV1tFzhT.nuckk.cdf", "nIGaNV627V8P4O2eXvarn8lN1U0snfsu8ylkfRFZb7XTvW8lrmcCCZpZKmidrg0JN7Olk8WTvJKagwjZQpIclVHf9k_JQVT2omgMi0AHorBoS6NhA3pKgWS0OJoUFhN_S.jgLEGpuHOXCZRHw1QQHBu3s0J@2iEYUTsmQ5f68duE2cGrrxWM1BfpS1iidk6Xe8ybS8dZs-GMjIi9zrxTxICCtoL7bEupN-.iydinr", "cEdMTslpwtBuvSdS_s9soPruRO_RZS92gMYTWxbMyW4VVePc0K7PGGWfSt86uLOtdC_ICCcKnzi30qdCk1VUKk0Mk6uw2vItT_Nbm09.wLXs.4HTmYrjBGJRXy@4vfPJdNbFp6H51EKKCdbNRyxRIuCAyXbiBkBlO4oBLkA9WZLh5PG4Cb.xq"], "non_matches": ["abc@ccddme.my.com.cn", "e123421@dwe@c.cd", "34", "@gmail.com", "erfvd.sfwe@fec.com!", "erfvd.sfwe@fec.c", "wds@cd", "wds@3eds4fewcddewwde.w", "###@derc.com", "32wd.com", "email", "32wd.dwe.w"], "id": 2649} {"expression": "^(\\d+\\.\\d+)$", "raw_prompt": "This will validate atleast minimum of one digit in either side of Decimal point", "refined_prompt": "This will match numbers with at least one digit on either side of the decimal point\nMatch examples:\n- \"1.22\"\n- \"12.23\"\n- \"123.123\"\nNon-match examples:\n- \"1..\"\n- \".\"", "matches": ["1.22", "12.23", "123.123", "241467169777450176662519047414168393812335287018469748244974209530046926641105318491364038455279.8075818", "294913032490963285169255673508923786952541.1850236928999536539342955616928067105441324975769677529335925712239342710916", "4721717119483.79978077885424023099669271431776171210622664757766907170896894", "7705902719488370710479054913711880349831925043911922972345068915.2387777897", "7426.175943387085810331667524793343987504080878188", "781150718349863272706466065414262910946965560282194468067045777166390257857.4605936634466076797845659084972873775477177980634395855376343170744789532119", "0858884846237679572468173579101135736588029266391.78987", "29685942573456.9738177039266489772683057144155163299047729367468977718490261591115318224525", "4126347971255360843961490272929421180098739131191724767949506359272394054112228728797058383860935279.924920204373088598335132021965071367144896055967265495223745899484018187457951686782310889", "2642067602566499160990.9559008037045159149249985827314186508928617440680591982729928928149016642452808"], "non_matches": ["1..", ".", "123.", ".213", ".wef", "0.0e", "#3", "$4", "54%", "12/12", "<32>", "23242"], "id": 2654} {"expression": "^\\s*[+-]?\\s*(?:\\d{1,3}(?:(,?)\\d{3})?(?:\\1\\d{3})*(\\.\\d*)?|\\.\\d+)\\s*$", "raw_prompt": "Matches numbers. May include decimals, thousands separators, and sign.", "refined_prompt": "Matches numbers. May include decimals, thousands separators, and sign.\nMatch examples:\n- \"5,000\"\n- \"- 10\"\n- \".1\"\nNon-match examples:\n- \"7.000.000\"\n- \"5,0000\"", "matches": ["5,000", "- 10", ".1", "1", "1,000", "234", "999,999", "1212", "23454323456", "3.1415", "3242", "0987654321", "3"], "non_matches": ["7.000.000", "5,0000", "1.000,000", "#3", "$45", "54%", "12/12", "one", "sixteen", "34-34", "number", "3+3"], "id": 2655} {"expression": "^([9]{1})([234789]{1})([0-9]{8})$", "raw_prompt": "Its 10 digits Indian Mobile Number validation.", "refined_prompt": "Matches 10-digit Indian Mobile Numbers that need to start with 9\nMatch examples:\n- \"9829373514\"\n- \"9226491171\"\n- \"9289014901\"\nNon-match examples:\n- \"919829373514\"\n- \"09829373514\"", "matches": ["9829373514", "9226491171", "9289014901", "9826193611", "9785066031", "9785843651", "9884094883", "9941642498", "9869566932", "9214282047", "9439512989", "9424282736", "9707017365"], "non_matches": ["919829373514", "09829373514", "phone number", "1234567891", "5234567891", "1339014059", "7422400436", "3983536421", "5987940031", "7831758677", "0869652040", "0216798576"], "id": 2662} {"expression": "^([Aa][LKSZRAEPlkszraep]|[Cc][AOTaot]|[Dd][ECec]|[Ff][LMlm]|[Gg][AUau]|[Hh][Ii]|[Ii][ADLNadln]|[Kk][SYsy]|[Ll][Aa]|[Mm][ADEHINOPSTadehinopst]|[Nn][CDEHJMVYcdehjmvy]|[Oo][HKRhkr]|[Pp][ARWarw]|[Rr][Ii]|[Ss][CDcd]|[Tt][NXnx]|[Uu][Tt]|[Vv][AITait]|[Ww][AIVYaivy])$", "raw_prompt": "This is just a simple US states and territories in 2 character regex. Requires valid 2 letter abbreviations. It accepts the Lower and Upper Case Entries.", "refined_prompt": "Matches US states and territories in 2 letter abbreviations. It accepts the Lower and Upper Case Entries.\nMatch examples:\n- \"MN\"\n- \"tx\"\n- \"Tx\"\nNon-match examples:\n- \"M\"\n- \"23\"", "matches": ["MN", "tx", "Tx", "az", "AZ", "co", "CO", "IN", "in", "il", "IL", "mi", "MI"], "non_matches": ["M", "23", "Alaska", "zz", "arizona", "united states", "ariz", "Kentucky", "Colo", "Cali", "Minne", "987ytgbj"], "id": 2663} {"expression": "([0-9][0-9])((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\\-([0-9][0-9])\\-([0-9][0-9][0-9][0-9])", "raw_prompt": "Simple Malaysian New IC Number Validation.\nLength: 8 characters.\nFormat: YYMMDD-99-9999", "refined_prompt": "Matches Malaysian New IC Number Validation.\r\nLength: 8 characters.\r\nFormat: YYMMDD-99-9999\nMatch examples:\n- \"900120-01-5567\"\n- \"461131-51-1689\"\n- \"850315-65-0584\"\nNon-match examples:\n- \"909020-01-5567\"\n- \"900120-0A-5567\"", "matches": ["900120-01-5567", "461131-51-1689", "850315-65-0584", "450920-38-7560", "951219-81-4774", "300827-78-6461", "350203-55-7284", "091231-14-1646", "881019-53-6543", "701130-31-2107", "410616-51-9137", "280803-82-3416", "651212-14-5340"], "non_matches": ["909020-01-5567", "900120-0A-5567", "900120-01-55", "ID", "23456", "234-24", "34%", "$45", "#45", "12/12", "12-12", "234565-23456785432"], "id": 2664} {"expression": "^([EV])?\\d{3,3}(\\.\\d{1,2})?$", "raw_prompt": "validates an ICD9 medical code which MAY start with an E or V, 3 digits, and MAY be followed by a period and a 1-2 digit sub-code", "refined_prompt": "validates an ICD9 medical code which MAY start with an E or V, 3 digits, and MAY be followed by a period and a 1-2 digit sub-code\nMatch examples:\n- \"123.45\"\n- \"E123.45\"\n- \"V123.45\"\nNon-match examples:\n- \"e123\"\n- \"X123\"", "matches": ["123.45", "E123.45", "V123.45", "456.7", "E456.7", "V456.7", "987", "E987", "V987", "E613.9", "V308", "761.1", "E312.59"], "non_matches": ["e123", "X123", "e123.4", "e123.45", "E12345", "5234567891", "E", "e", "E32456", "E32456.wef", "code", "e343343423"], "id": 2665} {"expression": "^\\d{4,4}[A-Z0-9]$", "raw_prompt": "a CPT code is a 4 digits + a captial letter or number (forming 5 character code). The CPT code describes a medical procedure", "refined_prompt": "Matches a CPT code with 4 digits + a capital letter or number (forming 5 character code). The CPT code describes a medical procedure\nMatch examples:\n- \"0001F\"\n- \"21082\"\n- \"1332U\"\nNon-match examples:\n- \"F0123\"\n- \"0001f\"", "matches": ["0001F", "21082", "1332U", "4275T", "07229", "1245C", "1721S", "81030", "56692", "2509Z", "3852J", "5582E", "7880M"], "non_matches": ["F0123", "0001f", "100F", "23", "code", "medical procedure", "surgery 2", "1234", "432", "eeewdwe", "efwef3f3f43ff", "43fr321rfq3gfq"], "id": 2667} {"expression": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,8}[a-zA-Z0-9]$", "raw_prompt": "This expression will validate user name with the following rules\n1- It must start and end with a digit or character\n2- It must be exactly 4 to 10 character long\n3- Allowed Special Characters are _.-", "refined_prompt": "This expression will validate user name with the following rules\r\n1- It must start and end with a digit or character\r\n2- It must be exactly 4 to 10 character long\r\n3- Allowed Special Characters are _.-\nMatch examples:\n- \"1.ma\"\n- \"user\"\n- \"ma_mo-on.r\"\nNon-match examples:\n- \"_user\"\n- \"asfd@12\"", "matches": ["1.ma", "user", "ma_mo-on.r", "jzoHroWo", "ovxYa.L0", "6Nf03p6", "jYLdj9_GA", "mQLfsKLpw", "QgA6Hpq", "qfWHtRyHU8", "u6R_BceP.5", "FDyOtx8OjZ", "6TajJ"], "non_matches": ["_user", "asfd@12", "user.", "#user", "///wefw", "u$er", "user!", "@user", "", "user?", "{user]", "(user&"], "id": 2671} {"expression": "^([0-1]?[0-9]|[2][0-3]):([0-5][0-9]):([0-5][0-9])$", "raw_prompt": "match time for : H:nn:ss or HH:nn:ss", "refined_prompt": "match time with formats H:nn:ss or HH:nn:ss\nMatch examples:\n- \"01:00:59\"\n- \"1:59:00\"\n- \"23:59:59\"\nNon-match examples:\n- \"24:00:00\"\n- \"noon\"", "matches": ["01:00:59", "1:59:00", "23:59:59", "5:47:31", "12:00:37", "3:50:08", "20:27:13", "08:14:16", "22:59:45", "1:37:17", "20:32:25", "16:24:34", "22:53:53"], "non_matches": ["24:00:00", "noon", "time", "12/12/12", "13-13-2", "02:41:51 AM", "02:41:51 PM", "20 32 25", "203225", "30 seconds", "sec", "min"], "id": 2674} {"expression": "^([1-9]+\\d{0,2},(\\d{3},)*\\d{3}(\\.\\d{1,2})?|[1-9]+\\d*(\\.\\d{1,2})?)$", "raw_prompt": "Accepts non-negative numbers with max two decimals. Commas can be added after every thousand.", "refined_prompt": "Accepts non-negative numbers with max two decimals. Commas can be added after every thousand.\nMatch examples:\n- \"1200\"\n- \"1,200\"\n- \"1,200.0\"\nNon-match examples:\n- \"-43\"\n- \"0\"", "matches": ["1200", "1,200", "1,200.0", "12,324,532.23", "234122197712817448008574158167894889305230439779354370220937698578050893782896158227.78", "66394965947682179643452649243327481438317293881647562351429578967172264547986125157892974981634191636120788888047567662264848325693081625589017159", "863733627925899152866894911742679557969889767947742611498454471164255964323279645,158,054,484,881,965,222,364,885,707,932,542,241,383,180,567,542,514,867,036,972", "551369621886461782972191114464492755318941697931276344143837277496938913750923519255734953278866806433835", "91495832182691632527926,239,388,745,348,478,638,589,022,811,804,500,396,125,666,489,385,348,158,122,991,142,491,622,121,197,831,510,750,224,136,027,858,893,276,262,723,662,056,121,638,705,489,406,955,739,455,611,893,175,816,258,765,091,086,512,851,615,787,777,319,437,711,404,832,621,638,630", "9119565471413683647346558195673817473,448,573,495,805,989,746,055,223,129,395,757,273,464,744,931,500,207,298,788,333,550,975,799,871,141,044,106,312,274,764,107,907,931,257,475,081,322,261,496,732,009,898,456,535,014,862,322,492,265,072,816,328,508,305,310,112,689,157,701,089,084,567,448,541,009,967,544,490,653,321,322,705,937", "687357588294667585578626", "813183887279718535883742131575761825911494131375522235917296479139635776545860081144583730851407141300545489780557136407954.73", "7177128286236738886905329772080881695045031017932409702386065046187478712244527378681"], "non_matches": ["-43", "0", "01,423,534.23", "24.4223", "32,42,123", "134253y6hterge", "34ty6", "df435678", "uy67543e", "er456", "543qfv", "653g45"], "id": 2684} {"expression": "^[0-9]*[1-9]+[0-9]*$", "raw_prompt": "Allows only positive integers that are greater than 0. Also allows for infinite zeros leading the integer\nBased on William Powell's Pattern Title, but modified to allow for leading zeros.", "refined_prompt": "Allows only positive integers that are greater than 0. Also allows for infinite zeros leading to the integer\nMatch examples:\n- \"1\"\n- \"12\"\n- \"124\"\nNon-match examples:\n- \"-1\"\n- \"a\"", "matches": ["1", "12", "124", "01", "0012", "000124", "0456056898853258290052535909141449947763346124071099519164571289854655944451617155912138847698653624336996358636882626419149", "46958256105370176463315311504672534575648608130075527875460958175796347477937281561868894855362966967338559545531263555589847945645798388824272893481681574473762828549614845512745694623960580675", "838778102452570968618002967290535759234381294008100568708521648333919747513582156742395556355534167789561203424421508907573471001467336912131", "59243178360220518974977524032268252869783256427711504297180355797844365133253936498736137912484473134428433629192871622177748415296413197442647517467056322034045330465207797774188209863095273782857468049583162333877772343778564066486", "9035607486667778433287255438431614263", "2173247762150905619270434522184729642314788872748638294323640862487235604846967518462380060904", "107079596931536351545909256730859831054928608180812324257621143683697351393981683292321786696957732259158418344468426292755448306036256986543589987149164084480522274380340274402723299502431465896209140258535790"], "non_matches": ["-1", "a", "1.0", "0000", "number", "345674rwegty", "+987654", "-987654", "0.087654", "9876545678hgfds", "7675r6fyt", "324565tr"], "id": 2699} {"expression": "[0](\\d{9})|([0](\\d{2})( |-|)((\\d{3}))( |-|)(\\d{4}))|[0](\\d{2})( |-|)(\\d{7})|(\\+|00|09)(\\d{2}|\\d{3})( |-|)(\\d{2})( |-|)((\\d{3}))( |-|)(\\d{4})", "raw_prompt": "allows validation of phone numbers in different formats, including local dialing code (eg 033 or 076) or international dialing code in the formats +12 or 0012 or 0912.", "refined_prompt": "allows validation of phone numbers in different formats, including local dialing code (eg 033 or 076) or international dialing code in the formats +12 or 0012 or 0912.\nMatch examples:\n- \"073-386-2612\"\n- \"0443862612\"\n- \"076 858 7777\"\nNon-match examples:\n- \"qdsq11123\"\n- \"sdfgty654\"", "matches": ["073-386-2612", "0443862612", "076 858 7777", "+27 76 858 7777", "0027 765877777", "0956 33 8881234", "0921112720", "0405595829", "+546-08 639-5212", "040-6461703", "021-7377498", "0464291438", "0847314712"], "non_matches": ["qdsq11123", "sdfgty654", "IUYTR5678", "KLJIHUY", "erfhrt67dc", "3ferh8374", "rfenuyd654e5", "43iuhfe78", "3iufh&Y*&*", "HGYTF76", "34redc76", "3456y7hytrf"], "id": 2703} {"expression": "^([1-9][0-9]?|100)%$", "raw_prompt": "Matches a percentage between 1 and 100. Accepts up to 2 decimal places. No decimal places accepted.", "refined_prompt": "Matches a percentage between 1 and 100. Accepts up to 2 decimal places. No decimal places are accepted.\nMatch examples:\n- \"1%\"\n- \"52%\"\n- \"100%\"\nNon-match examples:\n- \"0%\"\n- \"100\"", "matches": ["1%", "52%", "100%", "49%", "9%", "7%", "89%", "26%", "41%", "5%", "24%", "3%", "25%"], "non_matches": ["0%", "100", "101%", "52", "52.4%", "987654", "2345678", "hugufcxs4", "98765rfg", "hbyugt65r", "8765rf", "hgtfyr5"], "id": 2710} {"expression": "^([0-9][0-9])[.]([0-9][0-9])[.]([0-9][0-9])$", "raw_prompt": "Versioning in XX.YY.ZZ format", "refined_prompt": "Matching dates in XX.YY.ZZ format\nMatch examples:\n- \"01.02.23\"\n- \"11.89.46\"\n- \"92.52.78\"\nNon-match examples:\n- \"1.2.3\"\n- \"23456.2345.2345\"", "matches": ["01.02.23", "11.89.46", "92.52.78", "04.39.63", "23.21.55", "17.50.87", "39.33.14", "79.93.88", "62.51.16", "02.19.99", "16.37.65", "68.49.64", "19.96.63"], "non_matches": ["1.2.3", "23456.2345.2345", "3refwdsy", "4353.34543.34", "2345refdrew", "43564.reqt5", "IP", "#3", ".e.wef.", "efrgt54", "543rd", "gr5445"], "id": 2735} {"expression": "[\\\\\"\"=/>](25[0-4]|2[0-4][0-9]|1\\d{2}|\\d{2})\\.((25[0-4]|2[0-4][0-9]|1\\d{2}|\\d{1,2})\\.){2}(25[0-4]|2[0-4][0-9]|1\\d{2}|\\d{2}|[1-9])\\b[\\\\\"\"=:;,/<]", "raw_prompt": "This expression is ideal used for \"identifying some plain application configuration files that contain any form of ip addresses, with or without port number followed and with protocol at the beginning\".\n[\\\\\"\"=/] can be removed on both ends to seach IPs in text files, but with it, it has better accuracy - there are version numbers in the application configuration files.\nIt also does not match IPs that have one digit at the first number.", "refined_prompt": "Matches plain application configuration files that contain any form of ip addresses, with or without port number followed and with protocol at the beginning\". It also does not match IPs that have one digit at the first number.\nMatch examples:\n- \"/172.21.134.89: /127.0.0.1: \"14.14.14.14\"\"\n- \"=148.48.233.103;\"\n- \">145.101.251.196;\"\nNon-match examples:\n- \"\"255.255.255.255\" \"243.243.2.0\" \"2.222.222.222\" /2224.2224.2224.2224:\"\n- \"34567ui\"", "matches": ["/172.21.134.89: /127.0.0.1: \"14.14.14.14\"", "=148.48.233.103;", ">145.101.251.196;", "\"254.228.251.171\\", "=250.253.4.206:", "/136.250.254.2/", "\"242.235.5.254=", "/207.253.250.251,", "\"00.206.131.5=", "\\163.162.2.228:", "\"232.06.203.251:", "\\47.0.42.96=", "\\253.250.27.228;"], "non_matches": ["\"255.255.255.255\" \"243.243.2.0\" \"2.222.222.222\" /2224.2224.2224.2224:", "34567ui", "swdefrtgyhjuik", "IP", "9876.23456.432234.54321", "3245.3234354.42312245.32", "i765rfgh", "/////", "fewcd", "w43rg", "345trf", "654fe"], "id": 2740} {"expression": "\\b(1(?!27\\.0\\.0\\.1)\\d{1,2}|2[0-4][0-9]|25[0-4]|\\d{1,2})\\.(?:\\d{1,3}\\.){2}(25[0-5]|2[0-4][0-9]|1\\d{2}|\\d{2}|[1-9])\\b", "raw_prompt": "Match all IP addresses other than 127.0.0.1. It dose not match an IP has 0 at the last number", "refined_prompt": "Match all IP addresses other than 127.0.0.1. It dose not match an IP has 0 at the last number\nMatch examples:\n- \"172.21.134.89 127.1.1.1 7.0.0.1 214.214.214.214\"\n- \"213.728.138.115\"\n- \"252.783.463.44\"\nNon-match examples:\n- \"127.0.0.1 192.168.1.0 255.255.255.255\"\n- \"2345\"", "matches": ["172.21.134.89 127.1.1.1 7.0.0.1 214.214.214.214", "213.728.138.115", "252.783.463.44", "252.1.5.1", "211.31.6.234", "40.548.5.2", "6.3.37.187", "14.58.636.218", "10.67.0.255", "233.981.287.39", "80.13.75.211", "33.81.173.3", "221.36.546.29"], "non_matches": ["127.0.0.1 192.168.1.0 255.255.255.255", "2345", "13r2456yht", "3r4t56", "345t6", "34567f", "ijyt765", "IP", "34f567hy", "345675432456.234565432.", "irtfcgv", "34567yterf"], "id": 2742} {"expression": "^(((19|2\\d)\\d{2}\\/(((0?[13578]|1[02])\\/31)|((0?[1,3-9]|1[0-2])\\/(29|30))))|((((19|2\\d)(0[48]|[2468][048]|[13579][26])|(2[048]00)))\\/0?2\\/29)|((19|2\\d)\\d{2})\\/((0?[1-9])|(1[0-2]))\\/(0?[1-9]|1\\d|2[0-8]))$", "raw_prompt": "this expression validates a date-time field in yyyy/m/d format. The days are validated for the given month and year. Leap years are validated for all 4 digits years from 1900-2999, and all 2 digits years except 00", "refined_prompt": "validates a date-time field in yyyy/m/d format. The days are validated for the given month and year. Leap years are validated for all 4 digits years from 1900-2999, and all 2 digits years except 00\nMatch examples:\n- \"2008/2/29\"\n- \"2010/12/31\"\n- \"2400/02/29\"\nNon-match examples:\n- \"2009/2/29\"\n- \"2010/11/31\"", "matches": ["2008/2/29", "2010/12/31", "2400/02/29", "1908/3/24", "2426/10/31", "2445/07/30", "2593/7/31", "2981/12/3", "2741/10/31", "2800/2/29", "1906/12/31", "1921/08/17", "1919/10/29"], "non_matches": ["2009/2/29", "2010/11/31", "2100/02/29", "12-12-12", "12/12/12", "2345678", "date", "32245/23456/3245", "43rfeds", "er4567", "34567543", "3456765432"], "id": 2753} {"expression": "^(((1[6-9]|[2-9]\\d)\\d{2}\\/(((0?[13578]|1[02])\\/31)|((0?[1,3-9]|1[0-2])\\/(29|30))))|((((1[6-9]|[2-9]\\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)))\\/0?2\\/29)|((1[6-9]|[2-9]\\d)\\d{2})\\/((0?[1-9])|(1[0-2]))\\/(0?[1-9]|1\\d|2[0-8]))$", "raw_prompt": "this expression validates a date-time field in yyyy/m/d format. The days are validated for the given month and year. Leap years are validated for all 4 digits years from 1600-9999, and all 2 digits years except 00", "refined_prompt": "validates a date-time field in yyyy/m/d format. The days are validated for the given month and year. Leap years are validated for all 4 digits years from 1600-9999, and all 2 digits years except 00\nMatch examples:\n- \"2008/2/29\"\n- \"2010/12/31\"\n- \"2400/02/29\"\nNon-match examples:\n- \"2009/2/29\"\n- \"2010/11/31\"", "matches": ["2008/2/29", "2010/12/31", "2400/02/29", "1740/02/29", "1871/03/31", "6829/05/31", "7200/02/29", "7895/8/29", "3055/6/9", "1966/08/29", "1680/02/29", "9386/04/24", "2639/05/18"], "non_matches": ["2009/2/29", "2010/11/31", "2100/02/29", "12-12-12", "12/12/21", "july 4", "noon", "12:12:12", "32456787654", "432413/23435/234", "987654erfg", "r45t6y7"], "id": 2754} {"expression": "^(((1[6-9]|[2-9]\\d)\\d{2}([-|\\/])(((0?[13578]|1[02])([-|\\/])31)|((0?[1,3-9]|1[0-2])([-|\\/])(29|30))))|((((1[6-9]|[2-9]\\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00)))([-|\\/])0?2([-|\\/])29)|((1[6-9]|[2-9]\\d)\\d{2})([-|\\/])((0?[1-9])|(1[0-2]))([-|\\/])(0?[1-9]|1\\d|2[0-8]))$", "raw_prompt": "this expression validates a date-time field in yyyy/m/d or yyyy-m-d format. The days are validated for the given month and year. Leap years are validated for all 4 digits years from 1600-9999, and all 2 digits years except 00", "refined_prompt": "this expression validates a date-time field in yyyy/m/d or yyyy-m-d format. The days are validated for the given month and year. Leap years are validated for all 4 digits years from 1600-9999, and all 2 digits years except 00\nMatch examples:\n- \"2008/2/29\"\n- \"2010/12/31\"\n- \"2400-02-29\"\nNon-match examples:\n- \"2009/2/29\"\n- \"2010/11/31\"", "matches": ["2008/2/29", "2010/12/31", "2400-02-29", "1928|05/30", "1876-12|11", "1776|10|27", "1907/03/29", "1782|04|15", "1621-11-27", "8142|10/14", "7978-12|2", "8800|02|29", "2348|02|29"], "non_matches": ["2009/2/29", "2010/11/31", "2100-02-29", "12/12/12", "12-12-12", "date", "july 4th", "noon", "12:12:12", "098765434567", "9876tghj", "kljhGFGHJKO"], "id": 2755} {"expression": "^([1-9]\\d*|0)(([.,]\\d*[1-9])?)$", "raw_prompt": "Positive real multi-digit number: don't allow preciding zero, last decimal digit zero not allowed.", "refined_prompt": "Matches positive real multi-digit number: don't allow preceding zero, last decimal digit zero not allowed.\nMatch examples:\n- \"1500\"\n- \"0,331\"\n- \"12.005\"\nNon-match examples:\n- \"01500\"\n- \"0,330\"", "matches": ["1500", "0,331", "12.005", "19204207", "0.515397219064482005053962418261754892110130607560901854459878678570886142", "3711317789628530594278175593852273602963673841141805.89952675267724818930125059048808750694531765788250405657468405161255545581758475", "0,031276441419360114979141459693979515028213585191067376944080819212405988924659796784", "0.588997558014435396618053207557453", "78344561005072202780646271634804695577", "9209628591304586,01513469042545248301696622872846074044", "0.075382775592020905438587331315840881474992805278637755", "194036710352866414120909933050685855557052133732759020", "728986200392162"], "non_matches": ["01500", "0,330", "012.0050", "kjhgfd", "#3", "$45", "54%", "098765rtfgh", "34f5", "349876ts", "9876543eds", "$%^&*()"], "id": 2761} {"expression": "^[^<>`~!/@\\#},.?\"-$%:;)(_ ^{&*=|'+]+$", "raw_prompt": "This regular expression will remove all invalid chars from a string", "refined_prompt": "Matches any strings without special characters, but can have - [ or ]\nMatch examples:\n- \"AdnanSattar\"\n- \"4567jki\"\n- \"evbtyui\"\nNon-match examples:\n- \"Adnan=Sattar\"\n- \"(*&^%$\"", "matches": ["AdnanSattar", "4567jki", "evbtyui", "3f45678kuy", "98765trghj", "gfdrt678", "3freu87t6", "dftgyuhijo9876", "fghukjhjGRFF765", "iuhgyuyguJGG", "vghftFTFT7867", "uygtfyFTY786", "nhgyt"], "non_matches": ["Adnan=Sattar", "(*&^%$", "&^%$", "GTFR$E%^&*", "*&^%RFTGH", "HGTF^&*Y(U)_+P}{:\"LK", "PI(U*Y&T^R%EDRTFYG", "fgctyguhUY&^%Rtfyguhi", "U&^%RTF", "FRT%", "IUY&T^%", "GFRTDE$%R^&T"], "id": 2762} {"expression": "^((\\d{3}[- ]\\d{3}[- ]\\d{2}[- ]\\d{2})|(\\d{3}[- ]\\d{2}[- ]\\d{2}[- ]\\d{3}))$", "raw_prompt": "allow to insert input for polish tax identyfication number (NIP). Mask accepted:\nXXX-XX-XX-XXX ; XXX-XXX-XX-XX ; XXX XX XX XXX ; XXX XXX XX XX", "refined_prompt": "Matches polish tax identification number (NIP). Mask accepted:\r\nXXX-XX-XX-XXX ; XXX-XXX-XX-XX ; XXX XX XX XXX ; XXX XXX XX XX\nMatch examples:\n- \"222-22-22-222\"\n- \"222-222-22-22\"\n- \"222 22 22 222\"\nNon-match examples:\n- \"2222222222\"\n- \"XXXXXXXXXX\"", "matches": ["222-22-22-222", "222-222-22-22", "222 22 22 222", "222 222 22 22", "046 956 96-35", "401-721 09 88", "675 51 55 031", "561-91-41 108", "825-700 53-14", "637-746 15-25", "921-161-33 32", "192 53 22-178", "090-658-27-75"], "non_matches": ["2222222222", "XXXXXXXXXX", "23142536789", "90876543", "#34567", "XXX XXX XX XX", "########", "phone number", "$45", "54%", "i987654fgh", "324r56789"], "id": 2781} {"expression": "^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$", "raw_prompt": "This regular expression will validate against a valid MAC address. The 6 bytes are hexadecimal and separated by semi colon or dash caracters.", "refined_prompt": "This regular expression will validate against a valid MAC address. The 6 bytes are hexadecimal and separated by semi colon or dash caracters.\nMatch examples:\n- \"01:23:45:67:89:AB\"\n- \"BA-57:B3-B9:C2-A8\"\n- \"D4-AC:94-1C-4E-90\"\nNon-match examples:\n- \"01:23:45:67:89:X9\"\n- \"12345678\"", "matches": ["01:23:45:67:89:AB", "BA-57:B3-B9:C2-A8", "D4-AC:94-1C-4E-90", "37-69-64-7A:55-33", "25:87:CB-DE-68:64", "83:59-09:02:13-1E", "7C-3D-35-37-08:08", "46:03:FE:29-70:EE", "64-E6:97:26-4F-ED", "15:63:B1-70:C1-0F", "C9:4F-2C-62:2E:9F", "30-1C-F5:0D-37-5D", "3A-34-0D-18-8E:D6"], "non_matches": ["01:23:45:67:89:X9", "12345678", "12345:987654", "123,24,24", "34235.342.152", "343532.43.34321", "435421.354.231431", "2314.123431345.212.3242", "335fgdd45Y", "#34567", "#(*&^FGHJ", "num"], "id": 2797} {"expression": "^[+]?((\\d*[1-9]+\\d*\\.?\\d*)|(\\d*\\.\\d*[1-9]+\\d*))$", "raw_prompt": "Matches any positive decimal number > 0 with optional leading '+' symbol and optional leading or trailing zeros on both sides of the decimal point. Decimal point is also optional and either side of the decimal is optional.", "refined_prompt": "Matches any positive decimal number > 0 with optional leading '+' symbol and optional leading or trailing zeros on both sides of the decimal point. Decimal point is also optional and either side of the decimal is optional.\nMatch examples:\n- \"010\"\n- \"010.\"\n- \".010\"\nNon-match examples:\n- \".\"\n- \"0\"", "matches": ["010", "010.", ".010", "010.010", "1243404772609295125460204035371614003828140108310.483882086089625121162296779392682463219687872418273841445297924589778656003699081173212696446764736168076709970110754272238158416496545182962276094816", "5787025258777226663819707379967196319384975473222131719286424617699635015993186695518392374645129413419824232769857118625924603488979620374196139158758967049899733974940005868347971383727258240349596530422889540028763704063", "+317390232368475384705319870283923655456872508597988998976484148982938930.74523413535367925846016470846001759708321521822199817916089893999756887856549219073857219000875348648398655713758532481199114884894818968926621332224528469823343672849792642124964271582263456940281441421730106292133702246064612081827607425743354934348703280078104380", "3182953897310785099910859118987204527113286602884476165.28666207806970913135774976284702115742844755844412008808399999838191175393795883917224339648955713837443957888639584667972427000449501810553657701093462565010252121364298943852915776823", "+46370587770832127929678376020248618142063452521989380145271251667849315652492763262895792996981293241358532486717314359262894718466298817749.0078953534904249259027644247073555111954696015987831490536214972", "+2158922856848719788004463835161024721556049945038228650203116367358142567921754193930284810014092696233574634329661884665831191742846614885446427786673787946142266681778485231299718559289788467849451632431428549557392523457149997506741350457845340358478259692.6676486109196738323654340119355044821760389646549846054709560", "+3443945771146322543101357179404990583317234398482679935929068146400310910737428742620921232436424511637883899494145437199864646986253318858145738253467897784935646391753133672842758967382388500380499978777346245625941109501315287373888375921853016913967902029227211816933034790877546215539", "540224785306964502417438075178309712450793216478411365239754751449503078288507348034276230640265870415651654801965705369326833953079649729225951284764202884061108949", "701894580094396043330941524260187427917372819176324599452830966390264117488527308225997026.731512256780380230594821447687785797535881670939160002092513059769006480051521463873976495539361793328226463771981348378341425825394853626992438944879686674884538674384632264928790579882949939404150959456898163151736661811870448"], "non_matches": [".", "0", "0.", ".0", "0.0", "0.00", "00.0", "00.00", "-0", "-1", "a", "#"], "id": 2799} {"expression": "\\b[A-Z0-9]{5}\\d{1}[01567]\\d{1}([0][1-9]|[12][0-9]|[3][0-1])\\d{1}[A-Z0-9]{3}[A-Z]{2}\\b", "raw_prompt": "Matches the UK Drivers License format:\ni. Must be 16 characters\nii. First 5 characters are alphanumeric.\niii. Next 6 characters must be numeric\niv. Next 3 characters are alphanumeric\nv. Last 2 characters are alpha\nvi. Second character of numeric section can only be 0, 1, 5 or 6. 7.\nFourth and fifth characters of numeric section must be in the range 01 to 31.", "refined_prompt": "Matches the UK Drivers License format:\r\ni. Must be 16 characters\r\nii. First 5 characters are alphanumeric.\r\niii. Next 6 characters must be numeric\r\niv. Next 3 characters are alphanumeric\r\nv. Last 2 characters are alpha\r\nvi. Second character of numeric section can only be 0, 1, 5 or 6. 7.\r\nFourth and fifth characters of numeric section must be in the range 01 to 31.\nMatch examples:\n- \"SASAS701062AB8DD\"\n- \"OOVJW664033DAGCW\"\n- \"ASD12405315AA4AA\"\nNon-match examples:\n- \"SASAS701062AB8D\"\n- \"ASD12405315AA4A\"", "matches": ["SASAS701062AB8DD", "OOVJW664033DAGCW", "ASD12405315AA4AA", "ABCDE101010XY9AA", "L81PT101045J2PJZ", "F4UFY6761434Y8VO", "PCVMQ002145D8MCC", "XGTOC760067R9EVK", "E5R6H6703194RVUT", "TI7XY265044RUCZQ", "02CQ8663081B5TKM", "NDAID811302OTCMP", "C0OMR760174Q9QPS"], "non_matches": ["SASAS701062AB8D", "ASD12405315AA4A", "ABCDE101010XY9A", "ABD2A121010AM9FA", "ABCDE101010XY9A9", "AbCdE711215GG9aa", "AFG98101010AM9Fa", "SSSSS841215SS9SS", "AFG98101000AM9FA", "AF\u00ac98101010AM9FA", "ABC99808275m99sc", "ABCDE654321A98"], "id": 2803} {"expression": "^[a-zA-Z][a-zA-Z\\-' ]*[a-zA-Z ]$", "raw_prompt": "Check for person name in database for example.\nA person name is a string compound of letters in upper or lower case and three more typographical characters, the hyphen (-), the simple quote or apostrophe (') and the space. For these three characters, not at the beginning or the end of the string.", "refined_prompt": "Matches a name that is s string compound of letters in upper or lower case and three more typographical characters, the hyphen (-), the simple quote or apostrophe ('), and the space. For these three characters, not at the beginning or the end of the string.\nMatch examples:\n- \"Pierre-Francis d'Astier de Weyergans-Migery\"\n- \"Jeanne d'Arc\"\n- \"Nicolas Sarkozy\"\nNon-match examples:\n- \"-tutu\"\n- \"tutu-\"", "matches": ["Pierre-Francis d'Astier de Weyergans-Migery", "Jeanne d'Arc", "Nicolas Sarkozy", "Charles de Gaulle", "Dominique Strauss-Kahn", "John", "Smith", "Lucky", "Kathryn", "wwefrgthyjukil", "jUHYGTFhujil", "GUyiuhTFY", "UYFuuiGUGugGug"], "non_matches": ["-tutu", "tutu-", "'tutu", "tutu'", "tu1tu", "tu*tu", "1tutu", "tutu*", "$4", "98765rftghb", "54%", "12-12"], "id": 2809} {"expression": "^([1-9]|1[0-2]|0[1-9]){1}(:[0-5][0-9][ ][aApP][mM]){1}$", "raw_prompt": "This will validate 12 hours time format with AM/am PM/pm", "refined_prompt": "This will validate 12 hours time format with AM/am PM/pm\nMatch examples:\n- \"11:11 AM\"\n- \"01:11 PM\"\n- \"12:59 AM\"\nNon-match examples:\n- \"21:11 AM\"\n- \"00:00 PM\"", "matches": ["11:11 AM", "01:11 PM", "12:59 AM", "08:07 Pm", "4:37 PM", "7:42 aM", "1:49 pM", "12:48 aM", "12:20 PM", "02:04 PM", "5:24 pM", "6:14 aM", "10:12 Pm"], "non_matches": ["21:11 AM", "00:00 PM", "10:70 AM", "10:50PM", "am", "PM", "12-12", "12/12", "time", "noon", "1 pm", "00"], "id": 2812} {"expression": "(((^[>]?1.0)(\\d)?(\\d)?)|(^[<]?1.0(([1-9])|(\\d[1-9])|([1-9]\\d)))|(^[<]?1.4(0)?(0)?)|(^[<>]?1.(([123])(\\d)?(\\d)?)))$", "raw_prompt": "Range validator for urine lab panel specific gravity. The valid range is 1.000 to 1.400 inclusive. Sometimes < and > are used but not in the context of <1.000 nor >1.400. To 1, 2 or 3 decimals. Normal range is 1.003 to 1.03 but is left to the viewer.", "refined_prompt": "Range validator for urine lab panel specific gravity. The valid range is 1.000 to 1.400 inclusive. Sometimes < and > are used but not in the context of <1.000 nor >1.400. To 1, 2 or 3 decimals. Normal range is 1.003 to 1.03 but is left to the viewer.\nMatch examples:\n- \">1.0\"\n- \"<1.001\"\n- \">1.399\"\nNon-match examples:\n- \">1.400\"\n- \"1.\"", "matches": [">1.0", "<1.001", ">1.399", "<1B06", "<1T072", "1<0", "<1I015", "1B34", "100", ">1-05", "130", "1:03", ">1}014"], "non_matches": [">1.400", "1.", "1.0011", "23refds", "4356HUI*T^R&%", "HT^&R", "#", "3", "34", "4353", "$4", "45%"], "id": 2816} {"expression": "^(((0?[1-9]|1\\d|2[0-8])|(0?[13456789]|1[012])/(29|30)|(0?[13578]|1[02])/31)/(0?[1-9]|1[012])/(19|[2-9]\\d)\\d{2}|0?29/0?2/((19|[2-9]\\d)(0[48]|[2468][048]|[13579][26])|(([2468][048]|[3579][26])00)))$", "raw_prompt": "DD/MM/YYYY with leap year detection as most of the date regex are in MM/DD/YYYY format. Allows MM and DD to be 1 or 2 digits, eg. D/M/YYYY, D/MM/YYYY or DD/M/YYYY", "refined_prompt": "DD/MM/YYYY with leap year detection as most of the date regex are in MM/DD/YYYY format. Allows MM and DD to be 1 or 2 digits, eg. D/M/YYYY, D/MM/YYYY or DD/M/YYYY\nMatch examples:\n- \"21/01/1972\"\n- \"21/1/1972\"\n- \"1/1/1972\"\nNon-match examples:\n- \"21-01-1972\"\n- \"21-01-1972\"", "matches": ["21/01/1972", "21/1/1972", "1/1/1972", "29/2/2012", "29/02/2012", "10/31/12/1943", "6/30/10/1972", "029/02/1908", "4/10/4721", "09/30/12/6065", "029/02/1908", "09/10/1997", "029/2/6156"], "non_matches": ["21-01-1972", "21-01-1972", "29/02/2011", "234567", "12-12-12", "12/2", "0000", "date", "12:12", "12|12|1212", "234567890", "$45"], "id": 2827} {"expression": "(Mo(n(day)?)?|Tu(e(sday)?)?|We(d(nesday)?)?|Th(u(rsday)?)?|Fr(i(day)?)?|Sa(t(urday)?)?|Su(n(day)?)?)", "raw_prompt": "The expression matches any weekday name (english) in short (2 or 3 characters) or full style. Use it with case insensitive mode in your date matching expressions.", "refined_prompt": "The expression matches any weekday name (english) in short (2 or 3 characters) or full style. Use it with case insensitive mode in your date matching expressions.\nMatch examples:\n- \"Mo\"\n- \"Sun\"\n- \"Monday\"\nNon-match examples:\n- \"Any\"\n- \"day\"", "matches": ["Mo", "Sun", "Monday", "Sunday", "Tues", "Tu", "Tuesday", "We", "Wednesday", "Th", "Thursday", "Sa", "Saturday"], "non_matches": ["Any", "day", "week", "MWF", "78654", "rfe4gt53", "44", "345678", "erwdsa", "87654", "12", "sdfghjkl"], "id": 2844} {"expression": "^([7-9]{1})([0-9]{9})$", "raw_prompt": "Mobile Number starts with 7,8,9 and total 10 digits", "refined_prompt": "Matches mobile numbers that stars with 7,8,9 and have a total 10 digits\nMatch examples:\n- \"9848457682\"\n- \"8748070871\"\n- \"9140445480\"\nNon-match examples:\n- \"123456789\"\n- \"234\"", "matches": ["9848457682", "8748070871", "9140445480", "8187798460", "7205929092", "7873485779", "8228102485", "7943185172", "9270010952", "7420143970", "7828685261", "7320622463", "9763183399"], "non_matches": ["123456789", "234", "324213", "-8765", "+8765", "$567890", "8765%", "#4", "12.324", "12.12", "12/12", "12-12"], "id": 3169} {"expression": "^((\\+|00)[1-9]{1,3})?(\\-| {0,1})?(([\\d]{0,3})(\\-| {0,1})?([\\d]{5,11})){1}$", "raw_prompt": "International phone number with 6 capturing groups:\ninternational prefix (00 xor '+');\n1 to 3 international code number, no zero allowed;\noptional space or hyphen;\n0 to 3 local prefix number;\noptional space or hyphen;\n5 to 11 local number without spaces or hyphens;", "refined_prompt": "Matches international phone number with 6 capturing groups:\r\ninternational prefix (00 xor '+');\r\n1 to 3 international code number, no zero allowed;\r\noptional space or hyphen;\r\n0 to 3 local prefix number;\r\noptional space or hyphen;\r\n5 to 11 local number without spaces or hyphens;\nMatch examples:\n- \"0034 91 12345678\"\n- \"+39-2-1234567\"\n- \"9112345678\"\nNon-match examples:\n- \"0034 91 123-456-789\"\n- \"(91)12345678\"", "matches": ["0034 91 12345678", "+39-2-1234567", "9112345678", "-5200553", "844001", "00936 0029092", "-92730", "4551720", "+918618376322", "+4 76 33954021871", "8429837872", "+5827195410", "-84599725"], "non_matches": ["0034 91 123-456-789", "(91)12345678", "0034 (91)12345678", "(8765)", "32", "-", "+9", "$567", "8765%", "43e", "43eds", "54re3"], "id": 3207} {"expression": "((0[1-9])|(1[0-9])|(2[0-9])|(3[0]))/((0[1-9])|(1[0-2]))/14[3-9]{2}", "raw_prompt": "Matches DD/MM/YYYY for Arabic Hijri Dates. It starts range from 1434 ( current year ) to 1499", "refined_prompt": "Matches DD/MM/YYYY for Arabic Hijri Dates. It starts range from 1434 ( current year ) to 1499\nMatch examples:\n- \"29/12/1434\"\n- \"01/02/1435\"\n- \"30/11/1434\"\nNon-match examples:\n- \"31/12/144\"\n- \"01/2/1435\"", "matches": ["29/12/1434", "01/02/1435", "30/11/1434", "30/09/1494", "26/01/1483", "02/10/1448", "26/05/1468", "07/03/1484", "06/03/1445", "14/08/1438", "02/08/1486", "26/04/1468", "30/12/1443"], "non_matches": ["31/12/144", "01/2/1435", "5/5/1435", "12/12", "12-12", "12-12-1212", "2134567", "+098765", "-987654", "date", "august 5th", "76rdfg"], "id": 3219} {"expression": "^(0|\\+33)[1-9]([-. ]?[0-9]{2}){4}$", "raw_prompt": "Match french phone number with or without french international dialling code", "refined_prompt": "Match french phone number with or without french international dialling code\nMatch examples:\n- \"+33622313131\"\n- \"02 02 02 02 02\"\n- \"0303030303\"\nNon-match examples:\n- \"+34622313131\"\n- \"1702020202\"", "matches": ["+33622313131", "02 02 02 02 02", "0303030303", "+331.4690.34 47", "+331 496409.08", "07 1785-81-31", "07-31.06-0072", "+3325537-99-41", "03510025-43", "01-23 17.66.08", "+3364933 17-14", "05721136 91", "+3314131 28-24"], "non_matches": ["+34622313131", "1702020202", "23", "12/12", "12-12", "12.12", "$56789", "-98765", "4567%", "32ewds", "4f3rec", "####"], "id": 3228} {"expression": "^(\\d?)*\\.?(\\d{1}|\\d{2})?$", "raw_prompt": "Expression to validate currency formatted numbers without the currency symbol. This is an updated version of my previous expression and now works in ASP.NET regular expression validators.", "refined_prompt": "Expression to validate currency formatted numbers without the currency symbol.\nMatch examples:\n- \"153\"\n- \"33.48\"\n- \"786.1\"\nNon-match examples:\n- \"-123\"\n- \"8524.258\"", "matches": ["153", "33.48", "786.1", "1567863483.33", "82620488732013362401002347289597345549580362775", "2656254197019330262321471387006506127493056032004370440", "1311244136524109600515669070575811020331240032815399.", "443946045269136478024586026599.", "64428461059046924271793448.1", "5833212769801702132419173010140466290563", "8742104836584323.87", "32636373432149873597766966.", "5024936454117752195698822273485385331"], "non_matches": ["-123", "8524.258", "eo45", "+87654", "$456789", "8765%", "8392iuyg", "###", "(765)", "32e", "num", "876tr5dRTYU"], "id": 3234} {"expression": "^(([0][1-9]|[1|2][0-9]|[3][0|1])[./-]([0][1-9]|[1][0-2])[./-]([0-9]{4})|(([0][1-9]|[1|2][0-9]|[3][0|1])[./-]([0][1-9]|[1][0-2])[./-]([0-9]{4}))[ ]([0|1][0-2])[:](([0-5][0-9]))([:](([0-5][0-9])))?)$", "raw_prompt": "this regular expression accepts date and optinal time with format\n(dd)[.-/](MM)[.-/](yyyy)[ ]\n(hh)[:](mm)[:](ss)", "refined_prompt": "accepts date and optinal time with format\r\n(dd)[.-/](MM)[.-/](yyyy)[ ]\r\n(hh)[:](mm)[:](ss)\nMatch examples:\n- \"01-01-2014 10:50\"\n- \"01/01/2014 10:50:59\"\n- \"11-10-2012\"\nNon-match examples:\n- \"01-01-2014 10:60\"\n- \"32-01-2014 10:50\"", "matches": ["01-01-2014 10:50", "01/01/2014 10:50:59", "11-10-2012", "3|.10.3059", "10-07/4711 11:00:11", "|1.10.7248 |0:04", "21/11/9170 01:46:14", "23.05.7387 |0:34:34", "07-08/6724", "06/10/9781 01:41:45", "30-06-4116 02:47", "07-08/6088 00:55:36", "17/01/6890"], "non_matches": ["01-01-2014 10:60", "32-01-2014 10:50", "01-13-2014 10:50", "3245678", "5432", "21", "3456789", "567454", "12/12", "12-12", "date", "12.12"], "id": 3264} {"expression": "^([0-9]{4})([0-9]{5})([0-9]{1})$", "raw_prompt": "The INN code is formed by:\nthe code of the tax department where INN was given (4 numbers), the record number of a registered company in the territorial section of the Unified State Register of Legal Entities in the tax department where INN was given (5 numbers), check digit (1 numbers)", "refined_prompt": "Matches INN code is formed by:\r\nthe code of the tax department where INN was given (4 numbers), the record number of a registered company in the territorial section of the Unified State Register of Legal Entities in the tax department where INN was given (5 numbers), check digit (1 numbers)\nMatch examples:\n- \"1234567891\"\n- \"6121546557\"\n- \"2996330885\"\nNon-match examples:\n- \"-\"\n- \"23\"", "matches": ["1234567891", "6121546557", "2996330885", "9071143858", "6831050660", "5032286810", "5643661741", "4289211487", "5130348925", "3124211984", "1203313918", "4960218069", "4205611860"], "non_matches": ["-", "23", "234", "4freds", "34256", "654", "########", "$4567", "12/12", "9932.234", "4342", "9876443456789098765456789"], "id": 3277} {"expression": "^([0-9]{1})([0-9]{2})([0-9]{2})([0-9]{7})([0-9]{1})$", "raw_prompt": "The OGRN code is formed by: the state registration number has the status of the main one (1 number), two last numbers of the year when the record was made (2 numbers), the sequence number of a constituent entity of Russia according to the list of constituent entities of Russia (2 numbers), record number entered in the state register within a year (7 numbers), check digit (1 number)", "refined_prompt": "Matches OGRN code is formed by: the state registration number has the status of the main one (1 number), two last numbers of the year when the record was made (2 numbers), the sequence number of a constituent entity of Russia according to the list of constituent entities of Russia (2 numbers), record number entered in the state register within a year (7 numbers), check digit (1 number)\nMatch examples:\n- \"1234567891234\"\n- \"0175106545632\"\n- \"5969169407468\"\nNon-match examples:\n- \"-\"\n- \"23\"", "matches": ["1234567891234", "0175106545632", "5969169407468", "6123158937485", "6423933815629", "5573896389764", "3982998881161", "8545973921523", "0707207053700", "1299659347786", "0246919033615", "9060347655405", "7652089273422"], "non_matches": ["-", "23", "3214", "123", "#3", "#########", "12/12", "12-12-12", "werrfghtjk", "4532", "23213433253453451234242343214222", "34213241542t56769867956487594"], "id": 3278} {"expression": "^((0[1-9]|[12][0-9]|3[01])([/])(0[13578]|[1][02])([/])(19[0-9][0-9]|20[0-9][0-9]))|((0[1-9]|[12][0-9]|30)([/])(0[469]|11)([/])(19[0-9][0-9]|20[0-9][0-9]))|((0[1-9]|[1][0-9]|[2][0-8])([/])(02)([/])(19[0-9][0-9]|20[0-9][0-9]))|((29)([/])(02)([/])(190[48]|19[13579][26]|19[2468][048]|20[02468][048]|20[13579][26]))$", "raw_prompt": "This pattern validates dates with slash (/) separator and with years between 1900 and 2099.", "refined_prompt": "This pattern validates dates with slash (/) separator and with years between 1900 and 2099.\nMatch examples:\n- \"01/01/1900\"\n- \"05/12/2014\"\n- \"31/12/2099\"\nNon-match examples:\n- \"41/01/1900\"\n- \"21/31/2014\"", "matches": ["01/01/1900", "05/12/2014", "31/12/2099", "12/02/1928", "29/02/1964", "29/04/1975", "01/04/2045", "01/02/2090", "29/02/2024", "28/10/2006", "30/09/2014", "05/02/2029", "30/06/1902"], "non_matches": ["41/01/1900", "21/31/2014", "21/12/1899", "21/12/2100", "12-12-12", "date", "12/12/12", "13245678", "2342", "0.0", "12", "123456789"], "id": 3280} {"expression": "^[1-9][0-9][0-9][0-9][0-9][0-9]$", "raw_prompt": "picode test", "refined_prompt": "Matches 6 digit pin codes\nMatch examples:\n- \"221001\"\n- \"929803\"\n- \"304135\"\nNon-match examples:\n- \"abcdd\"\n- \"ewrtyu\"", "matches": ["221001", "929803", "304135", "957924", "390543", "962831", "484081", "122937", "624889", "689953", "123367", "535820", "375211"], "non_matches": ["abcdd", "ewrtyu", "werty", "ertyuh", "RTY", "WERTYU6543E", "IJOUHYgtfvgbhn876tJ", "gfdreFVGBG54", "hgrFVGGt654ed", "BGFF", "pincode", "######"], "id": 3347} {"expression": "^((19[0-9][0-9])|(20[0-1][0-5]))\\-((0?[1-9])|(1[0-2]))\\-((0?[1-9])|([1-2][0-9])|(3[0-1]))$", "raw_prompt": "Year, month and day with dashes.Year starts from 1900 to 2015 and must be 4 digits.", "refined_prompt": "Matches year, month and day with dashes.Year starts from 1900 to 2015 and must be 4 digits.\nMatch examples:\n- \"2012-05-21\"\n- \"1960-12-14\"\n- \"1910-5-3\"\nNon-match examples:\n- \"2011/5/21\"\n- \"60-12-14\"", "matches": ["2012-05-21", "1960-12-14", "1910-5-3", "1924-02-18", "2010-06-31", "2013-5-12", "2004-12-14", "1940-10-31", "1911-09-31", "1915-12-01", "1940-7-31", "2003-05-17", "2005-11-28"], "non_matches": ["2011/5/21", "60-12-14", "2021-5-3", "12/12/12", "12:12:12", "12:12:20", "12-12-2020", "noon", "03", "$45", "date", "5%"], "id": 3349} {"expression": "^([A-Z]{1}\\w{1,3}) (\\d{1}[A-Z]{2})$", "raw_prompt": "simple validation of a UK postcode.\nExamples of valid:\nAA9A 9AA\nA9A 9AA\nA9 9AA\nA99 9AA\nAA9 9AA\nAA99 9AA", "refined_prompt": "Matches UK postcode.\r\nExamples of valid:\r\nAA9A 9AA\r\nA9A 9AA\r\nA9 9AA\r\nA99 9AA\r\nAA9 9AA\r\nAA99 9AA\nMatch examples:\n- \"EC1A 2BB\"\n- \"WyMM 8YE\"\n- \"IwSy 1KR\"\nNon-match examples:\n- \"111A 1BB\"\n- \"234567\"", "matches": ["EC1A 2BB", "WyMM 8YE", "IwSy 1KR", "NA1 3ZE", "WWiC 8TW", "QbM 4YE", "JF 5QO", "TCsL 1TU", "ET 6CY", "Nisg 1IY", "TZON 1VV", "A1 6QG", "DB 4AV"], "non_matches": ["111A 1BB", "234567", "34rgtr", "plate", "u7tfgy", "f4ugh495", "IHUY78y34rhes", "4iueh&Y*f", "HHu8uUhu8", "fr245(*y", "UHU894fre", "HHHUH8989br"], "id": 3368} {"expression": "[0-9]{2}-?[DF][A-Z]{2}-?[0-9]{1}|[DF][A-Z]{1}-?[0-9]{3}-?[A-Z]{1}|[DF]-?[0-9]{3}-?[A-Z]{2}|[DF][A-Z]{2}-?[0-9]{2}-?[A-Z]{1}$", "raw_prompt": "Check for dutch moped licenseplate number validity", "refined_prompt": "Matches dutch moped license plate number validity\nMatch examples:\n- \"D-123-AS\"\n- \"D123AS\"\n- \"F-123-SA\"\nNon-match examples:\n- \"Others\"\n- \"moped\"", "matches": ["D-123-AS", "D123AS", "F-123-SA", "F123SA", "F534CM", "38FLF8", "D612UY", "FFN-27B", "71DBX8", "D-071ZK", "85-DLD-3", "DPP19-X", "F829VS"], "non_matches": ["Others", "moped", "license plate", "34r5trf", "frgtyh645", "54vcv", "u878^&", "uyg^T", "UYGUGYY88hvgGGG", "HJgfyugt897tyg", "GYYgy87", "eufgduw"], "id": 3380} {"expression": "\\(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\)", "raw_prompt": "This regex finds the IPs in its route. This uses the UNIX Bash 'traceroute' command's IP format", "refined_prompt": "Matches IPs addresses. This uses the UNIX Bash 'traceroute' command's IP format\nMatch examples:\n- \"(8.8.8.8)\"\n- \"(127.0.0.1)\"\n- \"(58.5.15.18)\"\nNon-match examples:\n- \"(a.sg.af.)\"\n- \"8.8.8.8\"", "matches": ["(8.8.8.8)", "(127.0.0.1)", "(58.5.15.18)", "(9.00.12.124)", "(4.2.247.877)", "(0.718.30.0)", "(1.554.02.841)", "(6.55.410.3)", "(558.08.9.53)", "(8.57.32.27)", "(21.4.43.8)", "(6.13.025.740)", "(65.0.574.1)"], "non_matches": ["(a.sg.af.)", "8.8.8.8", "3245678", "(84)", ".34.34", "(.)", "IP", "LINUX", "56789.8765", "34.2324.", "31223.432.2343.4213.234.2342", "5443.354.35"], "id": 3381} {"expression": "^([A-z]{2}\\d{7})|([A-z]{4}\\d{10})$", "raw_prompt": "UK Parcelforce delivery tracking code for internal UK posts. Comes in two formats 2 letters and 7 numbers (e.g. AA1234567) and 4 letters and 10 numbers (e.g. AAAA1234567890). Case insensitive.", "refined_prompt": "Matches UK Parcelforce delivery tracking code for internal UK posts. Comes in two formats 2 letters and 7 numbers (e.g. AA1234567) and 4 letters and 10 numbers (e.g. AAAA1234567890). Case insensitive.\nMatch examples:\n- \"AA1234567\"\n- \"AAAA1234567890\"\n- \"JY7712375\"\nNon-match examples:\n- \"non\"\n- \"matching\"", "matches": ["AA1234567", "AAAA1234567890", "JY7712375", "bJ8510300", "Rq2086860", "rFFH6577541147", "Hi2791279", "jMgi4477954860", "Wv3215163", "Hk2856684", "]CMU3926045687", "EJX]4546430558", "DsNm4593829026"], "non_matches": ["non", "matching", "examples", "hy7t663defc", "34f34ev", "435ygtr", "45gtrJIHUYGT", "efrwth54rwfd", "efnkjUYTvyuyg78", "erf8756bHGcfthu", "f4re^&ff", "$45"], "id": 3383} {"expression": "^([A-z]{2}\\d{9}[Gg][Bb])|(\\d{12})$", "raw_prompt": "UK Parcelforce delivery tracking code for international tracking of exports. Comes in two formats: 2 letters and 9 numbers and GB (e.g. AA123456789GB) and 12 numbers (e.g. 123456789012). Case insensitive.", "refined_prompt": "Matches UK Parcelforce delivery tracking code for international tracking of exports. Comes in two formats: 2 letters and 9 numbers and GB (e.g. AA123456789GB) and 12 numbers (e.g. 123456789012). Case insensitive.\nMatch examples:\n- \"AA123456789GB\"\n- \"123456789012\"\n- \"JW114554115GB\"\nNon-match examples:\n- \"non\"\n- \"matching\"", "matches": ["AA123456789GB", "123456789012", "JW114554115GB", "968624923500", "^L809816187gb", "947733690091", "R^768258000gb", "Fs317433507gb", "044702913182", "Ua243127568Gb", "578094898939", "155269098434", "tB011083276Gb"], "non_matches": ["non", "matching", "examples", "FTGVJHUHYG8y7t6rtyf", "32fewsc", "4fewdsc98yiuhk", "tguyhb3ewds", "njhuytt", "IUGYTRYDTFCGHV", "efdiwu&^Ttyftuyg", "f34ewds7t8yi", "hy7t66"], "id": 3384} {"expression": "^[A-z]{2}\\d{9}(?![Gg][Bb])[A-z]{2}$", "raw_prompt": "UK Parcelforce delivery tracking code for international tracking of imports. Uses a negative look ahead to prevent it ending in GB which would be an international export code.", "refined_prompt": "Matches UK Parcel force delivery tracking code for international tracking of imports. Uses a negative look ahead to prevent it from ending in GB which would be an international export code.\nMatch examples:\n- \"AA123456789AA\"\n- \"`s222501350jn\"\n- \"YK497549717Tf\"\nNon-match examples:\n- \"AA123456789GB\"\n- \"AA123456789gb\"", "matches": ["AA123456789AA", "`s222501350jn", "YK497549717Tf", "]a850402060mL", "Pl836064353gi", "KN398950160cM", "tk755131768JN", "Cy415708352PT", "H\\495029367rN", "o]014906363bV", "Z\\018566877sX", "ZE350488757z\\", "hl632529674Lu"], "non_matches": ["AA123456789GB", "AA123456789gb", "AA123456789Gb", "AA123456789gB", "43fec8d7uhjb", "r13f4reds", "iu89y7t6rytfg", "efi23fuh34rf", "34fre4freoUIGI", "FTGVJHUHYG8y7t6rtyf", "#", "$456789"], "id": 3385} {"expression": "^(?:[A-z]{2})?\\d{9}(?:[A-z]{2})?$", "raw_prompt": "TNT UK delivery company consignment number tracking code for TNT Track and Trace service. The system will use the 9 digit code (e.g. 123456789) or you can use the letters as shown on your consignment note (e.g. GE123456781WW). Case insensitive.", "refined_prompt": "Matches TNT UK delivery company consignment number tracking code for TNT Track and Trace service. The system will use the 9 digit code (e.g. 123456789) or you can use the letters as shown on your consignment note (e.g. GE123456781WW). Case insensitive.\nMatch examples:\n- \"123456789\"\n- \"GE123456781WW\"\n- \"729600602Ey\"\nNon-match examples:\n- \"non\"\n- \"matching\"", "matches": ["123456789", "GE123456781WW", "729600602Ey", "931409146", "zK253794572]d", "042064816^b", "611846132", "si063107134", "\\x203621404OT", "EL520652755", "TY504476227", "nc503210123", "893936606QU"], "non_matches": ["non", "matching", "examples", "3283.312.", "tracking", "314567ytgrfe", "34fews", "34565trefdef", "jhg543we", "341fq4ewr", "54wrgrf", "43fec8d7uhjb"], "id": 3387} {"expression": "^\\d{4}\\/\\d{1,2}\\/\\d{1,2}$", "raw_prompt": "This regular expressions matches jalali dates of the form YYYY/XX/XX where XX can be 1 or 2 digits long and YYYY is always 4 digits long.", "refined_prompt": "This regular expressions matches jalali dates of the form YYYY/XX/XX where XX can be 1 or 2 digits long and YYYY is always 4 digits long.\nMatch examples:\n- \"1394/01/3\"\n- \"1365/12/31\"\n- \"1397/02/01\"\nNon-match examples:\n- \"1394/1/555\"\n- \"139/1/4\"", "matches": ["1394/01/3", "1365/12/31", "1397/02/01", "2586/9/66", "6350/9/12", "9325/1/98", "1077/7/67", "7807/9/57", "9125/35/4", "2109/6/23", "6564/9/81", "2702/9/04", "6610/1/7"], "non_matches": ["1394/1/555", "139/1/4", "1/11/1394", "1234567", "date", "12-12-12", "12 12 12", "3 3 30", "09 09 09 09", "3245678", "12", "$45"], "id": 3394} {"expression": "[0-9]{4}[/.-](?:1[0-2]|0?[1-9])[/.-](?:3[01]|[12][0-9]|0?[1-9])", "raw_prompt": "Date Year-Month-Day. From http://tools.twainscanning.com/getmyregex", "refined_prompt": "Matches date in form Year-Month-Day\nMatch examples:\n- \"2015-08-31\"\n- \"0132/10/12\"\n- \"9345.12.31\"\nNon-match examples:\n- \"31/08/2015\"\n- \"date\"", "matches": ["2015-08-31", "0132/10/12", "9345.12.31", "5660-11/27", "5881-08-2", "4286-12/31", "1724-1.30", "5107/9-30", "3508-08-28", "3245.8-04", "6988.01/18", "4625/12.9", "9173/11-11"], "non_matches": ["31/08/2015", "date", "jan 5th", "3rd of jun", "aug 6 2008", "121212", "12 12 12", "12 12 1212", "1212121212", "liu87y6tyg", "jehfef", "328472398472934"], "id": 3417} {"expression": "(facebook|twitter|youtube)", "raw_prompt": "Google Analytics Segment by source social media. From http://tools.twainscanning.com/getmyregex .", "refined_prompt": "Matches facebook, twitter, or youtube\nMatch examples:\n- \"facebook\"\n- \"twitter\"\n- \"youtube\"\nNon-match examples:\n- \"imgur\"\n- \"3e456yhtbgf\"", "matches": ["facebook", "twitter", "youtube"], "non_matches": ["imgur", "3e456yhtbgf", "eqf45gtrvfd", "4rfgvwre", "snapchat", "43fred", "X", "g54red", "qrg4ruyn", "social media", "google", "w4jrgrd"], "id": 3420} {"expression": "((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])", "raw_prompt": "IP address IPv4 (127.0.0.1) . From http://tools.twainscanning.com/getmyregex .", "refined_prompt": "Match IP address IPv4 (127.0.0.1)\nMatch examples:\n- \"127.0.0.1\"\n- \"250.136.255.92\"\n- \"253.5.255.111\"\nNon-match examples:\n- \"127-0-0-1\"\n- \"IP\"", "matches": ["127.0.0.1", "250.136.255.92", "253.5.255.111", "7.250.223.5", "170.2.9.252", "250.97.253.53", "255.253.218.19", "254.251.251.250", "39.194.7.255", "226.253.251.250", "255.254.0.251", "1.2.5.251", "250.255.251.252"], "non_matches": ["127-0-0-1", "IP", "231/12312/123", "5432", "31245678", "juytfvghbi87", "g8g", "3i4u984", "##34", "##########", "op98yttygbh", "elcdoh"], "id": 3425} {"expression": "(?:2[0-3]|[01]?[0-9])[:.][0-5]?[0-9]", "raw_prompt": "Time HH:MM (23:30). From http://tools.twainscanning.com/getmyregex .", "refined_prompt": "Matches time in format HH:MM (23:30)\nMatch examples:\n- \"23:30\"\n- \"23.30\"\n- \"20.7\"\nNon-match examples:\n- \"23-30\"\n- \"time\"", "matches": ["23:30", "23.30", "20.7", "23.6", "20:0", "22.23", "23:0", "22:08", "20:00", "06.5", "21:47", "8.1", "14:1"], "non_matches": ["23-30", "time", "12/12", "11 11", "3498765", "noon", "monday", "1 pm", "32434322", "2312", "43434", "234565432"], "id": 3427} {"expression": "[0-9]{5}\\s?[0-9]{5}", "raw_prompt": "Basic UTR and CRT formats, 10 digits however are often written with an optional space after 1st 5", "refined_prompt": "Matches basic UTR and CRT formats, 10 digits however are often written with an optional space after 1st 5\nMatch examples:\n- \"1234567890\"\n- \"12345 67890\"\n- \"14980\u200916473\"\nNon-match examples:\n- \"123 4567890\"\n- \"A123456789\"", "matches": ["1234567890", "12345 67890", "14980\u200916473", "70356\u200933356", "7045456535", "6505015311", "2297102022", "4941497592", "66120\f53700", "1614435240", "8589244725", "4414717487", "9257801789"], "non_matches": ["123 4567890", "A123456789", "2345", "efr54rfe", "34fdf", ".file", "3455%", "34RTRFVD", "3EW", "fredc", "EFGRED", "ER5TRGY"], "id": 3448} {"expression": "^([1-9]|1[0-2])$", "raw_prompt": "Simple check for a value between 1 and 12", "refined_prompt": "Simple check for a value between 1 and 12\nMatch examples:\n- \"1\"\n- \"2\"\n- \"12\"\nNon-match examples:\n- \"-1\"\n- \"13\"", "matches": ["1", "2", "12", "3", "4", "5", "6", "7", "8", "9", "10", "11"], "non_matches": ["-1", "13", "A1", "14", "-12", "2345", "44", "23", "12.22", "235340", "493", "1,000"], "id": 3454} {"expression": "^(?=.*[1-9].*)[0-9]{3}$", "raw_prompt": "3 digit number representing an HMRC Tax Office. Office 000 is not valid", "refined_prompt": "Matches 3 digit number representing an HMRC Tax Office. Office 000 is not valid\nMatch examples:\n- \"001\"\n- \"123\"\n- \"940\"\nNon-match examples:\n- \"-01\"\n- \"000\"", "matches": ["001", "123", "940", "675", "518", "408", "695", "515", "026", "432", "225", "346", "757"], "non_matches": ["-01", "000", "90.1", "742305", "148179", "748684", "367425", "3269", "2595", "2839", "700250579", "820281690"], "id": 3457} {"expression": "^(GB)?([0-9]{9})$", "raw_prompt": "If you dont need to validate anything other than UK Numbers then this is for you, with optional GB at the start. If you need other countries then the EU Pattern is better suited", "refined_prompt": "Matches UK Numbers, with optional GB at the start.\nMatch examples:\n- \"GB123456789\"\n- \"123456789\"\n- \"GB604774876\"\nNon-match examples:\n- \"GB12345678\"\n- \"AA123456789\"", "matches": ["GB123456789", "123456789", "GB604774876", "GB377715572", "GB306556503", "410056552", "934546885", "539884648", "004466730", "070159455", "GB957511261", "GB957511261", "GB820935266"], "non_matches": ["GB12345678", "AA123456789", "1234567", "GB0", "GB7", "GB5", "fghtgr", "435tgrfvd", "ertrgefw", "JHGYTF", "aTF%Ffy", "43fre"], "id": 3459} {"expression": "^[0-9]{8}R[A-HJ-NP-TV-Z]$", "raw_prompt": "Pension Schemes have their own references, 8 digits followed by R and then another letter.", "refined_prompt": "Matches Pension Schemes with 8 digits followed by R and then another letter.\nMatch examples:\n- \"12345678RA\"\n- \"43213245RT\"\n- \"83536006RP\"\nNon-match examples:\n- \"1234567RA\"\n- \"432132456RR\"", "matches": ["12345678RA", "43213245RT", "83536006RP", "09187372RA", "82927952RN", "06159369RM", "62722611RD", "05680285RH", "97060368RL", "65424962RR", "90220825RL", "43371559RT", "67100732RY"], "non_matches": ["1234567RA", "432132456RR", "23657005*V", "54102433!J", "56423464JG", "14301651ET", "79870307vG", "74051292DW", "53918747;Q", "18732502\\B", "59288318HP", "52153646mD"], "id": 3460} {"expression": "^(A[A-HJ-M]|[BR][A-Y]|C[A-HJ-PR-V]|[EMOV][A-Y]|G[A-HJ-O]|[DFHKLPSWY][A-HJ-PR-Y]|MAN|N[A-EGHJ-PR-Y]|X[A-F]|)(0[02-9]|[1-9][0-9])[A-HJ-P-R-Z]{3}$", "raw_prompt": "Current standard UK Registration plates running from Sept 2001 to Feb 2051, basic form AA99AAA but contains prefix combinations, the only number not used is 01", "refined_prompt": "Matches standard UK Registration plates running from Sept 2001 to Feb 2051, basic form AA99AAA but contains prefix combinations, the only number not used is 01\nMatch examples:\n- \"NE02ABC\"\n- \"AA58DEF\"\n- \"CH08NDO\"\nNon-match examples:\n- \"NF02ABC\"\n- \"AA01WUX\"", "matches": ["NE02ABC", "AA58DEF", "CH08NDO", "GL05KLZ", "02RJA", "GC24OTS", "03JEG", "BE00EHK", "07-UT", "MAN04AVY", "NB60ZUA", "CM87XTT", "BA05CKX"], "non_matches": ["NF02ABC", "AA01WUX", "werty", "2345678", "ID", "huy76t5rt", "DDDjjjj", "UHDIhIhef", "JIDHIEUH*(8d", "jndekUHIb", "dejwnsU", "#####"], "id": 3467} {"expression": "^A([0-9]|10)$", "raw_prompt": "Sizes of paper from A0-A10", "refined_prompt": "Matches sizes of paper from A0-A10\nMatch examples:\n- \"A0\"\n- \"A6\"\n- \"A10\"\nNon-match examples:\n- \"A-1\"\n- \"B1\"", "matches": ["A0", "A6", "A10", "A5", "A1", "A7", "A2", "A6", "A8", "A9", "A4"], "non_matches": ["A-1", "B1", "A11", "*10", "M10", "R7", ")8", ":10", "x10", "c10", "V10", "T10"], "id": 3473} {"expression": "^([1-9]+)?[02468]$", "raw_prompt": "Any number possible as long as its even.", "refined_prompt": "Matches any number possible as long as its even.\nMatch examples:\n- \"2\"\n- \"64\"\n- \"4343253298\"\nNon-match examples:\n- \"3\"\n- \"65\"", "matches": ["2", "64", "4343253298", "54462446332341621278485525477542956571558953391926", "4", "0", "2877461963813168652", "62928195697568977435979956928831314989257272", "8", "78947698", "364543262324", "234564", "342567654"], "non_matches": ["3", "65", "5345643531", "65789091", "35932109", "348712937", "4398523", "4390523", "0987654321", "234567", "67545", "3453019"], "id": 3475} {"expression": "^(-?)((\\d{1,3})(,\\d{3})*|\\d+)((\\.\\d+)?)$", "raw_prompt": "Matches negative and positive numbers with or without commas and with or without decimals", "refined_prompt": "Matches negative and positive numbers with or without commas and with or without decimals\nMatch examples:\n- \"-9.999\"\n- \"99,999,999.99\"\n- \"9999.99\"\nNon-match examples:\n- \"-.9\"\n- \".9\"", "matches": ["-9.999", "99,999,999.99", "9999.99", "999", "973,898,080,023,320,174,275,691,896,152,929,655,872,854,275,405,642,525,164,040,715,794,125,153,765,149,370,547,663,723,520,381,412,935,153,182,317,140,251,596,179,426,310,146,514,816,550,425,261,266,914,296,309,977,419,649,196,217,745,536,552,854,423,520,767,883,456,706,212,962,862,792,823,683,766,127,484,450,256,322,208,506,810,163,708,363,530", "-107435874649536107.8425896633773618788668368182747602093390185", "574,157,771,787,480,745,391,222,968,697,710,809,027,945,859,504,193,784,865,300,586,485,054,581,945,331,306,825,209,685,537,173,186,524,778,331,974,946,315,377.7655430909592566053000542956697504011368047909223541262517872627668012", "7313696270262177170837", "31,488,896,592,575,159,982,969,001,342,115,430,876,192,242,360,264,280,364,174,659,994,129,828,840,905,580,876,205,901,545,632,615,330,748,307,674,682,190,322,580,290,582,118,805,859,233,158,916,497,461,750.1462680935394607079801548365023342919593", "68,003,464,907,564,254,704,314,847,875,828,177,723,429,372,052,221,672,410,341,505,941,792,775,515,083,508,684,418,580,476,497,609,295,879,951,226,673,385,005,628,067,062,694,799,831,691,923,097,473,628,070,117,889,840,844,522,227,274,243,367,836,552,928,077,075,868,961,876,296,593,950,430,931,305,478,348,514,453,522,818.6645486536540997105751121294598781036", "-4821832801840457814747826278894671531051137138018416901702041595271519335526298581447861181793086752", "55253465954372875860773921365960757899176704913.502999822699787898412276", "28808141779321425346696897"], "non_matches": ["-.9", ".9", "9,99.99", "4fbh3q", "#3", "45%", "$34", "12/12", "3.", "+9876", "8976.", "3283.312."], "id": 3481} {"expression": "^([\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[0-9]+[a-z]+[A-Z]+|[0-9]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[a-z]+[A-Z]+|[0-9]+[a-z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[A-Z]+|[0-9]+[a-z]+[A-Z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+|[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[0-9]+[A-Z]+[a-z]+|[0-9]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[A-Z]+[a-z]+|[0-9]+[A-Z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[a-z]+|[0-9]+[A-Z]+[a-z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+|[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[a-z]+[0-9]+[A-Z]+|[a-z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[0-9]+[A-Z]+|[a-z]+[0-9]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[A-Z]+|[a-z]+[0-9]+[A-Z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+|[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[a-z]+[A-Z]+[0-9]+|[a-z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[A-Z]+[0-9]+|[a-z]+[A-Z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[0-9]+|[a-z]+[A-Z]+[0-9]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+|[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[A-Z]+[0-9]+[a-z]+|[A-Z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[0-9]+[a-z]+|[A-Z]+[0-9]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[a-z]+|[A-Z]+[0-9]+[a-z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+|[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[A-Z]+[a-z]+[0-9]+|[A-Z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[a-z]+[0-9]+|[A-Z]+[a-z]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+[0-9]+|[A-Z]+[a-z]+[0-9]+[\\$@!%\\*\\?&`~\\^\\\\(\\)\\[\\]\\{\\}<>,\\._#-]+)+$", "raw_prompt": "Password with lower, upper case letters, digits and special characters in any order", "refined_prompt": "Matches password with lower, and upper case letters, digits, and special characters in any order\nMatch examples:\n- \"#3aZ\"\n- \"3#aZ\"\n- \"3a#Z\"\nNon-match examples:\n- \"#$@!\"\n- \"aB3a\"", "matches": ["#3aZ", "3#aZ", "3a#Z", "3aZ#", "#3Za", "3#Za", "3Z#a", "3Za#", "#a3Z", "a#3Z", "a3#Z", "a3Z#", "#aZ3", "a#Z3", "aZ#3", "aZ3#", "#Z3a", "Z#3a", "Z3#a", "Z3a#", "#Za3", "Z#a3", "Za#3", "Za3#"], "non_matches": ["#$@!", "aB3a", "zzzz", "BBBB", "1234", "r4fr4ecUYF", "fervdrtg", "3443ferfr", "r4ewd4513", "43fe7", "3r783y43hre", "4fbh3q"], "id": 3483} {"expression": "", "raw_prompt": "Matches html comments but excludes comments that contain if statements", "refined_prompt": "Matches html comments but excludes comments that contain if statements\nMatch examples:\n- \"\"\n- \"\"\n- \"\"\nNon-match examples:\n- \"\"\n- \"\"", "matches": ["", "", "", "", "", "", "", "", "", "", "", "", ""], "non_matches": ["", "", "#ekf", "//grefdw", "/ erwfds", "\\\\frf4r3", "comment", "## frgrtf", "/* erhfgejr */", "< rfer <", "> jefejer <", "/// rtgfd"], "id": 3488} {"expression": "^\\d{1,2}\\/\\d{1,2}\\/\\d{4}$", "raw_prompt": "This regular expressions matches dates of the form XX/XX/YYYY where XX can be 1 or 2 digits long and YYYY is always 4 digits long", "refined_prompt": "This regular expressions matches dates of the form XX/XX/YYYY where XX can be 1 or 2 digits long and YYYY is always 4 digits long\nMatch examples:\n- \"4/1/2001\"\n- \"12/12/2001\"\n- \"55/5/3434\"\nNon-match examples:\n- \"1/1/01\"\n- \"12 Jan 01\"", "matches": ["4/1/2001", "12/12/2001", "55/5/3434", "7/34/0493", "5/2/6783", "9/3/6347", "67/86/8577", "2/79/7620", "5/6/1794", "3/00/1375", "86/18/0593", "0/8/0673", "9/94/5749"], "non_matches": ["1/1/01", "12 Jan 01", "1-1-2001", "Jan", "July 5th", "23-23-23-23", "92", "394", "$45", "3929", "65%", "12-12"], "id": 3546} {"expression": "((a|p|A|P)(m|M)\\s{0,1}(0[0-9]|1[0-2]|[0-9]):[0-5][0-9]:[0-5][0-9])|((a|p|A|P)(m|M)\\s{0,1}(0[0-9]|1[0-2]|[0-9]):[0-5][0-9])|((0[0-9]|1[0-2]|[0-9]):[0-5][0-9]\\s{0,1}(a|p|A|P)(m|M))|((0[0-9]|1[0-2]|[0-9]):[0-5][0-9]:[0-5][0-9]\\s{0,1}(a|p|A|P)(m|M))|((0[0-9]|1[0-9]|2[0-3]|[0-9]):[0-5][0-9]:[0-5][0-9])|((0[0-9]|1[0-9]|2[0-3]|[0-9]):[0-5][0-9])", "raw_prompt": "Matches all types of time declaration with ':' separator.", "refined_prompt": "Matches all types of time declaration with ':' separator.\nMatch examples:\n- \"0:26:12 aM\"\n- \"00:26:12 Pm\"\n- \"0:26:12aM\"\nNon-match examples:\n- \"eferfqe\"\n- \"ergqfr\"", "matches": ["0:26:12 aM", "00:26:12 Pm", "0:26:12aM", "00:26:12Pm", "Am 0:26:12", "pM 00:26:12", "Am0:26:12", "pM00:26:12", "0:26 PM", "01:26 am", "0:26PM", "01:26am", "Am 0:26", "pM 00:26", "Am0:26", "pM00:26", "23:26:12", "00:26:12", "0:26:12", "23:26", "0:26"], "non_matches": ["eferfqe", "ergqfr", "time", "noon", "39404", "234je", "am", "pm", "4334", "ef394", "323423", "43234"], "id": 3549} {"expression": "(0\\d|1\\d|2[0-4]) ?: ?([0-5]\\d)( ?: ?[0-5]\\d)?", "raw_prompt": "Validate hh:minmin:ss", "refined_prompt": "Validate hh:minmin:ss\nMatch examples:\n- \"09:03:05\"\n- \"08 : 03 : 57\"\n- \"24:00: 05\"\nNon-match examples:\n- \"17:2\"\n- \"3:52\"", "matches": ["09:03:05", "08 : 03 : 57", "24:00: 05", "00: 00 :00", "17:54", "08 : 21", "20:06", "04 : 30", "18:44", "03:16 :10", "12 :03 :22", "11:49:41", "00:07"], "non_matches": ["17:2", "3:52", "time", "2345678", "5432", "noon", "12-12", "12/12", "12/12/12", "12-12/12", "00000000", "9348239"], "id": 3556} {"expression": "^-?[1-9]\\d*\\.?(\\d+([eE][-+]\\d+)?)?$", "raw_prompt": "Matches numbers including scintific format", "refined_prompt": "Matches numbers including scientific format\nMatch examples:\n- \"-23333.1e+24\"\n- \"123\"\n- \"34.2\"\nNon-match examples:\n- \"23333.01+24\"\n- \"+123\"", "matches": ["-23333.1e+24", "123", "34.2", "-87693717247827161710694734576192125749089372404404342916330522406312", "-58564737552536.48176669308690674801075092379671445298833269473178731660961607224906327105271832084398137517568204770E-543040380162654177953787637765950840354806562831489817623846468396061531953", "862812362091683.", "-14649493636878381404701033168989841646", "-8101504129224558449019.4405431612507291079373009997249872857073731454645109061855654267230552770570547052296479060", "-26289839608675870704205108719611455149053083752457354690998470666126956758238188267599153792124132000685265298028593", "-6675064312488545378599501435434424173844999467920.", "-6814243005789112884114406497450943039122013912782781.890142773956864806716537437059292866176042454049110855352E-316423271089475072396705264608329388811095333019381819638428674", "286373605821936943615099.", "-970298087661834718193198391350046452602031077045708513613731852440827586137422875"], "non_matches": ["23333.01+24", "+123", "34.-20", "erfr", "x10", "SF", "erfher", "ferh", "+234", "#43", "45%", "$67"], "id": 3561} {"expression": "^(0?[1-9]|1[012])[- /.](0?[1-9]|[12][0-9]|3[01])[- /.](19|20)\\d\\d$", "raw_prompt": "Date in MM/DD/YYYY (USA Format). Allows for 1 or 2 digit month and day. Requires 4 digit year between 1900-2999. Allows for dash, slash, period or space for separators.", "refined_prompt": "Matches date in MM/DD/YYYY (USA Format). Allows for 1 or 2 digit month and day. Requires 4 digit year between 1900-2999. Allows for dash, slash, period or space for separators.\nMatch examples:\n- \"01/02/2015\"\n- \"5-7-1915\"\n- \"12.8.2035\"\nNon-match examples:\n- \"11-11-1845\"\n- \"31/12/2000\"", "matches": ["01/02/2015", "5-7-1915", "12.8.2035", "7 15 1963", "04.4-2026", "11-16 2045", "12 31/1965", "01/06.2038", "6/8.2070", "11 22.1990", "12 31 1971", "10-1 1929", "10.8-1940"], "non_matches": ["11-11-1845", "31/12/2000", "10-17-85", "jan 3", "monday the 4", "september", "324rfds", "july", "AM", "noon", "August 6th", "23erfo"], "id": 3601} {"expression": "^(1[0-2]|0[1-9]|[1-9])\\/(1[0-9]|2[0-9]|3[0-1]|0[1-9]|[1-9])\\/\\d{4}$", "raw_prompt": "is very accurate when catching\nand matching dates within the correct ranges in US standard date formats MM/DD/YYYY", "refined_prompt": "matches dates within the correct ranges in US standard date formats MM/DD/YYYY\nMatch examples:\n- \"1/3/2017\"\n- \"01/03/2017\"\n- \"12/12/2017\"\nNon-match examples:\n- \"31/12/2017\"\n- \"99/99/9999\"", "matches": ["1/3/2017", "01/03/2017", "12/12/2017", "12/31/2017", "11/29/4173", "03/30/1641", "2/26/2848", "4/14/6563", "01/31/8745", "12/2/5702", "09/29/3083", "11/07/8412", "02/27/8779"], "non_matches": ["31/12/2017", "99/99/9999", "12-31-2017", "December 30th, 2017", "jan 3", "12-43 32", "14 433 23", "23 7834 3", "28 84 28", "12 12 12", "date", "$45"], "id": 3712} {"expression": "((((0[1-9]|[12][0-9]|3[01])(0[13578]|10|12)(\\d{2}))|(([0][1-9]|[12][0-9]|30)(0[469]|11)(\\d{2}))|((0[1-9]|1[0-9]|2[0-8])(02)(\\d{2}))|((29)(02)(0(0|4|8)))|((29)(02)([2468][048]))|((29)(02)([13579][26])))[- ]?\\d{4})", "raw_prompt": "Matches the format from www.cpr.dk and fixed to match 29th February for leap years", "refined_prompt": "Matches the format from www.cpr.dk and fixed to match 29th February for leap years\nMatch examples:\n- \"020955-2012\"\n- \"020955-2012\"\n- \"241283-1234\"\nNon-match examples:\n- \"459434-1234\"\n- \"123456-1234\"", "matches": ["020955-2012", "020955-2012", "241283-1234", "290204-1234", "010111-1111", "1609902765", "1604403492", "300907-9597", "071221-9711", "130215-1984", "3112263460", "290232-1685", "290276-3597"], "non_matches": ["459434-1234", "123456-1234", "32", "324213", "2332", "#3", "45%", "+9876", "-9876543", "12/12", "12-12", "$45"], "id": 3731} {"expression": "(\\+989|9|09)(0[1-3]|1[0-9]|2[0-2]|3[0-9]|90|9[8-9])\\d{7}", "raw_prompt": "Regex for current available mobile numbers mention at\nhttps://fa.wikipedia.org/wiki/%D8%B4%D9%85%D8%A7%D8%B1%D9%87%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%AA%D9%84%D9%81%D9%86_%D8%AF%D8%B1_%D8%A7%DB%8C%D8%B1%D8%A7%D9%86", "refined_prompt": "Matches phone numbers that start with +989, 09, 9\nMatch examples:\n- \"09221113344\"\n- \"+989157097015\"\n- \"09984114118\"\nNon-match examples:\n- \"09057614584\"\n- \"210843631\"", "matches": ["09221113344", "+989157097015", "09984114118", "09019240398", "+989909222614", "9037817824", "+989300250188", "+989989115757", "09901083192", "+989989264032", "+989900827176", "9395962429", "9985839583"], "non_matches": ["09057614584", "210843631", "134270843", "226845794", "029897164", "022500703", "334741498", "344497280", "379468937", "190787239", "136765751", "162658046"], "id": 3753} {"expression": "^([1-9][0][0]|[1-9][0-9][0][0]|[1-9][0-9][0-9][0][0]|[1-9][0-9][0-9][0-9][0][0]|[1-9][0-9][0-9][0-9][0-9][0][0])$", "raw_prompt": "Permite digitar valores m\u00faltiplos de 100 entre 0 e 9999999.", "refined_prompt": "Matches integers between 0 and 9999999 that are multiples of 100.\nMatch examples:\n- \"100\"\n- \"200\"\n- \"9999900\"\nNon-match examples:\n- \"101\"\n- \"201\"", "matches": ["100", "200", "9999900", "392400", "8721100", "900", "149200", "50400", "9788500", "3800", "300", "700", "500"], "non_matches": ["101", "201", "9999901", "2342", "32321", "54235", "45", "3425", "65", "78657", "5437", "465"], "id": 3772} {"expression": "((0[1-9]|[12]\\d|3[01])(0[1-9]|1[0-2])\\d{3}\\d{2}\\d{4})", "raw_prompt": "Regex to match the \"Unique Master Citizen Number\" based on the wikipedia description.\nIt doesn't keep in account the checksum, but it matches the example on wikipedia.", "refined_prompt": "match the \"Unique Master Citizen Number\" based on the wikipedia description.\r\nIt doesn't keep in account the checksum, but it matches the example on wikipedia.\nMatch examples:\n- \"0101006500006\"\n- \"3112293253271\"\n- \"3108125465983\"\nNon-match examples:\n- \"none\"\n- \"#\"", "matches": ["0101006500006", "3112293253271", "3108125465983", "3109195422610", "3005759418613", "0303209389673", "0611089194958", "3102274338668", "1008516980206", "0612999408185", "1802851243292", "2912372658686", "0803454542771"], "non_matches": ["none", "#", "3edfr", "2343", "3432345", "432", "40.43", "4%", "$43", "12/12", "3.12", "345546"], "id": 3791} {"expression": "([0-8]?\\d[0-5]?\\d[0-5]?\\d|900000)[NS]([0-1]?[0-7]?\\d[0-5]?\\d[0-5]?\\d|1800000)[EW]\\d{3}", "raw_prompt": "NOTAM coords and radius in \"Q\" field", "refined_prompt": "Matches Notice to Airmen (NOTAM) coords and radius in \"Q\" field\nMatch examples:\n- \"440110N0123634E005\"\n- \"63319S20302E264\"\n- \"2226S0521E554\"\nNon-match examples:\n- \"any other format\"\n- \"east\"", "matches": ["440110N0123634E005", "63319S20302E264", "2226S0521E554", "900000N1800000W609", "69701N1800000E005", "426N000926W162", "900000N1800000W913", "900000N17905E922", "34357N1800000E549", "900000N1104713E911", "900000N3552E951", "900000N1800000E645", "6807N30413E654"], "non_matches": ["any other format", "east", "2345 west", "3few34", "3445g4", "east", "north south", "4349.349039", "343N.49S", "40934.err3", "49349fs", "4r89u34"], "id": 3803} {"expression": "(((\\d{2}((0[13578]|1[02])(0[1-9]|[12]\\d|3[01])|(0[13456789]|1[012])(0[1-9]|[12]\\d|30)|02(0[1-9]|1\\d|2[0-8])))|([02468][048]|[13579][26])0229))(( |-)(\\d{4})( |-)([01]8((( |-)\\d{1})|\\d{1}))|(\\d{4}[01]8\\d{1}))", "raw_prompt": "Matches valid South African ID numbers based on all criteria (except of course the checksum digit at the end).\nMatches the format defined as:\nYYMMDDSSSSCAZ.\nYY - Year,\nMM - Month,\nDD - Day,\nSSSS - Gender,\nC - Denotes citizenship (0 or a 1),\nA - Always an 8,\nZ - Checksum digit (doesn't validate if the checksum itself is valid).\nAlso supports the following ways of entering it:\nYYMMDDSSSSCAZ |\nYYMMDD SSSS CAZ |\nYYMMDD SSSS CA Z .\nSee this for a reference:\nhttps://www.westerncape.gov.za/general-publication/decoding-your-south-african-id-number-0", "refined_prompt": "Raw prompt:\r\nMatches valid South African ID numbers based on all criteria (except of course the checksum digit at the end).\r\nMatches the format defined as:\r\nYYMMDDSSSSCAZ.\r\nYY - Year,\r\nMM - Month,\r\nDD - Day,\r\nSSSS - Gender,\r\nC - Denotes citizenship (0 or a 1),\r\nA - Always an 8,\r\nZ - Checksum digit (doesn't validate if the checksum itself is valid).\r\nAlso supports the following ways of entering it:\r\nYYMMDDSSSSCAZ |\r\nYYMMDD SSSS CAZ |\r\nYYMMDD SSSS CA Z .\nMatch examples:\n- \"9202204720082\"\n- \"920220 4720 082\"\n- \"920220 4720 08 2\"\nNon-match examples:\n- \"9202204720282\"\n- \"920220 4720 052\"", "matches": ["9202204720082", "920220 4720 082", "920220 4720 08 2", "920220-4720-082", "920220-4720-08-2 9202204720183", "920220 4720 183", "920220 4720 18 3", "920220-4720-183", "920220-4720-18-3", "680229-2389 186", "820202 4161-08 4", "6302101315082", "1602292137185"], "non_matches": ["9202204720282", "920220 4720 052", "920220 4720 05 2", "920220-4720-252", "312", "23", "-98765", "+875", "2.2", "12/12", "$12", "12-12"], "id": 3811} {"expression": "^\\d{1,2}-\\d{1,2}-\\d{4}$", "raw_prompt": "This takes an American date using mm-dd-yyyy format. It does not validate month or day values.", "refined_prompt": "This takes an American date using mm-dd-yyyy format. It does not validate month or day values.\nMatch examples:\n- \"12-9-1969\"\n- \"2-8-1998\"\n- \"8-17-2002\"\nNon-match examples:\n- \"12-9-69\"\n- \"12/2/1948\"", "matches": ["12-9-1969", "2-8-1998", "8-17-2002", "32-9-7126", "7-32-3164", "36-41-4023", "2-83-5092", "65-17-2985", "2-6-2573", "9-7-6519", "73-3-6028", "95-92-3946", "72-8-3731"], "non_matches": ["12-9-69", "12/2/1948", "121212", "0303 32", "98 32 34", "12:12:12", "39/ 232 23", "=024", "date", "july 3rd", "4th of june", "Monday"], "id": 3909} {"expression": "[\\+-]?(([0-9]*\\.[0-9]+|[0-9]+\\.[0-9]*)([Ee][\\+-]?[0-9]+)?[Ff]?|[0-9]+[Ff])", "raw_prompt": "match a float number with Exponent sign and f sign", "refined_prompt": "Match a float number with the exponent sign and f sign\nMatch examples:\n- \"2.0\"\n- \"0.3\"\n- \"-.4\"\nNon-match examples:\n- \"2\"\n- \"234\"", "matches": ["2.0", "0.3", "-.4", "3.f", "2.4E-2f", "0.4E4f", "+68434376123571142467671333051141441412549162726665641457598935856888338337434820138985484.664307172223275614010247617296990420438085998112386677234329037864208E+0662457405511922641715466678507712653", "+6176362542611252884025597684113289.8105089225831585683374870914605219366760001597567148798178476981283717742061565595146894E+694770675280515632438832830333321081149414075370607346851616310216292621614669458408723624364", "-2398391484596794397762854085052915343645012590.339019130297736924518857445618383172895615069F", "+90231760797109805979886764272453352040730501449040733319757748212598959228484795.829264756113990", "423882003293925017189914016862227084248082211151429215469802112539736543237828143699.74467043139633892985391897055925812735994337546941364549077703709", "+1923509943268612511356446160581734383473679536746387878086302297790286613301f", "-610004F"], "non_matches": ["2", "234", ".f", "es.sss", "f", "E", "x", "x10", "exponent", "to the tenth", "323", "5432"], "id": 3910} {"expression": "(<<=|>>=|&&=|(\\|\\|=)|<<|>>(\\+=)|-=|(\\*=)|(\\/=)|%=|&=|(\\^=)|(\\|=)|<=|>=|==|!=|&&|(\\|\\|)|(\\+\\+)|--|>|<|\\^|&|(\\|)|\\*|\\/|%|\\+|-|~|=)", "raw_prompt": "matches almost all programming language operator", "refined_prompt": "matches almost all programming language operators\nMatch examples:\n- \"++\"\n- \"<=\"\n- \">>=\"\nNon-match examples:\n- \"identifier\"\n- \"2000\"", "matches": ["++", "<=", ">>=", "^", "*=", "|", ">>=", "<", "&", "|=", "+", "||", "--"], "non_matches": ["identifier", "2000", "0xFFF", "32eedw", "3refds", "3rfeds", "54t6yhtgre", "frgter", "rt5y6t", "43tefd", "e4fqt5g", "egde"], "id": 3912} {"expression": "^(?:[a-zA-Z]\\.?){1,4}$", "raw_prompt": "This expression will allow someone to place 1-4 Lower case or Upper case letters with optional periods after each letter for a total of up to 8 possible characters.", "refined_prompt": "Matches strings with 1-4 Lower case or Upper case letters with optional periods after each letter for a total of up to 8 possible characters.\nMatch examples:\n- \"J.W.R.\"\n- \"JwR\"\n- \"j.r.\"\nNon-match examples:\n- \"j..r.\"\n- \"jwers\"", "matches": ["J.W.R.", "JwR", "j.r.", "jwre", "JWWR", "J.er.e", "u.kq.R.", "uQ.x.", "F.dNx.", "u.EP", "dz.Y.", "mx", "Aw.D."], "non_matches": ["j..r.", "jwers", "jw2", ".j.w.r", "ew87yuhbe+efuihjdsk", ".", ".ew32r4fr", "3eds.reew", "wsfeew.efw", "ewf.ewfw", "ewfgtrf.efqw32r", "es.sss"], "id": 3915} {"expression": "^([\\da-fA-f]{2}[:-]){5}[\\da-fA-f]{2}$", "raw_prompt": "Matches mixed case, colon or hypen hexadecimal notation. Discards string too short or long, or with invalid characters. Needs extended grep.", "refined_prompt": "Matches mixed case, colon or hypen hexadecimal notation. Discards string too short or long, or with invalid characters.\nMatch examples:\n- \"98-CE-d0-a2-0a-68\"\n- \"98:cE:d0:a2:0a:68\"\n- \"BO:cX-32:d0-RS:C]\"\nNon-match examples:\n- \"98-cE-d0-a2-0a\"\n- \"98-cE-d0-a2-0a-68-f0\"", "matches": ["98-CE-d0-a2-0a-68", "98:cE:d0:a2:0a:68", "BO:cX-32:d0-RS:C]", "Oe:Qe:P2:IN:M5:VJ", "LG:BU-U[:eN-PM-dC", "\\2:RA:LI-cC-CU:CK", "MH:3e-\\1-c2-W[:A0", "6[:9J-SB-[3-bC:FP", "dC-R7-Ma:e2-QR-d^", "]1:1K-f2-QR:[Q-I9", "8R-4S-Gb:Ja-6f-TT", "4L-Mc:]^:2`:OA-6O", "f`:DA:UZ-Y2-WL-AO"], "non_matches": ["98-cE-d0-a2-0a", "98-cE-d0-a2-0a-68-f0", "g3refr", "4t5rgwfe", "345623ewfrgt", "tyt54g", "5tgrfewrt", "2345yhgfds", "43r3t4wes", "434-g5regdfv-", "----", "refdvc-"], "id": 3934} {"expression": "^9792\\d{12}$", "raw_prompt": "Matches troy credit cards (length 16, prefix 9792)", "refined_prompt": "Matches troy credit cards (length 16, prefix 9792)\nMatch examples:\n- \"9792131111111111\"\n- \"9792461111111111\"\n- \"9792111111111111\"\nNon-match examples:\n- \"9792 1311 1111 1111\"\n- \"1234561234561234\"", "matches": ["9792131111111111", "9792461111111111", "9792111111111111", "9792899105732571", "9792236212517562", "9792855956101834", "9792188559945304", "9792740088676935", "9792120081486541", "9792240253366588", "9792512089752934", "9792103861993354", "9792892078668297"], "non_matches": ["9792 1311 1111 1111", "1234561234561234", "4313803785737", "7286410428685", "8515778623679", "4829103934036", "2318501150827", "2723616635399", "1746343796917", "1352511310397", "7113822627183", "2754694421115"], "id": 3936} {"expression": "^(?:Yes\\b|No\\b|yes\\b|YES\\b|YEs\\b|yeS\\b|yEs\\b|NO\\b|nO\\b|no\\b)", "raw_prompt": "This regex will match below values only\nYES\nyes\nYes\nYEs\nyEs\nyeS\nNO\nno\nNo\nnO", "refined_prompt": "This regex will match below values only\r\nYES\r\nyes\r\nYes\r\nYEs\r\nyEs\r\nyeS\r\nNO\r\nno\r\nNo\r\nnO\nMatch examples:\n- \"YES\"\n- \"nO\"\n- \"No\"\nNon-match examples:\n- \"Except YES yes Yes YEs yEs yeS NO no No nO\"\n- \"3freds\"", "matches": ["YES", "nO", "No", "no", "NO", "yeS", "yEs", "YEs", "Yes", "yes"], "non_matches": ["Except YES yes Yes YEs yEs yeS NO no No nO", "3freds", "2345rfed", "maybe", "possiblly", "idk", "possibility", "who knows", "rjf3", "324ref", "jdsf", "wefjwe"], "id": 3951} {"expression": "^01[0125]{1}[0-9]{8}", "raw_prompt": "- first 2 digits are 01\n- second 1 digit is 0 for (Vodafone) or 1 for (Etisalat) or 2 for (orange) or 5 for (We)\n- third 8 digits are between 0 and 9", "refined_prompt": "Matches strings of numbers with the following constraints\r\n- first 2 digits are 01\r\n- second 1 digit is 0 for (Vodafone) or 1 for (Etisalat) or 2 for (orange) or 5 for (We)\r\n- third 8 digits are between 0 and 9\nMatch examples:\n- \"01022685544\"\n- \"01229671351\"\n- \"01208664788\"\nNon-match examples:\n- \"+0201622685544\"\n- \"01322685544\"", "matches": ["01022685544", "01229671351", "01208664788", "01522685544", "01102453819", "01207811393", "01591880142", "01220787889", "01073085438", "01073085438", "01008828664", "01204198011", "01589865476"], "non_matches": ["+0201622685544", "01322685544", "01422685544", "01622685544", "01722685544", "01822685544", "01922685544", "234354657", "6245", "546754", "345245636u37", "87654"], "id": 3981} {"expression": "^(\\d|\\d{1,9}|1\\d{1,9}|20\\d{8}|21[0-3]\\d{7}|214[0-6]\\d{6}|2147[0-3]\\d{5}|21474[0-7]\\d{4}|214748[0-2]\\d{3}|2147483[0-5]\\d{2}|21474836[0-3][0-9]|214748364[0-7])$", "raw_prompt": "regular expression for positive integer", "refined_prompt": "Matches a positive integer with max length 10\nMatch examples:\n- \"2147483647\"\n- \"0\"\n- \"2147483639\"\nNon-match examples:\n- \"2147483648\"\n- \"0.0\"", "matches": ["2147483647", "0", "2147483639", "2146178491", "2043838193", "696", "2057398233", "100", "2147290029", "2120758935", "2113395525", "43", "2147483610"], "non_matches": ["2147483648", "0.0", "-54645", "-987654", "+9876", "239.324", "#3", "$45", "54%", "-234.234", "+0.0", ".98765"], "id": 3983} {"expression": "^(0)((3[0-6][0-9]))(\\d{7})$", "raw_prompt": "All phone numbers starting with 03*********. total 11 digit numbers.", "refined_prompt": "Matches phone numbers starting with 03*********, for a total of 11 digits.\nMatch examples:\n- \"03355011998\"\n- \"03285760882\"\n- \"03331068752\"\nNon-match examples:\n- \"+923355011998\"\n- \"-43r3442\"", "matches": ["03355011998", "03285760882", "03331068752", "03304808078", "03036593646", "03504306683", "03262354454", "03621102307", "03677026308", "03219165500", "03505625978", "03571907284", "03699412297"], "non_matches": ["+923355011998", "-43r3442", "3258093573409753945942", "###", "03'", "(03)3829472", "47348", "324567887654324567", "42", "$45", "56%", "234"], "id": 4010} {"expression": "^[0-9]{4}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])($|(([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9])$)", "raw_prompt": "This expression validate the YYYYMMDDHHMMSS datetime format but also only the date YYYYMMDD. It does not control month length or leap years. Made for a SAP retail sales tickets interface.\nFor XML pattern facet this would do:\n([0-9]{4}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])(([01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]))|([0-9]{4}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1]))", "refined_prompt": "This expression matches the YYYYMMDDHHMMSS date time format but also only the date YYYYMMDD. It does not control month length or leap years.\nMatch examples:\n- \"20200707181818\"\n- \"20200707\"\n- \"20200231010000\"\nNon-match examples:\n- \"20201232\"\n- \"20201301\"", "matches": ["20200707181818", "20200707", "20200231010000", "20200931", "00011231235959", "00000101", "46481230070908", "05451230215834", "25590127", "81181204205631", "60501214230518", "79531131", "19650231"], "non_matches": ["20201232", "20201301", "20200028", "20200500", "20200707235978", "20201231128533", "20200327453030", "3252.54321.", "32532332", "34557564342", "423899", "435785"], "id": 4029} {"expression": "(^[3|4|5|6|7|8|9]\\d{2}(\\ |-){0,1}\\d{4}$)|(^[4|5|7|8]\\d{3}(\\ |-){0,1}\\d{4}$)|(^8\\d{2,3}(\\ |-){0,1}\\d{3,4}(\\ |-){0,1}\\d{3,4}$)", "raw_prompt": "Supports 7 digits (starting with 3,4,5,6,7,8,9) 8 digits (starting with 4,5,7,8), machine-to-machine (M2M) numbers 9-12 digits (starting with 8).", "refined_prompt": "Matches 7 digits (starting with 3,4,5,6,7,8,9), 8 digits (starting with 4,5,7,8), machine-to-machine (M2M) numbers 9-12 digits (starting with 8).\nMatch examples:\n- \"300 3000\"\n- \"300-3000\"\n- \"3003000\"\nNon-match examples:\n- \"3000 3000\"\n- \"9000 9000 9000\"", "matches": ["300 3000", "300-3000", "3003000", "762 4820", "81571127088", "8208 3987", "837-1862", "492-1995", "490 3417", "8579871", "507 3509", "8548059787", "8429437"], "non_matches": ["3000 3000", "9000 9000 9000", "werf", "234rtdsfqwe", "#3", "32456321", "876", "3521351`2", "32534687", "231", "$45", "54%"], "id": 4041} {"expression": "([s]){10,}", "raw_prompt": "Matches the hissing noise of a snake. Link to my GitHub: https://github.com/StoddardSpencer96", "refined_prompt": "Matches the hissing noise of a snake (string of any number of s more than 1).\nMatch examples:\n- \"ssssssssss wwwwwwwwwwwsssssssssssssssssss\"\n- \"ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss\"\n- \"ssssssssssssssssssssssssssssssssssssssssssssssssss\"\nNon-match examples:\n- \"effsgrgrsfefsv54543534544 FKR$>%>??W?EK#$Krkdk3oror\"\n- \"qwertyghbn\"", "matches": ["ssssssssss wwwwwwwwwwwsssssssssssssssssss", "ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss", "ssssssssssssssssssssssssssssssssssssssssssssssssss", "sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss", "ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss", "sssssssssssssssssssssssssssssssssssss", "ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss", "sssssssssssssssssssssssssssss", "ssssssssssssssssssssssssssssssss", "sssssssssssssssssssssssssssssssssssss", "ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss", "sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss", "sssssssssssssssssssssssssssssssss"], "non_matches": ["effsgrgrsfefsv54543534544 FKR$>%>??W?EK#$Krkdk3oror", "qwertyghbn", "kjiuyt65re4rft", "ytfyuykghiu6757rty", "njihgyt67", "dftyguio", "s", "huytr54er5ty78u9", "hiugou", "wuhqipaxz", "ewuhpiru32p9swd", "rhfpier"], "id": 4043} {"expression": "([ing]){3}$", "raw_prompt": "Matching any word that ends with \"ing\"\nLink to my GitHub: https://github.com/StoddardSpencer96", "refined_prompt": "Matches the \"ing\" in any word that ends with \"ing\"\nMatch examples:\n- \"Reading Playing Comforting Crying\"\n- \"ing\"\nNon-match examples:\n- \"Readings Listenings Playful Comfort\"\n- \"hi\"", "matches": ["Reading Playing Comforting Crying", "ing"], "non_matches": ["Readings Listenings Playful Comfort", "hi", "hello", "this", "Played", "Ran", "Run", "Moved", "Test", "Listen", "threw", "cooler"], "id": 4044} {"expression": "((=)[A-F0-9]{2}){3}", "raw_prompt": "Using this Regex for finding spam in RAW email\nthis is Case sensitive\nHEX only CAPITAL A-F and numbers 0-9", "refined_prompt": "Matches 2 character HEX values between =\nMatch examples:\n- \"=EF=BB=BF\"\n- \"=E2=9C=80\"\n- \"=E2=9D=A4\"\nNon-match examples:\n- \"e2 9d a4\"\n- \"ABCXYZ\"", "matches": ["=EF=BB=BF", "=E2=9C=80", "=E2=9D=A4", "=38=B9=30", "=23=5E=00", "=47=7B=35", "=5B=12=88", "=32=C1=B5", "=59=B4=97", "=65=FF=02", "=C6=8D=79", "=D8=E4=96", "=B6=B4=DF"], "non_matches": ["e2 9d a4", "ABCXYZ", "f0=9f=aa=81", "324r", "#DHWGDDWJNJ", "=", "equal", "21343re", "#HHDI3", "====", "DHDIE", "DDUEY72"], "id": 4051} {"expression": "\\b[0-9]{2}([0][1-9]{1}|[1][0-2]{1})([0][1-9]{1}|[1][0-9]{1}|[2][0-9]{1}|[3][0-1]{1})\\d{5}", "raw_prompt": "The PESEL number is an identification number given to every Polish citizen when they are born and registered in Poland.", "refined_prompt": "Matches the PESEL number which is an identification number given to every Polish citizen when they are born and registered in Poland.\nMatch examples:\n- \"11083197485\"\n- \"36110878229\"\n- \"00063172200\"\nNon-match examples:\n- \"1F083297485\"\n- \"36204578229\"", "matches": ["11083197485", "36110878229", "00063172200", "12110383138", "71111127030", "35103085264", "85061017201", "39012627489", "32021861783", "67080861679", "59031023643", "39063110747", "67101809495"], "non_matches": ["1F083297485", "36204578229", "AA06317220B", "12203383138", "23131", "2343dsd", "GDU&*", "PESEL", "hefeiwefh342", "2121", "#3", "3e2hr3f"], "id": 4067} {"expression": "^((0[1-9])|(1[0-2]))[\\/\\.\\-]*((2[0-9])|(3[0-9]))$", "raw_prompt": "valid years 2020 to 2039", "refined_prompt": "Matches dates with years from 2020-2039\nMatch examples:\n- \"12/20\"\n- \"12/39\"\n- \"05-25\"\nNon-match examples:\n- \"12/40\"\n- \"23/02\"", "matches": ["12/20", "12/39", "05-25", "11//./--/-//.--./-/.-/.....-.-/..---/-../...-/--...23", "11././/31", "12////..//-.-.-..--/---..-/--/-/..-//.---29", "05-..-/../--//---/...//-..-36", "1021", "11-.///-./-../.--./-//-/.......///.././/-././-../.-/--/-/----.-.//--/--//-27", "10---/-/.-//37", "12.-./.--.--/...//-.-.-//.-.//../-/.-/-//33", "11///./-/-/-/-.-../-.-./-.../-.//--.-.--.//..-./../-/-/-/.-/-/-/29", "08/../../..---.../-.//../-///../------//-///..-./-.31"], "non_matches": ["12/40", "23/02", "15-25", "1//", "12/12", "12/43", "1/2030", "12121212", "$45", "12-12", "july 4 2020", "#3"], "id": 4072} {"expression": "^((?!.*(00000|11111|22222|33333|44444|55555|66666|77777|88888|99999))[0-9]{5,10})", "raw_prompt": "In example for some input number in case random digits not repeat number 5 number in 5-10 digits in pattern.", "refined_prompt": "Matches strings of numbers of the length of at least 5, but can not have more than 4 5's consecutively\nMatch examples:\n- \"0000110000\"\n- \"000010010\"\n- \"158114223\"\nNon-match examples:\n- \"00000\"\n- \"1122000009\"", "matches": ["0000110000", "000010010", "158114223", "113254", "081892", "027060", "1770189269", "408498", "42098", "01332", "85644", "019843", "33594"], "non_matches": ["00000", "1122000009", "3242", "12", "#3", "$45", "23%", "12/12", "3323", "23", "124&&&&", "<32"], "id": 4086} {"expression": "(?!BG|GB|KN|NK|NT|TN|ZZ)[A-CEGHJ-PR-TW-Z][A-CEGHJ-NPR-TW-Z][0-9]{6}[A-D]", "raw_prompt": "UK NI number. ensured that the suffix is always a single character of A-D (as these are the only values currently supported by HMRC). Created 2021", "refined_prompt": "Matches UK National Insurance number. The suffix needs to be a single character of A-D (as these are the only values currently supported by HMRC).\nMatch examples:\n- \"XY123456D\"\n- \"AH587561C\"\n- \"CZ106648B\"\nNon-match examples:\n- \"XY123456E\"\n- \"23456\"", "matches": ["XY123456D", "AH587561C", "CZ106648B", "LJ185856D", "BA615520D", "OM968321A", "OG314869B", "BX184126A", "ML279103A", "SA876126C", "CT466022B", "KX637827A", "GL065214A"], "non_matches": ["XY123456E", "23456", "sdfgh", "34rd3434f3", "#3", "number", "e34532", "dj343232f", "E323rj23!!!", "34njffW", "334jdfwe", "wjeirja"], "id": 4107}