How to get this expression work:
SELECT post_content
FROM wp_posts
WHERE post_content REGEXP 'http:\/\/www.google.com\/\?link=.*_1'
I have some posts with some links in this style, so I wont get list of all posts with this links.
With this query I get an empty list.
Table:
| id | wp_posts | other fields....
| 1 | text <a href="http://www.google.de/?link=test_1">Link</a> text | ....
So I have to find the post ID 1