#author("2019-02-27T12:10:48+00:00","default:admin","admin")
#author("2019-02-27T12:34:01+00:00","default:admin","admin")
-[[【C#入門】正規表現の使い方総まとめ(Match/Matches/Replace):https://www.sejuku.net/blog/54508]]
-[[正規表現を使って文字列がパターンに一致するか調べるには?[C#/VB]:https://www.atmarkit.co.jp/ait/articles/1701/25/news025.html]]
-[[正規表現の基本:https://dobon.net/vb/dotnet/string/regex.html]]

 using System.Text.RegularExpressions;
 ……省略……
 bool result = Regex.IsMatch("{検査対象文字列}", "{正規表現パターン}");

 using System.Text.RegularExpressions;
 ……省略……
 var rx = new Regex("{正規表現パターン}", RegexOptions.Compiled);
 bool result = rx.IsMatch("{検査対象文字列}" );


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS