I’m looking for elegant regular expression to clean brackets with content looks like file name.
[Nibh justo] elit Nulla [link.pdf] auctor ipsum molestie (link.pdf)
Condimentum euismod non [link.xls](link.xls) [link.doc](link.doc) tempus
In [Curabitur] et
The result should be:
Nibh justo elit Nulla auctor ipsum molestie Condimentum euismod
non tempus In Curabitur et
I trust there must be a short way do that.
(File means simply – dot included. No sentences check is necessary.)
thank for help
Something like this ?
Result is :