Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. //you should replace ä with any non-usable character.
  2. test = `
  3. ä
  4. .
  5. heloo
  6. ä
  7. `.replace(/(\s{4})/, "START")
  8. .replace(".", "DISPLAY")
  9. .replace(/(\s{2})/, "STOP")
  10. .replace(/ä/g, "")
  11.  
  12. alert(test)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement