当前位置:网站首页>MySQL正则表达式^和$用法
MySQL正则表达式^和$用法
2022-07-17 05:23:00 【£漫步 云端彡】
- 正则表达式 ^[A-Za-z0-9-]+$表示从开始到结尾都符合正则匹配的结果,匹配成功返回1,匹配失败返回0
SELECT '测试ABC' REGEXP '^[A-Za-z0-9-]+$'

SELECT 'ABC' REGEXP '^[A-Za-z0-9-]+$'

2. 正则表达式 [A-Za-z0-9-]+ 表示任何位置存在符合正则匹配的结果,匹配成功返回1,匹配失败返回0
SELECT '测试ABC' REGEXP '[A-Za-z0-9-]+'

SELECT 'ABC' REGEXP '[A-Za-z0-9-]+'

边栏推荐
- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
- 爬虫基础—Session和Cookie
- Sword finger offer question brushing record - offer 03 Duplicate numbers in array
- 传奇游戏架设教程
- M based on the MIMO channel capacity analysis of MATLAB, different antenna numbers are compared; Non codebook precoding SVD, GMD; Codebook precoding DFT, TXAA and spatial diversity
- 递归访问目录,打印斐波那契数列,高阶函数
- [untitled]
- 快速学会cut命令,uniq命令的使用
- Xiaodi network security - Notes (3)
- Homework
猜你喜欢

字典、元组和列表的使用及区别,

Pytorch learning notes (I)

m基于simulink的16QAM和2DPSK通信链路仿真,并通过matlab调用simulink模型得到误码率曲线

m基于matlab的BTS天线设计,带GUI界面

Data protection / disk array raid protection IP segment 103.103.188 xxx

SYN洪水攻击的原理,syn洪水攻击的解决办法

Steam game server configuration selection IP

Data analysis and visualization -- the shoes with the highest sales volume on jd.com

Minecraft bedrock BDS service tutorial

爬虫基础—Session和Cookie
随机推荐
regular expression
Weight matching (greedy)
我的世界1.12.2 神奇宝贝(精灵宝可梦) 开服教程
wcdma软切换性能matlab仿真m,对比平均激活集数(MASN)、激活集更新率(ASUR)及呼叫中断概率(OP)三个性能指标
Xiaodi network security - note encryption coding algorithm (6)
M BTS antenna design based on MATLAB, with GUI interface
Mingming loves drinking water
Sword finger offer question brushing record - offer 07 Rebuild binary tree
Speed feedback single closed loop DC speed regulation system based on Simulink
华为云 鲲鹏ARM云服务器 和 x86云服务器 性能评测对比
我的世界 1.18.1 Forge版 开服教程,可装MOD,带面板
4.IDEA的安装与使用
[untitled]
C语言编译器的下载、配置和基本使用
m基于matlab的超宽带MIMO雷达对目标的检测仿真,考虑时间反转
9.账户和权限
Matlab simulation of cognitive femtocell performance in m3gpp LTE communication network
字典、元組和列錶的使用及區別,
传奇游戏架设教程
字典,集合的使用,数据类型的转换