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 question.


Forgot Password?

Need An Account, Sign Up Here

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

Sign InSign Up

eHowToNow Forum

eHowToNow Forum Logo eHowToNow Forum Logo

eHowToNow Forum Navigation

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

Mobile menu

Close
Ask a Question
  • Meet The Team
  • Blog
  • About Us
  • Contact Us
Home/regular expression

Discy Latest Questions

shilpa
shilpa

shilpa

  • 1 Question
  • 0 Answers
  • 0 Best Answers
  • 1 Point
View Profile
  • 0
shilpa
Asked: June 9, 2021In: Java

How to split the String by space

  • 0

I want to split the string by space, below code not working. I’m new to Java. Please share the good tutorials for beginners. String s1 = “Welcome to Hello World Java”; String[] str = s1.split(” “);

javajava stringregexregular expression
  • 1 1 Answer
  • 18 Views
Answer
techgeek
techgeek

techgeek

  • 1 Question
  • 0 Answers
  • 0 Best Answers
  • 1 Point
View Profile
  • 0
techgeek
Asked: June 5, 2021In: Java

Exception in thread “main” java.util.regex.PatternSyntaxException: Unexpected internal error near index 1

  • 0

I’m getting below error while split the string by “\” even I used with escape “\\” but still getting the exception Exception in thread “main” java.util.regex.PatternSyntaxException: Unexpected internal error near index 1 \ at java.base/java.util.regex.Pattern.error(Pattern.java:2029) at java.base/java.util.regex.Pattern.compile(Pattern.java:1790) at java.base/java.util.regex.Pattern.<init>(Pattern.java:1431) at java.base/java.util.regex.Pattern.compile(Pattern.java:1070)

core javajavaregexregular expression
  • 1 1 Answer
  • 26 Views
Answer
priyadharshini
priyadharshini

priyadharshini

  • 1 Question
  • 0 Answers
  • 0 Best Answers
  • 1 Point
View Profile
  • 0
priyadharshini
Asked: May 19, 2021In: Java

java.util.regex.PatternSyntaxException: Dangling meta character ‘?’ near index 0

  • 0

I’m trying to replace all the question (?) mark in my document String s = “xyz?”; s.replaceAll(“?”.””); using sample code mentioned above but getter java.util.regex.PatternSyntaxException: Dangling meta character ‘?’ near index 0 what I’m doing wrong here ? why I’m getting this error ? java.util.regex.PatternSyntaxException: ...

javaregexregular expression
  • 0 0 Answers
  • 13 Views
Answer

Sidebar

Ask A Question

Stats

  • Questions 66
  • Answers 12
  • Best Answers 2
  • Users 32
  • Popular
  • Answers
  • smartrader

    com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of

    • 2 Answers
  • Vignesh

    How to delete unpushed changes in git

    • 2 Answers
  • praveena

    org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade

    • 1 Answer
  • Newton Alarcao
    Newton Alarcao added an answer I have an additional question. In the problem I submitted… April 3, 2022 at 2:48 pm
  • Ganesh
    Ganesh added an answer How to apply created patch to new branch ? we… September 10, 2021 at 8:01 am
  • ehowtonow
    ehowtonow added an answer Delete the most recent commit without loosing your changes, use… September 10, 2021 at 6:52 am

Top Members

ehowtonow

ehowtonow

  • 1 Question
  • 53 Points
Teacher
Appu

Appu

  • 1 Question
  • 44 Points
Begginer
Newton Alarcao

Newton Alarcao

  • 1 Question
  • 21 Points
Begginer
MaheshKannan

MaheshKannan

  • 0 Questions
  • 20 Points
Begginer
Annamalai T

Annamalai T

  • 0 Questions
  • 20 Points
Begginer

Trending Tags

aadhar angular angularjs apache poi bufferedimage cmda core java database docker dtcp education encumbrance certificate excel parser excel parsing git government graphics2d gui hibernate how to draw thicker line to emphasize sudoku boxes jackson java java image java string jpa json k8s kubernetes material design maven medicine minikube orm pom xml ration card real estate regex regular expression trading vaccine version control xml xpath வில்லங்க சான்றிதழ்

Explore

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

Footer

eHowToNow Forum

eHowToNow.com forum is a social questions & Answers Engine which will help you establish your community and connect with other people.

About Us

  • Meet The Team
  • Blog
  • About Us
  • Contact Us

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2021 eHowToNow.com. All Rights Reserved