I want to match any line that does not end with 'CA' or 'CA[any number]'. How can I do that using rlike in MySQL? (Note it doesn't support ?! etc).
Here's the regex for a positive match, I just need a way to negate it: '^.*[C][A][0-9]?$'
(Due to an embarrassing architecture limitation, I don't want to use not rlike ...)
...
So I've been working with RLIKE to pull some data in a new application and mostly enjoying it.
To date I've been using RLIKE queries to return 3 types of results (files, directories and everything).
The queries (and example results) follow:
**All**:
SELECT * FROM public WHERE obj_owner_id='test' AND obj_namespace
RLIKE '^user/test/p...
I have a table called "scholarships" that has a field named "majors" which contains comma separated major names for the majors the scholarship is related too.
Let's say the field could contain one (or more separated by commas) of the following: business, agribusiness, business administration, international business.
If someone is searc...