Jump to content

Regular Expression help


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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...