Follow

Useful regular expressions for use with the Search & Replace dialog

Here are some regular expressions that you can use with the Search and Replace dialog in Déjà Vu X3 to do useful things. For more information about how to use regular expressions in with the Search and Replace dialog read this article.

Useful regular expressions

Find what: "(.+?)" Replace with: “$1”
What it does: This will find words that are enclosed in straight double quotes (like ") and replace the straight quotes with opening and closing double quotes. These opening and closing double quotes are the same sort that Microsoft Word uses automatically when you type.
Find what: '(.+?)' Replace with: ‘$1’
What it does: This will find words that are enclosed in straight single quotes (like ') and replace the straight quotes with opening and closing single quotes. These opening and closing single quotes are the same sort that Microsoft Word uses automatically when you type.
Find what: "(.+?)" Replace with: „$1“
What it does: This will find words that are enclosed in straight single quotes (like ") and replace the straight quotes with opening and closing single quotes. These opening and closing quotes are the sort that are commonly used in German text.
Find what: '(.+?)' Replace with: ‚$1‘
What it does: This will find words that are enclosed in straight single quotes (like ') and replace the straight quotes with opening and closing single quotes. These opening and closing single quotes are the sort that are commonly used in German text.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk