Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Organize Summary of String?

I'm new to java and would be delighted if somebody here can point me in the right direction in getting some information.

I am trying to create a Java program that would allow me to enter a string in a certain format (for instance a tweet with the @ and hashtags) and produce a summary of all the information i input and put them in categories (going back to the tweet example, things like name, tweet text, hashtag, etc)

as i've said before, i'm new at this so i do not even know the term of what i'm looking for and what to google. Anything that can help me will be greatly appreciated!

like image 510
user1719288 Avatar asked Dec 07 '25 01:12

user1719288


1 Answers

It seems you need to learn regular expression in Java Here is an official tutorial from Oracle:

http://docs.oracle.com/javase/tutorial/essential/regex/

This is also an interesting, easy to follow, article that teaches you the basics

http://www.vogella.com/articles/JavaRegularExpressions/article.html

like image 81
Rorchackh Avatar answered Dec 08 '25 14:12

Rorchackh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!