Guest User

Untitled

a guest
Jul 20th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. DoThis(0.5) // = 0.5 should be selected
  2. DoThis5(43) // = 43 should be selected, but not 5
  3.  
  4. b[0-9]+(.[0-9]+)?
  5.  
  6. (?<!w)[0-9.]+b
  7.  
  8. /([0-9.]+)/
  9.  
  10. /[^w]([d.]+)/
  11.  
  12. /([0-9.]+)/
  13.  
  14.  
  15. echo "DoThis5(43)" | egrep -o "([0-9.]+)"
  16. (43)
Add Comment
Please, Sign In to add comment