Regular expression | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Regular expression

Could someone indicate some material to learn regex in java?

21st Nov 2018, 3:26 PM
Diogo
Diogo - avatar
8 Answers
+ 16
Additionally to what Faisal said regex can be used in Java with the Pattern class. I found a nice cheat sheet: https://zeroturnaround.com/rebellabs/java-regular-expressions-cheat-sheet/
21st Nov 2018, 5:59 PM
Tashi N
Tashi N - avatar
+ 18
Diogo here is a nice code on regEx in JAVA with examples & explanation ☺👍 https://code.sololearn.com/c5LvSFmLQ6A9/?ref=app
22nd Nov 2018, 2:23 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 10
Sololearn has a community made course that goes through regex, which is applicable to all languages that support it. https://www.sololearn.com/learn/9704/?ref=app
21st Nov 2018, 3:42 PM
Faisal
Faisal - avatar
+ 8
The official documentation of the Pattern class at the Oracle site is extremely helpful for me. Check it out. https://docs.oracle.com/javase/10/docs/api/java/util/regex/Pattern.html
21st Nov 2018, 6:18 PM
bullion
+ 8
https://code.sololearn.com/WdwN79p1d3cF/?ref=app https://code.sololearn.com/WNjb2kGHeCeU/?ref=app
23rd Nov 2018, 2:52 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 6
Thank you all guys!
22nd Nov 2018, 2:33 PM
Diogo
Diogo - avatar
+ 6
This isn't exactly what you asked for but I believe anyone working with RegEx will find this site extremely useful. https://regex101.com
22nd Nov 2018, 4:57 PM
Ken Nichols
+ 4
I have never understand regex lessons until I used the website debuggex.com which make so clear how it works.
21st Nov 2018, 8:16 PM
Geoffrey L
Geoffrey L - avatar