I would like to make some special replacements and generalizations.
Can I use regexp with the utility Autocorrect ?
Have any similar option ?
Best Regards
Can I use Auto correct with Regex ?
-
- Posts: 2
- Joined: Fri Jul 25, 2014 4:19 pm
Can I use Auto correct with Regex ?
Open Office 3.1on Windows 7
Re: Can I use Auto correct with Regex ?
As far as I know you can't use reg exp in autocorrect options. You will have to write a macro to regularly carry out those replacements semi-automatically.
OpenOffice 4.1.11 on Ubuntu; LibreOffice 6.4 on Linux Mint, LibreOffice 7.6.2.1 on Ubuntu
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
-
- Posts: 2
- Joined: Fri Jul 25, 2014 4:19 pm
Re: Can I use Auto correct with Regex ?
Understood.
Not even an hybrid way or something partial ?
Best Regards
Not even an hybrid way or something partial ?
Best Regards
Open Office 3.1on Windows 7
Re: Can I use Auto correct with Regex ?
Sorry, only Edit > Find & Replace supports pattern matching.
Or you can make your own set of patterns to copy/paste into the Find & Replace slots, or you can try the AltSearch extension: it allows you to re-run substitutions stored in a configuration file.
Still not interactive, as-you-type, but maybe useful.
Or you can make your own set of patterns to copy/paste into the Find & Replace slots, or you can try the AltSearch extension: it allows you to re-run substitutions stored in a configuration file.
Still not interactive, as-you-type, but maybe useful.
AOO4/LO5 • Linux • Fedora 23
Re: Can I use Auto correct with Regex ?
Try AutoHotkey. It is very powerful - at its simplest, you define one text string (eg "address"), and when you type it, AutoHotkey replaces it with another (1 High Street, Anytown ...).
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Re: Can I use Auto correct with Regex ?
Since LO 4.2, you can use wildcards. Use: .* at the beginning or the end of patterns.Not even an hybrid way or something partial ?
https://bugs.freedesktop.org/show_bug.cgi?id=68373
https://bugs.freedesktop.org/show_bug.cgi?id=77603
LibreOffice 6.4 • Windows 10
Re: Can I use Auto correct with Regex ?
With LO 4.4, it will be possible to use double wildcards also, such as:
https://bugs.freedesktop.org/show_bug.cgi?id=81571
https://bugs.freedesktop.org/show_bug.cgi?id=55292
Code: Select all
.*to_replace.*
https://bugs.freedesktop.org/show_bug.cgi?id=55292
LibreOffice 6.4 • Windows 10