当前位置:网站首页>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-]+'
边栏推荐
- Pytorch tensor
- Paper reading: deep residual learning in spiking neural networks
- M matlab simulation of bit error rate using LDPC, turbo and convolutional channel coding and decoding in VBLAST cooperative MIMO system segment
- 103.53.124.X IP段BGP线路和普通的专线有什么区别
- 快速学会cut命令,uniq命令的使用
- Steam game high frequency i9-12900k build cs:go server
- WCDMA soft handoff performance matlab simulation m, comparing the average number of activation sets (MasN), activation set update rate (Asur) and call interruption probability (OP) three performance i
- PyTorch学习笔记(一)
- Performance evaluation and comparison of Huawei cloud Kunpeng arm ECs and x86 ECS
- PyTorch学习日记(四)
猜你喜欢
Review summary of MySQL
Xiaodi network security notes - Information Collection - architecture, construction, WAF (8)
How to open the service of legendary mobile games? How much investment is needed? What do you need?
搭建一个网站都需要那些东西
My world 1.12.2 Magic Baby (Fairy treasure dream) service opening tutorial
Performance evaluation and comparison of Huawei cloud Kunpeng arm ECs and x86 ECS
爬虫基础—Session和Cookie
快速掌握sort命令,tr命令
M design of GPS data longitude and latitude height analysis and Kalman analysis software based on matlab-GUI
Tianyi cloud Hangzhou virtual machine (VPS) performance evaluation
随机推荐
Mingming loves drinking water
Sword finger offer question brushing record - offer 03 Duplicate numbers in array
Arm server building my world (MC) version 1.18.2 private server tutorial
linux下执行shell脚本调用sql文件,传输到远程服务器
SNN学习日记——安装SpikingJelly
wcdma软切换性能matlab仿真m,对比平均激活集数(MASN)、激活集更新率(ASUR)及呼叫中断概率(OP)三个性能指标
[automated testing] - robotframework practice (III) writing test cases
天翼雲 杭州 雲主機(VPS) 性能評測
What do you need to build a website
Sword finger offer question brushing record - offer 04 Search in two-dimensional array
华为云 鲲鹏ARM云服务器 和 x86云服务器 性能评测对比
Minecraft integration package [gtnh] gray Technology: new vision server building tutorial
传奇怎么开服?开传奇私服需要准备什么呢?
M simulation of 16QAM and 2DPSK communication links based on Simulink, and get the bit error rate curve by calling Simulink model through MATLAB
How does legend open its service? What do you need to prepare to open legend private server?
爬虫基础—Session和Cookie
剑指Offer刷题记录——Offer 03. 数组中重复的数字
剑指Offer刷题记录——Offer 07.重建二叉树
论文阅读:Deep Residual Shrinkage Networksfor Fault Diagnosis
Yuanzi racehorse.