{"id":1194,"date":"2015-10-21T17:14:01","date_gmt":"2015-10-21T15:14:01","guid":{"rendered":"http:\/\/svobodma.cz\/?p=1194"},"modified":"2015-10-21T17:24:52","modified_gmt":"2015-10-21T15:24:52","slug":"powershell-regular-expressions-list-of-characters","status":"publish","type":"post","link":"https:\/\/svobodma.cz\/?p=1194","title":{"rendered":"Powershell &#8211; Regular Expressions &#8222;list of characters&#8220;"},"content":{"rendered":"<p><a href=\"http:\/\/svobodma.cz\/?attachment_id=1199\" rel=\"attachment wp-att-1199\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1199\" alt=\"powershell\" src=\"http:\/\/svobodma.cz\/marwin.e-blog.cz\/httpdocs\/wp-content\/uploads\/powershell.jpg\" width=\"260\" height=\"194\" srcset=\"https:\/\/svobodma.cz\/marwin.e-blog.cz\/httpdocs\/wp-content\/uploads\/powershell.jpg 260w, https:\/\/svobodma.cz\/marwin.e-blog.cz\/httpdocs\/wp-content\/uploads\/powershell-150x111.jpg 150w\" sizes=\"auto, (max-width: 260px) 100vw, 260px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>.<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>matches any character except newline<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>escape character<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\w<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>word character [a-zA-Z_0-9]<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\W<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>non-word character [^a-zA-Z_0-9]<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\d<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>Digit [0-9]<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\D<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>non-digit [^0-9]<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\n<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>new line<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\r<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>carriage return<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\t<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>tabulation<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\s<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>white space<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\S<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>non-white space<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>^<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>beginning of a line<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>$<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>end of a line<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\A<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>beginning of the string (multi-line match)<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\Z<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>end of the string (multi-line match)<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\b<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>word boundary, boundary between \\w and \\W<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\B<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>not a word boundary<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\&lt;<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>beginning of a word<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>\\&gt;<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>end of a word<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>{n}<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>matches exaclty n times<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>{n,}<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>matches a minimum of n times<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>{x,y}<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>matches a min of x and max of y<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>(a|b)<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>\u2018a\u2019 or \u2018b\u2019<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>*<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>matches 0 or more times<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>+<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>matches 1 or more times<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>?<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>matches 1 or 0 times<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>*?<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>matches 0 or more times, but as few as possible<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>+?<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>matches 1 or more times, but as few as possible<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">\n<p align=\"center\"><b>??<\/b><\/p>\n<\/td>\n<td valign=\"top\">\n<p align=\"center\"><b>matches 0 or 1 time<\/b><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; . matches any character except newline \\ escape character \\w word character [a-zA-Z_0-9] \\W non-word character [^a-zA-Z_0-9] \\d Digit [0-9] \\D non-digit [^0-9] \\n new line \\r carriage return \\t tabulation \\s white space \\S non-white space ^ &hellip; <a href=\"https:\/\/svobodma.cz\/?p=1194\">Cel\u00fd p\u0159\u00edsp\u011bvek <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-1194","post","type-post","status-publish","format-standard","hentry","category-powershell"],"_links":{"self":[{"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/posts\/1194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/svobodma.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1194"}],"version-history":[{"count":5,"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/posts\/1194\/revisions"}],"predecessor-version":[{"id":1196,"href":"https:\/\/svobodma.cz\/index.php?rest_route=\/wp\/v2\/posts\/1194\/revisions\/1196"}],"wp:attachment":[{"href":"https:\/\/svobodma.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/svobodma.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/svobodma.cz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}