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 430997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:55:50+00:00 2026-05-12T19:55:50+00:00

111111111 – Invalid A121278237 – Invalid 7777777777 – Invalid 121263263 – Valid 111111112 –

  • 0
111111111 - Invalid
A121278237 - Invalid
7777777777 - Invalid

121263263 - Valid
111111112 - Valid
  • 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-05-12T19:55:51+00:00Added an answer on May 12, 2026 at 7:55 pm
    ^([0-9])(?!\1+$)[0-9]+$
    

    should work. It needs a string of at least two digits to match successfully.

    Explanation:

    1. Match a digit and capture it into backreference #1: ([0-9])

    2. Assert that it’s impossible to match a string of any length (>1) of the same digit that was just matched, followed by the end of the string: (?!\1+$)

    3. Then match any string of digits until the end of the string: [0-9]+$

    EDIT: Of course, in Java you need to escape the backslash inside a string ("\\").

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

Sidebar

Related Questions

I compile and run this code with MSVC2008 long double x = 111111111; long
If you have the binary number 10110 how can I get it to return
My java module gets a huge input xml from a mainframe. Unfortunately, the mainframe
I have that function: $(#tabela tr).toggle(function(){ $(this).addClass(zaznaczone); $(this).find( :checkbox).attr(checked, 1); },function(){ $(this).removeClass(zaznaczone); $(this).find( :checkbox).attr(checked,
I have a query that works on MySQL but doesn't work on Oracle, and
I have a url which looks like this https://test.high.com/people/11111111-name-firstname-_custa/deals/new Now i need to match
I'm trying to convert a string to GUID with sscanf: GUID guid; sscanf( 11111111-2222-3333-4455-667788995511,
How can we convert the following 64 bit binary into the long equivalent; 01111101
I'm trying to access basic information from a FRIEND page via FQL: SELECT name,
I'd simply like to convert a base-2 binary number string into an int, something

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.