igor_007
asked on
regular expresion for all lines
hello, i have one question.
i have multiline text (more than 50 lines) and i want to get all lines with regexp:
(.*) returns first line only,
(.*\n.*) returns first and second lines.
how can i define regulare expresion, that returns all lines?
Thank you!
i have multiline text (more than 50 lines) and i want to get all lines with regexp:
(.*) returns first line only,
(.*\n.*) returns first and second lines.
how can i define regulare expresion, that returns all lines?
Thank you!
?, why a regexp that returns all what you allready have?
ASKER
i got e-mail and i should get body of this e-mail with regexp
ASKER
i got e-mail and i should get body of this e-mail with regexp
use /s modifier.
ASKER
can you please post regular expresion pattern here?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i do it so:
((.*\n.*)*)
thank you!
((.*\n.*)*)
thank you!