How would I write a regex in Coldfusion that would search for any "." period characters that appear within brackets and then replace those periods with a space.
Yada yada yada (my data. yoho. ho) yaya yaya.
I want to turn this into:
Yada yada yada (my data yoho ho) yaya yaya.
The reason is that I want to parse a paragraph into its individual sentences and I'm using the period at the end of each sentence as a delimiter.
But some paragraphs have content in brackets and some of that content contains abbreviations followed by a period which have nothing to do with the end of the sentence.
Or maybe there is a smarter way to do this.
Hope you can help