Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-26-2009, 12:27 PM   #1
Registered: Aug 2006
Location: Michigan
Distribution: Ubuntu
Posts: 274

Rep: Reputation: 30
regex for ecards

I am trying to filter emails based on regular expressions. What I want to block is any email with every permutation of e-cards and ecards. I have this
but that doesn't help with the second. Is there a way to do both in one? Or should I have multiple?
Old 02-26-2009, 03:36 PM   #2
Registered: Mar 2005
Location: UK
Distribution: opensuse 12.2 x86_64
Posts: 563

Rep: Reputation: 38
(?i) specifies case-insensitive


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with regex tbeehler Linux - Software 4 07-11-2008 11:05 AM
regex with sed to process file, need help on regex dwynter Linux - Newbie 5 08-31-2007 06:10 AM
Regex help Penguin of Wonder Programming 4 08-06-2007 08:04 AM
regex help siyisoy Programming 4 04-07-2006 06:32 AM
Regex Help cmfarley19 Programming 5 03-31-2005 11:13 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration