I need to match everything but not the white spaces
For example in this string : 16790 - 140416 / 3300
I want to have the following result made by regex (and PHP) without white spaces: 140416/3300
I used : \s+\d+\s+-\s+(\d+\s+\/\s+\d+)
and of course it gave me the results with the whitespaces:
140416 / 3300
How could I have a match 1 result without white spaces ?
Thank you