CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions:
Some regex idea

 



zerysaish
New User

Apr 10, 2010, 9:44 AM

Post #1 of 1 (2496 views)
Some regex idea Can't Post

Assume that i have neat event invitations. In the invitations there are always hint the location, the time, and what is on the event. I need some idea how to find those info.

so far i have
$when = $' if $string =~ m{\s?(when|date/time|date|time)\s?:?\s?}i;
$where = $' if $string =~m{\s?(where|location|venue|meet at)\s?:s?\s?}i;
i will like some more ideas so the information extracted is more likely relevant.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives