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

  • SEARCH
  • Home
  • 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 9232875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:25:01+00:00 2026-06-18T06:25:01+00:00

Acronyms are a pain in my database, especially when doing a search. I haven’t

  • 0

Acronyms are a pain in my database, especially when doing a search. I haven’t decided if I should accept periods during search queries. These are the problems I face when searching:

  • ‘IRQ’ will not find ‘I.R.Q.’
  • ‘I.R.Q’ will not find ‘IRQ’
  • ‘IRQ.’ or ‘IR.Q’ will not find ‘IRQ’ or ‘I.R.Q.’

etc…

The same problem goes for ellipses (…) or three series of periods.

I just need to know what directions should I take with this issue:

  • Is it better to remove all periods when inserting the string to the database?
  • If so what regex can I use to identify periods (instead of ellipses or three series of periods) to identify what needs to be removed?
  • If it is possible to keep the periods in acronyms, how can it be scripted in a query to find ‘I.R.Q’ if I input ‘IRQ’ in the search field, through MySQL using regex or maybe a MySQL function I don’t know about?
  • 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-18T06:25:03+00:00Added an answer on June 18, 2026 at 6:25 am

    My responses for each question:

    • Is it better to remove all periods when inserting the string to the database?

    Yes and no. You want the database to have the original text. If you want, create a separate field that is “cleaned up” to search against. Here, you can remove periods, make everything lowercase, etc.

    • If so what regex can I use to identify periods (instead of ellipses or three series of periods) to identify what needs to be removed?

      /\.+/

    That finds one or more periods in a given spot. But you’ll want to integrate it with your search formula.

    Note: regex on a database isn’t known to have high performance. Be cautious with this.

    Other note: you may want to use FullText search in MySQL. This also, isn’t known to have high performance with data sets over 1000+ entries. If you have big data and need fulltext search, use Sphinx (available as a MySQL plug-in and RAM-based indexing system).

    • If it is possible to keep the periods in acronyms, how can it be scripted in a query to find ‘I.R.Q’ if I input ‘IRQ’ in the search field, through MySQL using regex or maybe a MySQL function I don’t know about?

    Yes, by having the 2 fields I described in the first bullet’s answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

how can i index acronyms like 'm.i.a.'? when i search for 'mia', i get
I see these two acronyms being thrown around and I was wondering if there
I want to search for all of the acronyms placed within a document so
Given: A text (optional with HTML tags) a database table with abbreviations and acronyms
Lucene's StandardAnalyzer removes dots from string/acronyms when indexing it. I want Lucene to retain
I want to remove dots in acronyms but not in domain names in a
How is that for a lot of acronyms! I am having trouble testing GWT's
I'm using Python + ZOPE/ZODB/Repoze BFG (the acronyms all get quite confusing) + paster.
Language Integrated Query. Now I know that the acronyms are. I have seen C#
I am currently stuck, having two separate glossaries: main & acronyms . Acronyms glossary

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.