instead of([^ ]+)(?:\s+)
Or are you really wanting anything other than "space" (and not just any non-white)? Curious...(\S+)\s+
In reply to Re: seeking improvement in my smiple program using regular expression
by perl-diddler
in thread seeking improvement in my smiple program using regular expression
by convenientstore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |