I require a regular expression that selects a column from table, if it starts with a specific character sequence specified by the user.
example if i type in A i should get
Apple
Apricot
Acorn
if i type in Ab
Abba
Abdomen
etc..
This is for a query done in mysql 5.1
Thanks,
Don’t use regex for this, use LIKE: