[英]regular expression search in notepad++ or text pad
I want to be able to search a pattern like 'CREATE TABLE ' followed by any expression include newline and ending with ); 我希望能够搜索“ CREATE TABLE”之类的模式,然后搜索包含换行符并以)结尾的任何表达式;
So it should be able to select following 2 create table stamtement one after other. 因此它应该能够选择以下两个创建表的一个接一个。
create table tab1 ( col1 number,
col2 date);
create table tab3 ( col1 number,
col2 date,
col3 number);
I did tried create table .* but I am not able to include newline . 我确实尝试过创建表。*,但无法包含换行符。
Thanks. 谢谢。
this should do: 这应该做:
create table [^;]*;
check the matches newline checkbox 检查比赛换行复选框
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.