[Vtigercrm-developers] Working regex

Hamono, Chris (DPC) Chris.Hamono at sa.gov.au
Mon Jun 22 23:46:36 GMT 2015


Oops jumped in too soon. Good to see you resolved it

Chris

From: vtigercrm-developers-bounces at lists.vtigercrm.com [mailto:vtigercrm-developers-bounces at lists.vtigercrm.com] On Behalf Of Stacey Johnson
Sent: Tuesday, 23 June 2015 1:18 AM
To: vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] Working regex

OK I answer myself as follow:
^(?!(?:keyword1|keyword2)$)[a-z0-9\_]{3,}$

On Mon, Jun 22, 2015 at 10:32 PM, Stacey Johnson <stacey.johnson110 at gmail.com<mailto:stacey.johnson110 at gmail.com>> wrote:
Can you gents get me example of working regex which will exclude one or more from set of words? I got following and it not works. Seems it up to library used
^(?!(?:keyword1|keyword2|keyword3|keyword4)$).*$


Cheers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150623/91f3d5d2/attachment.html>


More information about the vtigercrm-developers mailing list