{"id":605,"date":"2015-12-19T23:10:19","date_gmt":"2015-12-19T16:10:19","guid":{"rendered":"http:\/\/www.sqlitetutorial.net\/?page_id=605"},"modified":"2022-04-03T14:58:31","modified_gmt":"2022-04-03T07:58:31","slug":"sqlite-glob","status":"publish","type":"page","link":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/","title":{"rendered":"SQLite GLOB"},"content":{"rendered":"\r\n<p><strong>Summary<\/strong>: in this tutorial, you will learn how to use the SQLite <code>GLOB<\/code> operator to determine whether a string matches a specific pattern.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">Introduction to the SQLite GLOB operator<\/h2>\r\n\r\n\r\n\r\n<p>The <code>GLOB<\/code> operator is similar to the <code><a href=\"https:\/\/www.sqlitetutorial.net\/sqlite-like\/\">LIKE<\/a><\/code> operator. The <code>GLOB<\/code> operator determines whether a string matches a specific pattern.<\/p>\r\n\r\n\r\n\r\n<p>Unlike the <code>LIKE<\/code> operator, the <code>GLOB<\/code> operator is <strong>case sensitive<\/strong> and uses the <strong>UNIX wildcards. <\/strong>In addition, the <code>GLOB<\/code> patterns do not have escape characters.<\/p>\r\n\r\n\r\n\r\n<p>The following shows the wildcards used with the <code>GLOB<\/code>&nbsp; operator:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\"><li>The asterisk (*) wildcard matches any number of characters.<\/li><li>The question mark (?) wildcard matches exactly one character.<\/li><\/ul>\r\n\r\n\r\n\r\n<p>On top of these wildcards, you can use the list wildcard [] to match one character from a list of characters. For example <code>[xyz]<\/code> match any single x, y, or z character.<\/p>\r\n\r\n\r\n\r\n<p>The list wildcard also allows a range of characters e.g., [a-z] matches any single lowercase character from a to z. The <code>[a-zA-Z0-9]<\/code> pattern matches any single alphanumeric character, both lowercase, and uppercase.<\/p>\r\n\r\n\r\n\r\n<p>Besides, you can use the character <code>^<\/code> at the beginning of the list to match any character except for any character in the list. For example, the <code>[^0-9]<\/code> pattern matches any single character except a numeric character.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">SQLite GLOB examples<\/h2>\r\n\r\n\r\n\r\n<p>The following statement finds tracks whose names start with the string <code>Man<\/code>. The pattern <code>Man*<\/code> matches any string that starts with <code>Man<\/code>.<\/p>\r\n\r\n\r\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span>\r\n\ttrackid,\r\n\t<span class=\"hljs-keyword\">name<\/span>\r\n<span class=\"hljs-keyword\">FROM<\/span>\r\n\ttracks\r\n<span class=\"hljs-keyword\">WHERE<\/span>\r\n\t<span class=\"hljs-keyword\">name<\/span> GLOB <span class=\"hljs-string\">'Man*'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\r\n\r\n\r\n<p><a class=\"sql\" href=\"https:\/\/www.sqlitetutorial.net\/tryit\/query\/sqlite-glob\/#1\" target=\"_blank\" rel=\"noopener noreferrer\">Try It<\/a><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"332\" height=\"241\" src=\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg\" alt=\"SQLite GLOB asterisk wildcard example\" class=\"wp-image-609\" srcset=\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg 332w, https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example-300x218.jpg 300w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>The following statement gets the tracks whose names end with <code>Man<\/code>. The pattern <code>*Man<\/code> matches any string that ends with <code>Man<\/code>.<\/p>\r\n\r\n\r\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span>\r\n\ttrackid,\r\n\t<span class=\"hljs-keyword\">name<\/span>\r\n<span class=\"hljs-keyword\">FROM<\/span>\r\n\ttracks\r\n<span class=\"hljs-keyword\">WHERE<\/span>\r\n\t<span class=\"hljs-keyword\">name<\/span> GLOB <span class=\"hljs-string\">'*Man'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\r\n\r\n\r\n<p><a class=\"sql\" href=\"https:\/\/www.sqlitetutorial.net\/tryit\/query\/sqlite-glob\/#2\" target=\"_blank\" rel=\"noopener noreferrer\">Try It<\/a><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"241\" height=\"166\" src=\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-ending-example.jpg\" alt=\"SQLite GLOB asterisk wildcard ending example\" class=\"wp-image-608\"\/><\/figure>\r\n\r\n\r\n\r\n<p>The following query finds the tracks whose names start with any single character (?), followed by the string <code>ere<\/code> and then any number of character (*).<\/p>\r\n\r\n\r\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span>\r\n\ttrackid,\r\n\t<span class=\"hljs-keyword\">name<\/span>\r\n<span class=\"hljs-keyword\">FROM<\/span>\r\n\ttracks\r\n<span class=\"hljs-keyword\">WHERE<\/span>\r\n\t<span class=\"hljs-keyword\">name<\/span> GLOB <span class=\"hljs-string\">'?ere*'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\r\n\r\n\r\n<p><a class=\"sql\" href=\"https:\/\/www.sqlitetutorial.net\/tryit\/query\/sqlite-glob\/#3\" target=\"_blank\" rel=\"noopener noreferrer\">Try It<\/a><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"299\" height=\"202\" src=\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-containing-example.jpg\" alt=\"SQLite GLOB asterisk wildcard containing example\" class=\"wp-image-607\"\/><\/figure>\r\n\r\n\r\n\r\n<p>To find the tracks whose names contain numbers, you can use the list wildcard <code>[0-9]<\/code> as follows:<\/p>\r\n\r\n\r\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span>\r\n\ttrackid,\r\n\t<span class=\"hljs-keyword\">name<\/span>\r\n<span class=\"hljs-keyword\">FROM<\/span>\r\n\ttracks\r\n<span class=\"hljs-keyword\">WHERE<\/span>\r\n\t<span class=\"hljs-keyword\">name<\/span> GLOB <span class=\"hljs-string\">'*&#91;1-9]*'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\r\n\r\n\r\n<p><a class=\"sql\" href=\"https:\/\/www.sqlitetutorial.net\/tryit\/query\/sqlite-glob\/#4\" target=\"_blank\" rel=\"noopener noreferrer\">Try It<\/a><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"257\" height=\"141\" src=\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-list-wildcard-example.jpg\" alt=\"SQLite GLOB list wildcard example\" class=\"wp-image-611\"\/><\/figure>\r\n\r\n\r\n\r\n<p>Or to find the tracks whose name does not contain any number, you place the character <code>^<\/code>&nbsp;at the beginning of the list:<\/p>\r\n\r\n\r\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span>\r\n\ttrackid,\r\n\t<span class=\"hljs-keyword\">name<\/span>\r\n<span class=\"hljs-keyword\">FROM<\/span>\r\n\ttracks\r\n<span class=\"hljs-keyword\">WHERE<\/span>\r\n\t<span class=\"hljs-keyword\">name<\/span> GLOB <span class=\"hljs-string\">'*&#91;^1-9]*'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\r\n\r\n\r\n<p><a class=\"sql\" href=\"https:\/\/www.sqlitetutorial.net\/tryit\/query\/sqlite-glob\/#5\" target=\"_blank\" rel=\"noopener noreferrer\">Try It<\/a><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"319\" height=\"181\" src=\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-list-wildcard-characters-example.jpg\" alt=\"SQLite GLOB list wildcard characters example\" class=\"wp-image-610\" srcset=\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-list-wildcard-characters-example.jpg 319w, https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-list-wildcard-characters-example-300x170.jpg 300w\" sizes=\"auto, (max-width: 319px) 100vw, 319px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>The following statement finds the tracks whose names end with a number.<\/p>\r\n\r\n\r\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"SQL (Structured Query Language)\" data-shcb-language-slug=\"sql\"><span><code class=\"hljs language-sql\"><span class=\"hljs-keyword\">SELECT<\/span>\r\n\ttrackid,\r\n\t<span class=\"hljs-keyword\">name<\/span>\r\n<span class=\"hljs-keyword\">FROM<\/span>\r\n\ttracks\r\n<span class=\"hljs-keyword\">WHERE<\/span>\r\n\t<span class=\"hljs-keyword\">name<\/span> GLOB <span class=\"hljs-string\">'*&#91;1-9]'<\/span>;<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">SQL (Structured Query Language)<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">sql<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\r\n\r\n\r\n<p><a class=\"sql\" href=\"https:\/\/www.sqlitetutorial.net\/tryit\/query\/sqlite-glob\/#6\" target=\"_blank\" rel=\"noopener noreferrer\">Try It<\/a><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"240\" height=\"161\" src=\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-list-wildcard-numbers-example.jpg\" alt=\"SQLite GLOB list wildcard numbers example\" class=\"wp-image-612\"\/><\/figure>\r\n\r\n\r\n\r\n<p>In this tutorial, you have learned how to use SQLite <code>GLOB<\/code> operator to test whether a string matches a specific pattern.<\/p>\r\n<div class=\"helpful-block-content\" data-title=\"\">\n\t<header>\n\t\t<div class=\"wth-question\">Was this tutorial helpful ?<\/div>\n\t\t<div class=\"wth-thumbs\">\n\t\t\t<button\n\t\t\t\tdata-post=\"605\"\n\t\t\t\tdata-post-url=\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/\"\n\t\t\t\tdata-post-title=\"SQLite GLOB\"\n\t\t\t\tdata-response=\"1\"\n\t\t\t\tclass=\"wth-btn-rounded wth-yes-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tclass=\"feather feather-thumbs-up block w-full h-full\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> Yes <\/span>\n\t\t\t<\/button>\n\n\t\t\t<button\n\t\t\t\tdata-response=\"0\"\n\t\t\t\tdata-post=\"605\"\n\t\t\t\tdata-post-url=\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/\"\n\t\t\t\tdata-post-title=\"SQLite GLOB\"\n\t\t\t\tclass=\"wth-btn-rounded wth-no-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> No <\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t<\/header>\n\n\t<div class=\"wth-form hidden\">\n\t\t<div class=\"wth-form-wrapper\">\n\t\t\t<div class=\"wth-title\"><\/div>\n\t\t\t\n\t\t\t<textarea class=\"wth-message\"><\/textarea>\n\n\t\t\t<button class=\"btn btn-primary wth-btn-submit\">Send<\/button>\n\t\t\t<button class=\"btn wth-btn-cancel\">Cancel<\/button>\n\t\t\n\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to use the SQLite GLOB operator to determine whether a string matches a specific pattern.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-605","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SQLite GLOB: Test If A String Matches A UNIX-Pattern<\/title>\n<meta name=\"description\" content=\"In this tutorial, you will learn how to use the SQLite GLOB operator to\u00a0determine whether a string matches a specific UNIX-pattern.\" \/>\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.sqlitetutorial.net\/sqlite-glob\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQLite GLOB: Test If A String Matches A UNIX-Pattern\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, you will learn how to use the SQLite GLOB operator to\u00a0determine whether a string matches a specific UNIX-pattern.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/\" \/>\n<meta property=\"og:site_name\" content=\"SQLite Tutorial\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-03T07:58:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.sqlitetutorial.net\/#\/schema\/person\/6d69b968cad0102e30d6694ed8dc6427\"},\"headline\":\"SQLite GLOB\",\"datePublished\":\"2015-12-19T16:10:19+00:00\",\"dateModified\":\"2022-04-03T07:58:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/\"},\"wordCount\":336,\"image\":{\"@id\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/\",\"url\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/\",\"name\":\"SQLite GLOB: Test If A String Matches A UNIX-Pattern\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlitetutorial.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg\",\"datePublished\":\"2015-12-19T16:10:19+00:00\",\"dateModified\":\"2022-04-03T07:58:31+00:00\",\"description\":\"In this tutorial, you will learn how to use the SQLite GLOB operator to\u00a0determine whether a string matches a specific UNIX-pattern.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#primaryimage\",\"url\":\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg\",\"contentUrl\":\"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg\",\"width\":332,\"height\":241},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlitetutorial.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQLite GLOB\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqlitetutorial.net\/#website\",\"url\":\"https:\/\/www.sqlitetutorial.net\/\",\"name\":\"SQLite Tutorial\",\"description\":\"A Step-by-step SQLite Tutorial\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqlitetutorial.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sqlitetutorial.net\/#\/schema\/person\/6d69b968cad0102e30d6694ed8dc6427\",\"name\":\"admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SQLite GLOB: Test If A String Matches A UNIX-Pattern","description":"In this tutorial, you will learn how to use the SQLite GLOB operator to\u00a0determine whether a string matches a specific UNIX-pattern.","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.sqlitetutorial.net\/sqlite-glob\/","og_locale":"en_US","og_type":"article","og_title":"SQLite GLOB: Test If A String Matches A UNIX-Pattern","og_description":"In this tutorial, you will learn how to use the SQLite GLOB operator to\u00a0determine whether a string matches a specific UNIX-pattern.","og_url":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/","og_site_name":"SQLite Tutorial","article_modified_time":"2022-04-03T07:58:31+00:00","og_image":[{"url":"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#article","isPartOf":{"@id":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/"},"author":{"name":"admin","@id":"https:\/\/www.sqlitetutorial.net\/#\/schema\/person\/6d69b968cad0102e30d6694ed8dc6427"},"headline":"SQLite GLOB","datePublished":"2015-12-19T16:10:19+00:00","dateModified":"2022-04-03T07:58:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/"},"wordCount":336,"image":{"@id":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/","url":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/","name":"SQLite GLOB: Test If A String Matches A UNIX-Pattern","isPartOf":{"@id":"https:\/\/www.sqlitetutorial.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#primaryimage"},"image":{"@id":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#primaryimage"},"thumbnailUrl":"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg","datePublished":"2015-12-19T16:10:19+00:00","dateModified":"2022-04-03T07:58:31+00:00","description":"In this tutorial, you will learn how to use the SQLite GLOB operator to\u00a0determine whether a string matches a specific UNIX-pattern.","breadcrumb":{"@id":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlitetutorial.net\/sqlite-glob\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#primaryimage","url":"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg","contentUrl":"https:\/\/www.sqlitetutorial.net\/wp-content\/uploads\/2015\/12\/SQLite-GLOB-asterisk-wildcard-example.jpg","width":332,"height":241},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlitetutorial.net\/sqlite-glob\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlitetutorial.net\/"},{"@type":"ListItem","position":2,"name":"SQLite GLOB"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlitetutorial.net\/#website","url":"https:\/\/www.sqlitetutorial.net\/","name":"SQLite Tutorial","description":"A Step-by-step SQLite Tutorial","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlitetutorial.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlitetutorial.net\/#\/schema\/person\/6d69b968cad0102e30d6694ed8dc6427","name":"admin"}]}},"_links":{"self":[{"href":"https:\/\/www.sqlitetutorial.net\/wp-json\/wp\/v2\/pages\/605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqlitetutorial.net\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sqlitetutorial.net\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlitetutorial.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlitetutorial.net\/wp-json\/wp\/v2\/comments?post=605"}],"version-history":[{"count":1,"href":"https:\/\/www.sqlitetutorial.net\/wp-json\/wp\/v2\/pages\/605\/revisions"}],"predecessor-version":[{"id":2772,"href":"https:\/\/www.sqlitetutorial.net\/wp-json\/wp\/v2\/pages\/605\/revisions\/2772"}],"up":[{"embeddable":true,"href":"https:\/\/www.sqlitetutorial.net\/wp-json\/wp\/v2\/pages\/2"}],"wp:attachment":[{"href":"https:\/\/www.sqlitetutorial.net\/wp-json\/wp\/v2\/media?parent=605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}