|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: Removing first part of string with regexby akho (Hermit) |
| on Jan 02, 2009 at 10:08 UTC ( [id://733721]=note: print w/replies, xml ) | Need Help?? |
|
The ? makes the period optional, so your regex matches the whole word. /[^.]*\.(\S*)/ would work.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||