My question is very simple to use only to locate and replace a regular expression, whether the case of the original words It is possible to keep
So if I have a string: "Beautiful beautiful is very beautiful" How can I change it: "Lovely beautiful is very cute"
 I still find  Change with / (P | P) retty / g  and  $ 1ovely  but how do I replace L with L and replace with the lowercase P in the place of Capital P? 
I have no interest in completing this in a particular language, I have to know whether it is possible to do it with pure Regedes.
No comments:
Post a Comment