+ 5

what is regex and where i can learn

what is regex and where i can learn it for java

28th Oct 2017, 5:31 PM
Ashish Kumar
Ashish Kumar - avatar
6 Answers
+ 22
regexr.com
29th Oct 2017, 5:58 PM
Igor Makarsky
Igor Makarsky - avatar
+ 18
Definition: https://en.m.wikipedia.org/wiki/Regular_expression I'm sure you can find tutorials on the internet very easy. To use regex in Java you can use the Pattern class, see https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html
28th Oct 2017, 5:42 PM
Tashi N
Tashi N - avatar
+ 17
A regular expression, regex or regexp (sometimes called a rational expression) is, in theoretical computer science and formal language theory, a sequence of characters that define a search pattern. Usually this pattern is then used by string searching algorithms for "find" or "find and replace" operations on strings. http://www.vogella.com/tutorials/JavaRegularExpressions/article.html
28th Oct 2017, 5:40 PM
Dev
Dev - avatar
+ 12
You can also practice and check your regex patterns here: www.regex101.com At least for Python, JavaScript, PHP and GoLang.
28th Oct 2017, 6:17 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 3
thanku friends
28th Oct 2017, 5:47 PM
Ashish Kumar
Ashish Kumar - avatar
+ 3
Also the Python tutorial of Solo Learn has a very good section about Regular Expressions (beginner level but clear and useful!)
30th Oct 2017, 1:36 PM
b_y
b_y - avatar