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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.