Jump to content

Regular Expression help


chanveil
 Share

Recommended Posts

HiI have a regular expression "regex" and I have a text , now I want to know if some parts of this text matches the "regex" i have , and what is the result.for example:if I have a text " bla bla bla bla R 25 bla bla R 25/30 bla bla bla S 30/50/30 bla bla "and I have a regex "[RS] (\\d+|\\d+/\\d+|\\d+/\\d+/\d+)" which will match the bold data ...now , I want a code that returns for me the bold expressions.any help please?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...