Displaying 1 result from an estimated 1 matches for "thisismytext".
2008 Nov 04
3
regex question
...patten I use, I could only extra the first portion
or the last portion of the unwanted characters. how to extract both
ends and keep my text "this is my text" ?
I have tried with gsub, as below:
patReg <- "([ >* ]+)"
gsub(patReg, '', varReg)
but it returned "thisismytext"
any idea is appreciated.
thanks,
ferry