Java Regular Expressions

  • 13 years ago

    I have a quick question about Regular Expressions in Java,

    I am a good Javascript programmer so the RegExps themselves arent a problem, but I dont know how to set the checks for case sensitive or insensitive, with Javascript it is simply using .match(//)

    Ive been using RegExps with Java using the .matches("") function but I am unsure as to how to check for case, Im assuming there is another function I should be using insted but I dont know it, if anyone could help me out that would be appreciated

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“In theory, theory and practice are the same. In practice, they're not.”