Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Regex Test Samples

By: a guest on Dec 9th, 2011  |  syntax: None  |  size: 0.77 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Inputs:
  2.  
  3. Hello blah blah. It's around 11 1/2" x 32".
  4. The dimensions are 8 x 10-3/5!
  5. Probably somewhere in the region of 22" x 17".
  6. The roll is quite large: 42 1/2" x 60 yd.
  7. They are all 5.76 by 8 frames.
  8. Yeah, maybe it's around 84cm long.
  9. I think about 13/19".
  10. No, it's probably 86 cm actually.
  11. The last but one test case is 12 yd x.
  12. The last test case is 99 cm by.
  13. This sentence doesn't have dimensions in it: 342 / 5553 / 222.
  14. Three dimensions? 22" x 17" x 12 cm
  15. This is a product code: c720 with another number 83 x better.  
  16. A number on its own 21.
  17. A volume shouldn't match 0.332 oz.
  18.  
  19. Outputs (# indicates nothing should match):
  20.  
  21. 11 1/2" x 32"
  22. 8 x 10-3/5
  23. 22" x 17"
  24. 42 1/2" x 60 yd
  25. 5.76 by 8
  26. 84cm
  27. 13/19"
  28. 86 cm
  29. 12 yd
  30. 99 cm
  31. #
  32. 22" x 17" x 12 cm
  33. #
  34. #
  35. #
  36.