{"id":98001,"date":"2024-03-21T22:54:15","date_gmt":"2024-03-21T13:54:15","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/"},"modified":"2024-03-27T10:11:19","modified_gmt":"2024-03-27T01:11:19","slug":"%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/","title":{"rendered":"\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f"},"content":{"rendered":"<p>VB\u306e\u6587\u5b57\u5217\u304b\u3089\u6570\u5024\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u7528\u3068\u6587\u5b57\u5217\u5185\u306e\u5404\u6587\u5b57\u3092\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u30922\u3064\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b63\u898f\u8868\u73fe\u3067\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5<\/p>\n<pre class=\"post-pre\"><code>Imports System.Text.RegularExpressions\r\n\r\nDim inputString As String = \"Hello123World456\"\r\nDim numbers As MatchCollection = Regex.Matches(inputString, \"\\d+\")\r\n\r\nFor Each number As Match In numbers\r\n    Console.WriteLine(number.Value)\r\nNext\r\n<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u6b63\u898f\u8868\u73fe\\d+\u3092\u4f7f\u7528\u3057\u3066\u30011\u6841\u4ee5\u4e0a\u306e\u6570\u5024\u306b\u30de\u30c3\u30c1\u3057\u3066\u3044\u307e\u3059\u3002\u30de\u30c3\u30c1\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u3001\u30de\u30c3\u30c1\u3057\u305f\u3059\u3079\u3066\u306e\u6570\u5024\u304c\u542b\u307e\u308c\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001For Each\u30eb\u30fc\u30d7\u3092\u4f7f\u7528\u3057\u3066MatchCollection\u3092\u53cd\u5fa9\u3057\u3001\u5404\u6570\u5024\u3092\u51fa\u529b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>2\u756a\u76ee\u306e\u65b9\u6cd5: \u7e70\u308a\u304b\u3048\u3057\u306e\u8d70\u67fb\u3092\u4f7f\u3063\u3066\u6570\u5b57\u3092\u62bd\u51fa<\/p>\n<pre class=\"post-pre\"><code>Dim inputString As String = \"Hello123World456\"\r\nDim numberBuilder As New StringBuilder()\r\n\r\nFor Each c As Char In inputString\r\n    If Char.IsDigit(c) Then\r\n        numberBuilder.Append(c)\r\n    End If\r\nNext\r\n\r\nDim numbers As String = numberBuilder.ToString()\r\nConsole.WriteLine(numbers)\r\n<\/code><\/pre>\n<p>\u3053\u306e\u65b9\u6cd5\u3067\u306f\u3001\u5165\u529b\u6587\u5b57\u5217\u306e\u5404\u6587\u5b57\u3092\u53cd\u5fa9\u51e6\u7406\u3057\u307e\u3059\u3002\u6587\u5b57\u304c\u6570\u5b57\u3067\u3042\u308b\u5834\u5408\u3001StringBuilder\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002\u6700\u5f8c\u306b\u3001StringBuilder\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6587\u5b57\u5217\u306b\u5909\u63db\u3057\u3066\u7d50\u679c\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b63\u898f\u8868\u73fe\u3068\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u306e\u3069\u3061\u3089\u3092\u4f7f\u7528\u3059\u308b\u304b\u306f\u3001\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u3084\u3042\u306a\u305f\u306e\u597d\u307f\u306b\u3088\u3063\u3066\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VB\u306e\u6587\u5b57\u5217\u304b\u3089\u6570\u5024\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u7528\u3068\u6587\u5b57\u5217\u5185\u306e\u5404\u6587\u5b57\u3092\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u30922\u3064\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6b63\u898f\u8868\u73fe\u3067\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5 Imports System.Text.R [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-98001","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f - Blog - Silicon Cloud<\/title>\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.silicloud.com\/ja\/blog\/\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f\" \/>\n<meta property=\"og:description\" content=\"VB\u306e\u6587\u5b57\u5217\u304b\u3089\u6570\u5024\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u7528\u3068\u6587\u5b57\u5217\u5185\u306e\u5404\u6587\u5b57\u3092\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u30922\u3064\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6b63\u898f\u8868\u73fe\u3067\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5 Imports System.Text.R [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-21T13:54:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T01:11:19+00:00\" \/>\n<meta name=\"author\" content=\"\u7d50\u8863, \u6625\u82b1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7d50\u8863, \u6625\u82b1\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/\",\"name\":\"\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-21T13:54:15+00:00\",\"dateModified\":\"2024-03-27T01:11:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/e52a686063ac76fd8cc6f539d41497ac\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/e52a686063ac76fd8cc6f539d41497ac\",\"name\":\"\u7d50\u8863, \u6625\u82b1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g\",\"caption\":\"\u7d50\u8863, \u6625\u82b1\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/yuiharuka\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f - Blog - Silicon Cloud","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.silicloud.com\/ja\/blog\/\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f\/","og_locale":"ja_JP","og_type":"article","og_title":"\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f","og_description":"VB\u306e\u6587\u5b57\u5217\u304b\u3089\u6570\u5024\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u7528\u3068\u6587\u5b57\u5217\u5185\u306e\u5404\u6587\u5b57\u3092\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u30922\u3064\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6b63\u898f\u8868\u73fe\u3067\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5 Imports System.Text.R [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-21T13:54:15+00:00","article_modified_time":"2024-03-27T01:11:19+00:00","author":"\u7d50\u8863, \u6625\u82b1","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u7d50\u8863, \u6625\u82b1"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/","name":"\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-21T13:54:15+00:00","dateModified":"2024-03-27T01:11:19+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/e52a686063ac76fd8cc6f539d41497ac"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6587\u5b57\u5217\u304b\u3089\u6570\u5b57\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/e52a686063ac76fd8cc6f539d41497ac","name":"\u7d50\u8863, \u6625\u82b1","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g","caption":"\u7d50\u8863, \u6625\u82b1"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/yuiharuka\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e6%96%87%e5%ad%97%e5%88%97%e3%81%8b%e3%82%89%e6%95%b0%e5%ad%97%e3%82%92%e6%8a%bd%e5%87%ba%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/98001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=98001"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/98001\/revisions"}],"predecessor-version":[{"id":187467,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/98001\/revisions\/187467"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=98001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=98001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=98001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}