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

Posted By:   Lenden
Posted On:   Thursday, October 4, 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> </replacereg   More>>

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?

   <<Less
About | Sitemap | Contact