[R] regexpr - ignore all special characters and punctuation in a string
dimitri.liakhovitski at gmail.com
Mon Apr 20 15:59:12 CEST 2015
Please point me in the right direction.
I need to match 2 strings, but focusing ONLY on characters, ignoring
all special characters and punctuation signs, including (), "", etc..
I want the following to return: TRUE
"What a nice day today! - Story of happiness: Part 2." ==
"What a nice day today: Story of happiness (Part 2)"
More information about the R-help