Guest User

Untitled

a guest
Feb 18th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. // Evaluating JavaScript:
  2. (String.fromCharCode(27) + '(Bfoo' + String.fromCharCode(27) + '(Bbar').replace(String.fromCharCode(27) + '(B', '', 'gm')
  3. // In Chrome: => foobar
  4. // In FF: => foobar
  5.  
  6. // Although that will work fine (use it!)
  7. (String.fromCharCode(27) + '(Bfoo' + String.fromCharCode(27) + '(Bbar').replace(new RegExp(String.fromCharCode(27) + "\\(B", 'gm'), '')
Add Comment
Please, Sign In to add comment