zoukankan
html css js c++ java
在C#中使用正则表达式
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace Regular_Expression_1 { class Program { static void Main(string[] args) { Console.WriteLine(@"This will find a match for the regular expresson '[A-Z]\d'."); Console.WriteLine("Enter a test string now."); Regex myRegex = new Regex(@"[A-Z]\d", RegexOptions.IgnoreCase); string inputString = Console.ReadLine(); Match myMatch = myRegex.Match(inputString); Console.WriteLine("You entered the string '" + myMatch.ToString() + "'was found in the string you entered."); Console.ReadLine(); } } }
查看全文
相关阅读:
日期格式
典型的三行两列居中高度自适应div+css布局
转javascript倒计时例子
javascript encode64 decode64
【转】Linux下 zip 和 unzip的用法
【转】matlab reshape使用
【转】MySQL修改root密码的各种方法整理
【转】汇编语言里 eax, ebx, ecx, edx, esi, edi, ebp, esp
[转]ExtJS xtype class对照表
vc 字符串转时间,并取时间差
原文地址:https://www.cnblogs.com/johnpher/p/2570611.html
最新文章
TransformToolCursor.as
TransformTool.as
添加动态事件
数据模型
ASP.NET 2.0中将 GridView 导出到 Excel 文件中
如何让一个弹出页面引起其父页面的刷新?
Linq 合集 交集 补集 去重
Linq 在 ADO.NET 的 使用
php精华之独孤九剑
在centos7中为php7安装redis扩展
热门文章
linux下mysql常用的基本命令
centos7.2安装redis与配置(史上最全)
Could not connect to Redis at IP No route to host
docker 镜像管理操作
所有用户表
javascript 图片切换
快速去掉所有meta:resourceKey标记
NVelocity与jQuery的$发生冲突时的3+1 种解决方法
删除.bat
chgdiv
Copyright © 2011-2022 走看看