Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jimmyellis

    regex ?

    Guys Thanks for the help. I solved it; and also solved that issues that forced me to do it this way. It's not eloquent but it works. Appreciate the responses.
  2. jimmyellis

    regex ?

    Thanks for the responses, guys. given the following sequence, with spaces between the digits and a newline at the end 3 2 1/2 3 2 1 1/2 1 5 1/4 why for if ($restrace =~/^(\d{0,2}\s\w{0,4}|\d\/\d|\d{0,2}\s\d\/\d|\d{0,2})\s(.*)/){ does $1 contain 3 2 instead of 3 2 1/2 why...
  3. jimmyellis

    regex ?

    Please excuse my limited grasp of Perl and regular expressions. I'm trying to match lines such as the following: 4 4 4 6 1/2 4 3/4 10 9 1/4 12 20 1/4 The line ends with a carriage return. The sequence is the same, with a number followed either by a fraction or another number followed by a...

Part and Inventory Search

Back
Top