开发者

Does any one know how to find following string using regular expression of visual studio?

开发者 https://www.devze.com 2022-12-17 00:42 出处:网络
Does any one know how to find following string using regular expressi开发者_运维知识库on of visual studio?

Does any one know how to find following string using regular expressi开发者_运维知识库on of visual studio?

  <fo:block>

  </fo:block>

I have tried with following but it didn't work

\<fo\:block\>*$\n*\</fo\:block\>$


This works for me but it's not pretty...

\<fo\:block\>.*\x0d\x0a.*\x0d\x0a.*\<\/fo\:block\>

I thought I tried this:

\<fo\:block\>.*\n.*\n.*\<\/fo\:block\>

yesterday but apparently I didn't because it works.

0

精彩评论

暂无评论...
验证码 换一张
取 消