简单的Reg表达问题 [英] Simple Reg Expression question
问题描述
我正在画一个空白...搜索字符串的正则表达式是什么?
是否存在子字符串的出现?示例:我想找到
没有替换图像的所有行。在他们身上。
TIA,
拉里伍兹
< blockquote> Larry,
什么是搜索字符串的正则表达式
没有出现子字符串?
发生在那里在VB.net中不是正则表达式,我使用
的是:
if string.indexof(" image")<> -1
Cor
Sh ....if string。 indexof(" image")<> -1
if string.indexof(" image")= -1
不要想要开始一个参数,Cor,但看看:
System.Text.RegularExpressions
我一直使用RegEx但是显然还不够,因为我不得不问这样一个简单的问题...... ;-)
拉里
Cor < no*@non.com>在消息中写道
news:3f ********************** @ reader20.wxs.nl ...Larry,搜索字符串的正则表达式是什么?没有出现子字符串?
在VB中发生了什么.net不是正则表达式,我使用的是
如果string.indexof(" image")<> -1
I''m drawing a blank... What is the regular expression for search a string
for NO occurances of a substring? Example: I want to find all lines that
do NOT have the substing "image" in them.
TIA,
Larry Woods
Larry,What is the regular expression for search a string
for NO occurances of a substring?
Happenly there is in VB.net not a regular expression, the one which I use
is:
if string.indexof("image") <> -1
Cor
Sh....if string.indexof("image") <> -1
if string.indexof("image") = -1
Don''t want to start an argument, Cor, but take a look at:
System.Text.RegularExpressions
I use RegEx all the time but obviously not enough since I have to ask such a
simple question... ;-)
Larry
"Cor" <no*@non.com> wrote in message
news:3f**********************@reader20.wxs.nl...Larry,What is the regular expression for search a string
for NO occurances of a substring?
Happenly there is in VB.net not a regular expression, the one which I use
is:
if string.indexof("image") <> -1
Cor
这篇关于简单的Reg表达问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!