Regex Problem
| From: | Igor Escobar | Date: | Fri, 31 Jul 2009 17:23:07 +0000 |
| Subject: | Regex Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-296129@lists.php.net to get a copy of this message | ||
Hi Folks,
I have a serious problem.
must create a regular expression against all that is between single quote or
double quotes. Easy? Ok, i know, but i need that "everything" must to be too
an single quote or double quote.
If i have this SQL command:
SELECT * FROM TSTRENIC.MEI_ACESSO WHERE UPPER(DS_MEI_ACS) LIKE *'%NOME' ASD
' AS'ASD'%' *AND USUARIO = *'oaksdpokasd'asda'* ORDER BY
DS_MEI_ACS ASC;
SELECT * FROM TSTRENIC.MEI_ACESSO WHERE USUARIO_DATA BETWEEN *'2007-01-02'*AND
*'2008-07-08'*
Anyone have any idea?
I need an expression which case the fields in bold.
Regards,
Igor Escobar
Systems Analyst & Interface Designer
+ http://blog.igorescobar.com
+ http://www.igorescobar.com
+ @igorescobar (twitter)