DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = How do you replace these with Perl regular expressions? - iTechForums
Login
Search   Moderators Wanted: If you're interested please send your portfolio to info[at]itechforums.com
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 1
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2010, 09:29 PM
The Awaken The Awaken is offline
Junior Member
 
Join Date: Jul 2009
Posts: 4
Default

How do you replace these with Perl regular expressions?


How do you replace these with Perl regular expressions?

For example:

$string = abcabcBLOBabcabc;
$newstring = s/....;

I am trying to replace BLOB with any given word but am having slight issues as I am not regex-friendly...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I am studying about Perl regular expressions. I don't understand why bibi Perl 1 06-22-2009 08:07 AM
Extracting data in Perl with regular expressions...? PSUMeteoMedic Perl 2 05-17-2009 10:39 AM
Perl Regular Expressions Help...? PSUMeteoMedic Perl 2 05-13-2009 02:04 AM
How do I remove commas in a CSV value field with Perl regular expressions? Ando Perl 1 05-29-2008 06:45 AM
Perl - Regular Expressions - $value =~ s/~!/ ~!/g;? mti2935 Perl 1 05-06-2008 01:15 PM

Your Ad Here

All times are GMT. The time now is 03:41 AM.