to check for lines end with \digit , I want to see if the line end with a back slash follow by a digit then I want to ignore it . the data i have is the following :if ($lastOne =~ /\w+$/ && $lastOne !~ /(?<=\W)[0-9]$/)
so in this data I want to ignore only the first line , my code is ignoring both the first and second . do you see the problem .. thankshull/uuu/8 cook/too/un-8-9 luck/goo
In reply to Regex with digits by splitOnce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |