if I have a text
R 26 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 + the following data.
For example , I want the following pairs:
R 26 : bla bla bla bla
R 25 : bla bla
R 25/30 : bla bla bla
S 30/50/30 : bla bla
may be this image will be clearer :