{"id":8197,"date":"2023-02-03T10:30:54","date_gmt":"2023-02-03T10:30:54","guid":{"rendered":"https:\/\/www.threesl.com\/blog\/?p=8197"},"modified":"2023-02-09T13:47:31","modified_gmt":"2023-02-09T13:47:31","slug":"specifying-custom-number-format-in-free-text-categories","status":"publish","type":"post","link":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/","title":{"rendered":"Specifying Custom Number Format in Free Text Categories"},"content":{"rendered":"<p>In a project, you may wish to enter a supporting reference number for an item of data. For example, an <em>Equipment Number<\/em>. This number might require a given format.<\/p>\n<p>Where:<\/p>\n<p style=\"padding-left: 40px;\"><strong>Project Code<\/strong> &#8211;\u00a0 4 alpha characters<br \/>\n<strong>Equipment Code<\/strong> &#8211; 5 numerical characters<\/p>\n<figure id=\"attachment_8199\" aria-describedby=\"caption-attachment-8199\" style=\"width: 606px\" class=\"wp-caption alignleft\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8199\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/supporting_reference.png\" alt=\"Supporting Reference Number\" width=\"606\" height=\"141\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/supporting_reference.png 606w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/supporting_reference-300x70.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><figcaption id=\"caption-attachment-8199\" class=\"wp-caption-text\">Supporting Reference Number for a Project<\/figcaption><\/figure>\n<p>You can achieve this by creating a user-defined <a href=\"https:\/\/www.threesl.com\/cradle\/help\/7.7\/#projectsetup\/other\/prj_setup_itemdefs_categories.htm\">category<\/a> with no category values defined and include a <em>Category Verification Test<\/em> using a <a href=\"https:\/\/www.threesl.com\/cradle\/help\/7.7\/#general\/regularexpressions.htm\">Regular Expression<\/a>.<\/p>\n<figure id=\"attachment_8200\" aria-describedby=\"caption-attachment-8200\" style=\"width: 606px\" class=\"wp-caption alignleft\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8200\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/category_verification_test.png\" alt=\"Example Category Verification Test for Reference Number category\" width=\"606\" height=\"379\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/category_verification_test.png 606w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/category_verification_test-300x188.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><figcaption id=\"caption-attachment-8200\" class=\"wp-caption-text\">Example Category Verification Test<\/figcaption><\/figure>\n<p>In this example, the regular expression <strong>^[A-Z]{4}(?:-[0-9]{5})?$<\/strong> can be broken down into:<\/p>\n<table>\n<thead>\n<tr>\n<th>Regular Expression<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>^<\/strong><\/td>\n<td>The beginning of the string<\/td>\n<\/tr>\n<tr>\n<td><strong>[A-Z]{4}<\/strong><\/td>\n<td>The project code must be 4 alpha characters long in uppercase<\/td>\n<\/tr>\n<tr>\n<td><strong>?:-<\/strong><\/td>\n<td>A hyphen separator<\/td>\n<\/tr>\n<tr>\n<td><strong>[0-9]{5}<\/strong><\/td>\n<td>The equipment code must be 5 numeric characters<\/td>\n<\/tr>\n<tr>\n<td><strong>$<\/strong><\/td>\n<td>The end of the string<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Applying Category to the Item<\/h2>\n<p>Once you have defined the category, you can <a href=\"https:\/\/www.threesl.com\/cradle\/help\/7.7\/#projectsetup\/tasks\/assign_category_code_to_item.htm\">assign this to an item type<\/a>:<\/p>\n<figure id=\"attachment_8201\" aria-describedby=\"caption-attachment-8201\" style=\"width: 606px\" class=\"wp-caption alignleft\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8201\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/assign_category.png\" alt=\"Assigning Categories\" width=\"606\" height=\"225\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/assign_category.png 606w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/assign_category-300x111.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><figcaption id=\"caption-attachment-8201\" class=\"wp-caption-text\">Assign Category to Item Type<\/figcaption><\/figure>\n<h2>Creating\/Editing an Item<\/h2>\n<p>If you now create or modify an item of data, Cradle will present you with an error message on saving if the category value does not match what you have specified in the <a href=\"https:\/\/www.threesl.com\/cradle\/help\/7.7\/#projectsetup\/tasks\/setup_single_category_non_abstract.htm\">Category Verification Test<\/a>.<\/p>\n<figure id=\"attachment_8202\" aria-describedby=\"caption-attachment-8202\" style=\"width: 394px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8202 size-full\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/reference_number.png\" alt=\"Reference Number\" width=\"394\" height=\"196\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/reference_number.png 394w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/reference_number-300x149.png 300w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><figcaption id=\"caption-attachment-8202\" class=\"wp-caption-text\">Reference Number in Categories<\/figcaption><\/figure>\n<figure id=\"attachment_8203\" aria-describedby=\"caption-attachment-8203\" style=\"width: 399px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8203 size-full\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/invalid_category_value.png\" alt=\"Invalid Category Value dialog\" width=\"399\" height=\"196\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/invalid_category_value.png 399w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/invalid_category_value-300x147.png 300w\" sizes=\"auto, (max-width: 399px) 100vw, 399px\" \/><figcaption id=\"caption-attachment-8203\" class=\"wp-caption-text\">Invalid Category Value dialog<\/figcaption><\/figure>\n<p>Here the validation test would fail because you have not included a hyphen separator.<\/p>\n<figure id=\"attachment_8204\" aria-describedby=\"caption-attachment-8204\" style=\"width: 606px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8204\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/validatiion_test_result.png\" alt=\"Validation Test result\" width=\"606\" height=\"190\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/validatiion_test_result.png 606w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/validatiion_test_result-300x94.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><figcaption id=\"caption-attachment-8204\" class=\"wp-caption-text\">Validation Test result<\/figcaption><\/figure>\n<p>You will also receive an error if the incorrect case is used. E.g. <strong>demo<\/strong>-12345.<\/p>\n<figure id=\"attachment_8205\" aria-describedby=\"caption-attachment-8205\" style=\"width: 606px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8205\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/validatiion_test_result2.png\" alt=\"Invalid Validation Test\" width=\"606\" height=\"189\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/validatiion_test_result2.png 606w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/validatiion_test_result2-300x94.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><figcaption id=\"caption-attachment-8205\" class=\"wp-caption-text\">Invalid Validation Test<\/figcaption><\/figure>\n<p>However, if you enter a value such as <strong>DEMO-12345<\/strong>, this would save without any warning or error message.<\/p>\n<figure id=\"attachment_8206\" aria-describedby=\"caption-attachment-8206\" style=\"width: 325px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8206\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/saved_category.png\" alt=\"Example saved category\" width=\"325\" height=\"247\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/saved_category.png 325w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/saved_category-300x228.png 300w\" sizes=\"auto, (max-width: 325px) 100vw, 325px\" \/><figcaption id=\"caption-attachment-8206\" class=\"wp-caption-text\">Example saved category<\/figcaption><\/figure>\n<h2>Summary<\/h2>\n<p>Regular expressions can be used in many areas of the tool. Using this functionality to enforce an input in free text categories can be a very useful feature.<\/p>\n<p>For further information about regular expressions (regexes) please refer to the page <a href=\"https:\/\/www.threesl.com\/cradle\/help\/7.7\/#general\/regularexpressions.htm\">https:\/\/www.threesl.com\/cradle\/help\/7.7\/#general\/regularexpressions.htm.<\/a><\/p>\n<aside class=\"mashsb-container mashsb-main mashsb-stretched\"><div class=\"mashsb-box\"><div class=\"mashsb-buttons\"><a class=\"mashicon-twitter mash-small mash-center mashsb-noshadow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=&amp;url=https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/&amp;via=threesl\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Tweet<\/span><\/a><a class=\"mashicon-facebook mash-small mash-center mashsb-noshadow\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.threesl.com%2Fblog%2Fspecifying-custom-number-format-in-free-text-categories%2F\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Share<\/span><\/a><a class=\"mashicon-subscribe mash-small mash-center mashsb-noshadow\" href=\"#\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Newsletter<\/span><\/a><div class=\"onoffswitch2 mash-small mashsb-noshadow\" style=\"display:none\"><\/div><\/div>\n            <\/div>\n                <div style=\"clear:both\"><\/div><\/aside>\n            <!-- Share buttons by mashshare.net - Version: 4.0.47-->","protected":false},"excerpt":{"rendered":"<p>In a project, you may wish to enter a supporting reference number for an item of data. For example, an Equipment Number. This number might require a given format. Where: Project Code &#8211;\u00a0 4 alpha characters Equipment Code &#8211; 5 numerical characters You can achieve this by creating a user-defined category with no category values &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Specifying Custom Number Format in Free Text Categories&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[6],"tags":[51,618],"class_list":["post-8197","post","type-post","status-publish","format-standard","hentry","category-tips","tag-categories","tag-regex"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Specifying Custom Number Formats<\/title>\n<meta name=\"description\" content=\"How to create a user-defined category with no category values defined and include a Category Verification Test using a Regular Expression\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Specifying Custom Number Formats\" \/>\n<meta property=\"og:description\" content=\"How to create a user-defined category with no category values defined and include a Category Verification Test using a Regular Expression\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/\" \/>\n<meta property=\"og:site_name\" content=\"3SL Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/3SLCradle\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-03T10:30:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-09T13:47:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/supporting_reference.png\" \/>\n<meta name=\"author\" content=\"Jan Lamb\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threesl\" \/>\n<meta name=\"twitter:site\" content=\"@threesl\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jan Lamb\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/\"},\"author\":{\"name\":\"Jan Lamb\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/person\\\/4be1c5043a6af6683cc5592c94a0872f\"},\"headline\":\"Specifying Custom Number Format in Free Text Categories\",\"datePublished\":\"2023-02-03T10:30:54+00:00\",\"dateModified\":\"2023-02-09T13:47:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/\"},\"wordCount\":366,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/supporting_reference.png\",\"keywords\":[\"categories\",\"regex\"],\"articleSection\":[\"Hints &amp; Tips\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/\",\"name\":\"Specifying Custom Number Formats\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/supporting_reference.png\",\"datePublished\":\"2023-02-03T10:30:54+00:00\",\"dateModified\":\"2023-02-09T13:47:31+00:00\",\"description\":\"How to create a user-defined category with no category values defined and include a Category Verification Test using a Regular Expression\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/supporting_reference.png\",\"contentUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/supporting_reference.png\",\"width\":606,\"height\":141,\"caption\":\"Supporting Reference Number for a Project\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/specifying-custom-number-format-in-free-text-categories\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Specifying Custom Number Format in Free Text Categories\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\",\"name\":\"3SL Blog\",\"description\":\"From concept to creation\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\",\"name\":\"3SL\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/3SL_Logo_Medium.png\",\"contentUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/3SL_Logo_Medium.png\",\"width\":152,\"height\":80,\"caption\":\"3SL\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/facebook.com\\\/3SLCradle\",\"https:\\\/\\\/x.com\\\/threesl\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/person\\\/4be1c5043a6af6683cc5592c94a0872f\",\"name\":\"Jan Lamb\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3139f592e413f881ae5026cd037aec5b2c5bb8dd3aed56c53b140b09e81c4b1c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3139f592e413f881ae5026cd037aec5b2c5bb8dd3aed56c53b140b09e81c4b1c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3139f592e413f881ae5026cd037aec5b2c5bb8dd3aed56c53b140b09e81c4b1c?s=96&d=mm&r=g\",\"caption\":\"Jan Lamb\"},\"sameAs\":[\"https:\\\/\\\/www.threesl.com\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Specifying Custom Number Formats","description":"How to create a user-defined category with no category values defined and include a Category Verification Test using a Regular Expression","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/","og_locale":"en_GB","og_type":"article","og_title":"Specifying Custom Number Formats","og_description":"How to create a user-defined category with no category values defined and include a Category Verification Test using a Regular Expression","og_url":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/","og_site_name":"3SL Blog","article_publisher":"http:\/\/facebook.com\/3SLCradle","article_published_time":"2023-02-03T10:30:54+00:00","article_modified_time":"2023-02-09T13:47:31+00:00","og_image":[{"url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/supporting_reference.png","type":"","width":"","height":""}],"author":"Jan Lamb","twitter_card":"summary_large_image","twitter_creator":"@threesl","twitter_site":"@threesl","twitter_misc":{"Written by":"Jan Lamb","Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/#article","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/"},"author":{"name":"Jan Lamb","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/person\/4be1c5043a6af6683cc5592c94a0872f"},"headline":"Specifying Custom Number Format in Free Text Categories","datePublished":"2023-02-03T10:30:54+00:00","dateModified":"2023-02-09T13:47:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/"},"wordCount":366,"publisher":{"@id":"https:\/\/www.threesl.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/supporting_reference.png","keywords":["categories","regex"],"articleSection":["Hints &amp; Tips"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/","url":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/","name":"Specifying Custom Number Formats","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/#primaryimage"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/supporting_reference.png","datePublished":"2023-02-03T10:30:54+00:00","dateModified":"2023-02-09T13:47:31+00:00","description":"How to create a user-defined category with no category values defined and include a Category Verification Test using a Regular Expression","breadcrumb":{"@id":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/#primaryimage","url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/supporting_reference.png","contentUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2023\/01\/supporting_reference.png","width":606,"height":141,"caption":"Supporting Reference Number for a Project"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threesl.com\/blog\/specifying-custom-number-format-in-free-text-categories\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threesl.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Specifying Custom Number Format in Free Text Categories"}]},{"@type":"WebSite","@id":"https:\/\/www.threesl.com\/blog\/#website","url":"https:\/\/www.threesl.com\/blog\/","name":"3SL Blog","description":"From concept to creation","publisher":{"@id":"https:\/\/www.threesl.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threesl.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.threesl.com\/blog\/#organization","name":"3SL","url":"https:\/\/www.threesl.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/3SL_Logo_Medium.png","contentUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/3SL_Logo_Medium.png","width":152,"height":80,"caption":"3SL"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/3SLCradle","https:\/\/x.com\/threesl"]},{"@type":"Person","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/person\/4be1c5043a6af6683cc5592c94a0872f","name":"Jan Lamb","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/3139f592e413f881ae5026cd037aec5b2c5bb8dd3aed56c53b140b09e81c4b1c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3139f592e413f881ae5026cd037aec5b2c5bb8dd3aed56c53b140b09e81c4b1c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3139f592e413f881ae5026cd037aec5b2c5bb8dd3aed56c53b140b09e81c4b1c?s=96&d=mm&r=g","caption":"Jan Lamb"},"sameAs":["https:\/\/www.threesl.com\/"]}]}},"modified_by":"Jan Lamb","_links":{"self":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/8197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/comments?post=8197"}],"version-history":[{"count":4,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/8197\/revisions"}],"predecessor-version":[{"id":8217,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/8197\/revisions\/8217"}],"wp:attachment":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/media?parent=8197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/categories?post=8197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/tags?post=8197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}