G
Guest
Here is a string
xxxxx<free:news keyword="gaconel/name" length="30"/><free:info
keyword="title" length="20" recordset="10">
Now I want to use RegEx to get 2 string that from <free: ... />,and I
created a Regex to achieve my thouht.
This is My RegEx:
@"<free:\w[\w\d]*\s*(!!!Not \/>!!!)+\/>"
Please Notice the Regex ,(!!!Not \/>!!!) that I mean that middle of the
string can't include the combination of "/>"
Apparently it is not correct of [^\/>]+ because Regex will match the char of
the string one by one.
Who can tell me what shall I do?
Thanks very much!
Yours Gaconel
xxxxx<free:news keyword="gaconel/name" length="30"/><free:info
keyword="title" length="20" recordset="10">
Now I want to use RegEx to get 2 string that from <free: ... />,and I
created a Regex to achieve my thouht.
This is My RegEx:
@"<free:\w[\w\d]*\s*(!!!Not \/>!!!)+\/>"
Please Notice the Regex ,(!!!Not \/>!!!) that I mean that middle of the
string can't include the combination of "/>"
Apparently it is not correct of [^\/>]+ because Regex will match the char of
the string one by one.
Who can tell me what shall I do?
Thanks very much!
Yours Gaconel