[TxMt] Regular expression to replace code

Ross Ahmed rossahmed at googlemail.com
Thu Nov 21 10:43:23 UTC 2013


Let's says I have this code: 

is.numeric(mean(mtcars$mpg))

Let's says I highlight the code and press CMD+E to use code as find. What regular expression can I use to strip the outer function? So the replacement code would be mean(mtcars$mpg)

Cheers
Ross


More information about the textmate mailing list