Search within IDEs and Version Control
Register / Login
Win a copy of
Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Other IDEs, Version Control
How to enable multiline option for regex searching in Eclipse?
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Now I want to kill some special comments in my
files by using
regex searching and replacing the comments we finded to an empty
I uses the regex
It can match single-line-comments easily, but it does not work for multiline
comments looks like:
* This s a multiline comment.
The Java API says MULTILINE and DOTALL options of regex matcher are not
enabled by default. Does anyone knows how to enable the options when
using regex searching in eclipse?
Or can you write a regex pattern to match C-Style multiline comments in Eclipse?
[ May 08, 2006: Message edited by: Jim You ]
Just do it.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
Boost this thread!
Regex: Pulling out comments from text: Grabbing multiple lines using Pattern, Matcher
Pattern matches but never replaces
Complex regular expressions
Reg Ex to remove html comments?