dcsimg
replaceregexp & carriage return
0 posts in topic
Thread View Thread View
TOPIC ACTIONS:
 

replaceregexp & carriage return...
Lenden
Thu Oct 04, 2012 04:25 AM

Hello everybody,

in one of my java classes, i have something like this

/**
* ABCDEFGHIJKL 12391238875972
* _&"&"&"&"&"&"&&"
* _&'&'&&'&'&'&'&'&'
*/

and I would like to change it to:

/**
* */

Here is what i tried, and what didn't work :)

<replaceregexp>
<regexp pattern="ABCDEFGHIJKL[.\n]*\*/"/>
<substitution expression="*/"/>
<fileset dir=".">
<filename name="class.java"/>
</fileset>
</replaceregexp>

Do you have any idea?
Thank you?

About | Sitemap | Contact