`python` 中的`字符串替换操作`,也就是 `string.replace()` 是可以用`正则表达式`的。自从发现了`正则表达式`也生效后,代码变得优雅简洁。 ...
分类:
编程语言 时间:
2019-09-12 18:08:51
阅读次数:
558
https://gerardnico.com/ide/notepad/replace https://notepad plus plus.org/community/topic/16787/find and replace using regular expression http://www.pn ...
分类:
其他好文 时间:
2019-09-12 12:55:43
阅读次数:
80
场景 SQL Server 2014在还原数据库时提示: 无法在已有的""上还原文件,请重新发出RESTORE语句,用WITH REPLACE来覆盖原先存在的文件... 实现 在还原时选择选项下的还原选项--覆盖现有数据库。 然后即可。 注: 博客首页: https://blog.csdn.net/ ...
分类:
数据库 时间:
2019-09-11 15:51:47
阅读次数:
374
#验证码示例 #验证码升级版 #判断是否为数字 isdigit #升级版 请输入一个数字:asdf请输入数字... #去除空白lstript rstript stript #替换字符串replace, 请输入:你妹的啊***啊 #只替换前两个 请输入:你妹的 你妹的 你妹的*** *** 你妹的 # ...
分类:
编程语言 时间:
2019-09-10 17:41:07
阅读次数:
120
登陆时密码需要加密 这是就用到了MD5加密 格式为 byte[] a = MD5.Create().ComputeHash(Encoding.Default.GetBytes(mm)); string pwdMd5 = BitConverter.ToString(a).Replace("-", "" ...
分类:
其他好文 时间:
2019-09-10 12:51:42
阅读次数:
102
On the first row, we write a 0. Now in every subsequent row, we look at the previous row and replace each occurrence of 0 with 01, and each occurrence ...
分类:
其他好文 时间:
2019-09-09 22:48:45
阅读次数:
387
项目中因为利用 element-ui 和avue两个ui框架搭建的 1、利用element-ui自带的校验需要注意点 prop :rules ref这三个属性 2、利用oninput时间进行校验 oninput = "value=value.replace(/[^\d]/g,'')" 写在html中 ...
分类:
其他好文 时间:
2019-09-09 14:30:18
阅读次数:
369
因为可视化界面没有相关设置,因此采用终端命令的方法。 测试环境:Ubuntu 18.0.4 pppoe的配置:$ sudo pppoeconf 然后进入此界面进行一系列宽带拨号的设置。 联网:$ sudo pon dsl-provider 断网:$ sudo poff 查看日志:$ plog 接口信 ...
分类:
系统相关 时间:
2019-09-08 22:41:36
阅读次数:
177
周末手撸管理系统(一) 已完成 大体模板 用户登入注册 明天加商品订单商品进去 完成效果图 1.首先进行设置 2.创建模型以及form组件 userinfo_form.py 3.页面 4.路由 5.视图 `大家周末娱乐` ...
分类:
其他好文 时间:
2019-09-07 22:43:26
阅读次数:
109