Click here to Skip to main content
15,887,436 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello everyone,

I'd like to delimit entries from their content in a dictionary which is in MS Word format. To do that I need a regular expression or a macro that would insert a paragraph break only before a string of text in bold that is followed by square brackets (which contain phonetic transcription of the dictionary entries).

Thank you for the help.
Posted
Updated 15-Apr-13 7:33am
v4
Comments
Maciej Los 15-Apr-13 13:35pm    
What have you done till now?
Gleesic 15-Apr-13 15:47pm    
Thank you for trying to help Maciej, but I'm not knowledgeable in programming and it doesn't help much unfortunately. I have removed all paragraph breaks from the dictionary and now I need a regular expression or a macro that will put back paragraph breaks only before those phrases in bold that are immediatelly followed by a left square bracket. That would do a job for me, and would allow me to delimit the entries from their content.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900