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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:47:28+00:00 2026-06-14T08:47:28+00:00

The regular expression is (\\w+).*>(.{23}) ([^\\[]+)\\[([^\\]]+)]: (.+) Pattern pattern = Pattern.compile((\\w+).*>(.{23}) ([^\\[]+)\\[([^\\]]+)]: (.+)) String

  • 0

The regular expression is (\\w+).*>(.{23}) ([^\\[]+)\\[([^\\]]+)]: (.+)

Pattern pattern = Pattern.compile("(\\w+).*>(.{23}) ([^\\[]+)\\[([^\\]]+)]: (.+)")
String s = "xxxxxx";   //this is what I want
Matcher matcher =  pattern.matcher(s);
System.out.println(matcher.find());   // I hope "true" 

Maybe it’s not suited to ask for help here. But I am not expert in regular expression and I need to know the result quickly.

I reduced the complexity and tried some schemes .

  • abbb>(ccccccccccccccccccccddddddddddcc) is OK to (\\w+).*>(.{23})
  • (\\a) is OK to ([^\\[]+)

but if I combine them.

abbb>(ccccccccccccccccccccddddddddddcc) (\\a) is not OK to (\\w+).*>(.{23}) ([^\\[]+)

So I am confused, especially the ([^\\[]+)\\[([^\\]]+)]: (.+) part.
Thanks .

  • 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-14T08:47:30+00:00Added an answer on June 14, 2026 at 8:47 am

    Your question is very unclear, but if you needed strings to match your regular expression, I made some for you:

    matches:true, string:word-0>kiOgNnuGfalhTfkqxtsCyhN f[RxQrH]: tqtmY
    matches:true, string:word-1>wlnJomNExhCLHjrmsyLsKhh g[fXSsPYD]: BbzUM
    matches:true, string:word-2>pdTepooJdeDgnODUAJMMPtB Pf[d]: aqmYx
    matches:true, string:word-3>jMNDTuvCBufSEAxuzPDmyFG xt[T[RJjQEpJ]: bdlLS
    matches:true, string:word-4>kHwqbjwNrSqhGeutzxtqiEy f[SmjJVt]: dWwlU
    matches:true, string:word-5>UreUxUwpIyHqPXqVlALIlmr vuJScq[QFIpLCplW]: UuL0K
    matches:true, string:word-6>dojPDeXqAfsHvGjOfvyZOtR aq[ImRqDn]: eyqlr
    matches:true, string:word-7>ViljtcHRPzMjktFzqwDcprB le[U]: yfohG
    matches:true, string:word-8>sjtQoCTupFbYqzhxcnrPbMh hhR[gufba]: DmREu
    matches:true, string:word-9>ZauFhTHuvuXcqlymybjYHzj yv[FAaupu]: ZtrqL
    

    all of them match "(\\w+).*>(.{23}) ([^\\[]+)\\[([^\\]]+)]: (.+)" and that list was generated by some code i wrote up real quick:

    // generate some strings....
    for (String string : full) {
        Pattern pattern = Pattern.compile("(\\w+).*>(.{23}) ([^\\[]+)\\[([^\\]]+)]: (.+)");
        Matcher matcher =  pattern.matcher(string);
        System.out.println("matches:" + matcher.find() + ", string:" + string);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to write regular expression for this pattern: String word=113(112,9); It should
So basically I have this giant regular expression pattern, and somewhere in the middle
I try use string as a regular expression pattern but I've following errors PHP
I need a regular expression for findin a pattern. This is the pattern: id|name|code|mobile
There's no limitation on the regular expression compiled with the Pattern.CANON_EQ . However Pattern.compile((?:\u00e9),Pattern.CANON_EQ);
I am trying to determine if a string matches a regular expression pattern: expected
I can't run this regular expression on Java: String regex = /^{m:\(.*)\,s:([0-9]{1,15}),r:([0-9]{1,15}),t:([0-9]{1,2})}$/; String data
I fairly frequently match strings against regular expressions. In Java: java.util.regex.Pattern.compile(\w+).matcher(this_is).matches Ouch. Scala has
I'm trying to improve a regular expression. I have this string: String myString =
I'm trying to check a string with a regular expression, and this check should

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.