Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. string = "<RECALL>first_name</RECALL>, I'd like to send you something..."
  2.  
  3. /<RECALL>(.*)</RECALL>/.match(string)[1]
  4. #=> "first_name"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement