Skip to content

Instantly share code, notes, and snippets.

@dmitriyshashkin
Created February 21, 2018 11:06
Show Gist options
  • Save dmitriyshashkin/f979c93a9c9d806a6209a96da85da7d0 to your computer and use it in GitHub Desktop.
Save dmitriyshashkin/f979c93a9c9d806a6209a96da85da7d0 to your computer and use it in GitHub Desktop.
s <- "\t\tStatus: {\\id\\:\\d6b084be-9429-4b4b-8141-1cb5f5a84d2d\\,\\device\\:\\lge LG-H955 (z2_global_com)\\,\\result\\:\\1\\,\\script\\:[{\\timestamp\\:\\1519033801850\\,\\step\\:\\step1\\,\\answer\\:\\1\\},{\\timestamp\\:\\1519033879798\\,\\step\\:\\step2\\,\\answer\\:\\1\\}]},"
r <- gsub("\t", "", gsub("\\\\", "\"",s))
r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment