regex - regex how to find filename which doesn't contain any numbers?
问题描述
I tried with [^0-9].*
and [^\d].*
But none of them is working:
I only want to get filename which doesn't contain any numbers, in above case, I need to get BUILDING.txt.
I also tried with But it only matches the characters instead of the whole filename.
Here is the online tool: https://www.regextester.com/
Tried with remove .
解决方案
推荐阅读
- bash - 如何在bash中转义base64编码字符串中的引号?
- php - Laravel 5.8:引导数据表的雄辩分页
- javascript - 如何使用 SwiftSoup 抓取重定向的特定网站?
- html - 带有变量的SVG过滤器?
- android - Android - 如何在内部存储中保存数组
- cuda - 使用 CUDA 流和 memCpyAsync 的错误结果,添加 cudaDeviceSynchronize 变得正确
- java - ImageMetadataReader.readMetadata(file) 缺少数据
- django - 在模板中选择不会在编辑中更新
- javascript - 用于循环的 Dojo 模板不在 html 表中循环
- javascript - 如何在单击时在表格上的单元格上显示对话框