I have some strings as follows:
99-01[10-10-2010]
59-06[11-12-2016]
So long so good.
What I need, is via PHP and regular expression, replace any character before that first hiffen (-), for some text, only the first. Staying for example...
asked by
06.05.2016 / 00:04