Closed trinker closed 8 years ago
x <- c("$555,000Previous Price: $575,000", "$865,000Previous Price: $875,000", "$995,000 ", "$1,325,000Previous Price: $1,459,000.33") qdapRegex::ex_dollar(x) qdapRegex::ex_dollar(x, pattern="\\$\\(?[0-9.,]+\\)?")