[Vtigercrm-developers] Working regex

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


PHP uses perl regular expressions

Can you please provide an example of the text you are trying to work with.
Where is this regex used?

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:02 AM
To: vtigercrm-developers at lists.vtigercrm.com
Subject: [Vtigercrm-developers] Working regex

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/adaff296/attachment-0001.html>


More information about the vtigercrm-developers mailing list