how to write a program in java for regular expression as
• [0 − 9]*(a|b)+[x − z]?b
• a+(a|b)*c(c?b|ca+)*
please help me in coding ,i will waiting
thanks
Tutorial here: http://java.sun.com/docs/books/tutorial/essential/regex/index.html
Pattern usage info here: http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.