search for: varreg

Displaying 1 result from an estimated 1 matches for "varreg".

Did you mean: parreg
2008 Nov 04
3
regex question
hello, i am trying to extract text using regex as follows: "* < <* this is my text > > " into: "this is my text" below what I did: varReg <- "* < <* this is my text > > " ## either this pattern patReg <- "(^[ <*]+)" ## or below patten patReg <- "([ > ]+$)" sub(patReg, '', varReg) depending of which patten I use, I could only extra the first portion or the last porti...