View Single Post
  #4 (permalink)  
Old October 18th, 2012, 07:11 PM
ciderpunx ciderpunx is offline
Friend of Wrox
Points: 1,515, Level: 15
Points: 1,515, Level: 15 Points: 1,515, Level: 15 Points: 1,515, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by Vision G View Post
Hi all, please I need help.

I 'd like to find the regular expression with this data:

"A name includes the first five latin letters (abcde) and the underscore (_), which can be repeated many times. Each name can also includes the (.) only once.
The name must be ended with (;).

Which is the regular expression?

thanx a lot
In perl:
Code:
/[a-e_]+;/
__________________
--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock: http://charlieharvey.org.uk