What is regex used for?
Answer / Vikas
Regex (Regular Expressions) in Java are used for pattern matching and search-and-replace operations. They provide a way to describe a search pattern that can be complex and flexible, including wildcard characters and repetition patterns.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you set an applet’s height and width as a percentage?
What are the differences between checked exception and unchecked exception?
What is a class variable?
what is business objects?
What is the purpose of methodology?
Why ArrayList class is not a synchronized class and why it is not a thread safe class? explain
Explain the difference between runnable and callable interface in java?
why java does compile time polymorphism at run time ?
What is the purpose of a default constructor?
can we add two numbers without using arthematic operators? if possible how?
Diff between Comparator and Comparable?
import java.io.*; class Demo { public static void main(String args[]) { File f=new File("1234.msg"); String arr[]=f.list(); System.out.println(arr.length); } }