Displaying 1 result from an estimated 1 matches for "hgaco4fha3".
2018 Feb 21
2
regex for "[2440810] / www.tinyurl.com/hgaco4fha3"
Hi, I need help for cleaning this:
"[2440810] / www.tinyurl.com/hgaco4fha3"
My desired output is:
"[2440810] / tinyurl".
My attemps:
stringa <- "[2440810] / www.tinyurl.com/hgaco4fha3"
b <- sub('^www.', '', stringa) #wanted to get rid of "www." part. Until
first dot.
b <- sub('[.].*', '', b...