help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Regarding replacing regexp


From: shirish
Subject: Regarding replacing regexp
Date: Thu, 10 May 2012 15:07:40 +0530

Hi, 

I am in the process of learning how to use emacs. I know about the replace-regexp but I am unable to create a regular _expression_ to do the below.
Any help is much appreciated. 

public static final String SUCCESS //Successmesg
public static final String FAILURE  //failuremessage

I need to replace that with 

public static final String SUCCESS = "SUCCESS";//Successmesg
public static final String FAILURE  = "FAILURE"; //failuremessage

Thanks,
Shirish.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]