如何使用正则表达式查找大于100%的值? [英] how can I find values greater than 100% using regular expression?

查看:72
本文介绍了如何使用正则表达式查找大于100%的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理多个文件中的大量CSS,并尝试调试布局问题以查找诸如 width:105%

I'm dealing with a huge amount of CSS across several files and trying to debug issues with layout looking for bugs like width:105%

我只能访问支持Windows的Windows计算机上的 notepad ++ 搜索 .

I only have access to notepad++ on a Windows machine that supports Regular Expression in Search.

推荐答案

([1-9]0[1-9]|[1-9]{2}\d|[2-9]\d{2}|\d{4,})\s*%

应对所有数字在101及更高范围内的数字进行欺骗.

Should do the trick for all numbers in the range of 101 and upward.

101%
110%
210%
999 %
1000000000%

将全部匹配.

这篇关于如何使用正则表达式查找大于100%的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆