开发者

Notepad++ RegEx

I am in need a reg ex for the following:

/****** Object: AnyNumberofCharacters ****开发者_运维问答**/

Here is what I have Tried but I cant make it work

/^\/\*\*\*\*\*\* Object\:.*\*\*\*\*\*\*\//

Could someone tell me what I'm doing wrong?


Edited: Sorry I'm using NotePad++ to search a number of text files for this string.


Since you are using Notepad++ to find that string, you don't need the delimiters. And therefore, you don't need to escape the forward slashes either.

^/\*\*\*\*\*\* Object\:.*\*\*\*\*\*\*/


I guess that

/^\/\*{6} Object: [\w]+ \*{6}\/$/

should do that...

Don't forget to adjust the [\w] range accordingly.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜