Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8615629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:25:32+00:00 2026-06-12T05:25:32+00:00

Stringy: 5/5 Stringy : 3 / 5 3 / 5 Stringy I’m trying to

  • 0
Stringy: 5/5
Stringy : 3 / 5
3 / 5  Stringy

I’m trying to match two leading spaces on a string, or ignore it if not found. I’ve tried:

SELECT *
FROM testtable
WHERE `file` REGEXP '(  )Stringy(: | : )'

This doesn’t return any rows though

Is it possible to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:25:33+00:00Added an answer on June 12, 2026 at 5:25 am

    You need to escape characters which have special meaning in regular expression pattern such as the brackets (, ).

    Example with two leading spaces:

    SELECT "  Stringy: 3/5" REGEXP '[ ]{2}Stringy(: | : )';
    ## 1
    SELECT "  Stringy : 3 / 5" REGEXP '[ ]{2}Stringy(: | : )';
    ## 1
    

    and a maximum of two leading spaces:

    SELECT "Stringy : 3 / 5" REGEXP '[ ]{0,2}Stringy(: | : )';
    ## 1
    

    See also the

    • MYSQL Docs on Regular Expressions
    • Escape special characters for SQL REGEXP
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

string str = Select bd_id from [Active]; ds = new DataSet(str); da = new
String q = SELECT attr FROM students foo =? AND bar = ?; PreparedStatement
String pnumber = request.getParameter(pnumber); ResultSet rs = DAO.fetch(SELECT * FROM Products Where ProductNumber ='
string in question: '{images:{0:<div style=\\background:red;width:250px;height:250px;display:block;position:absolute;\\></div>}}' I've tried various combinations of single and double quotes.
string abc = 07:00 - 19:00 x = int.Parse(only first two characters) // should
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have tried Googling and trying everything I can think of, but I can't
String to pull from : http:\/\/c.ypcdn.com\/2\/c\/rtd?vrid=357c99c36bd7ed631eda2e43fc9e30f8&rid=283d465f-f63b-4b0d-90b0-be6c12ed7617&ptid=943aw4l8qj&ypid=11720135&lid=194823099&tl=6&lsrc=SP&dest=http%3A%2F%2FCleanation.com RegEx I have used before: www\..*?\.\w{2,5} However the
String sqlQueryToCreateUndergraduateDetailsTable = create table if not exists + TABLE_NAME_GPA + ( + BaseColumns._ID

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.