In a word document, I'd like to find all semicolons that are surrounded by numbers. so I need the Find/Replace DialogBox to find and select ; in 123;4 and 1;234 (but not example;example or not example; example) .
Please note that in the example above, I just need the semicolon selected for formatting.
I know the basics of RegEx but WORD's so called Wildcards are different. All I could do so far was to find the whole string (eg 123;4) using ([0-9]{1,};[0-9]{1,}) but like I said I only need ; so that I change it's font size, color etc.
Please help. I don't like to spend the whole day on a stupid document.
Find all semicolons surrounded by numbers in MS Office WORD
183 Views Asked by M_M At
1
There are 1 best solutions below
Related Questions in REGEX
- Python and regex, can't understand why some words are left out of the match
- Special access rule in an .htaccess file for IP addresses, authorized only for one directory structure
- regex working not as expected javascript, displays wrong values
- Clarity on how can `.*` match all strings?
- IIS Rewrite Module exclude bots but allow GoogleBot
- Regex skipping delimiter is there is / before it
- How to ignore case in regexp mapping in a .htaccess rewrite rule?
- Select all lines after last occurrence of a certain character
- Segregate class names using regular expresions
- Regex to match binary literal number in re2c format
- why the perl regular expression is not identifying the value
- Trying to run subprocess commands with carriage returns and newlinees
- `Backward slash + b` does not work as expected on regex
- Extract 15 words before and 8 words after each 9digit number from a text file using regular expressions in python
- How to migrate this regex to JavaScript
Related Questions in WINDOWS
- how to play a sounds in c# forms?
- Echo behaviour of Microsoft Windows Telnet Client
- Getting error while running spark-shell on my system; pyspark is running fine
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Cannot load modules/mod_dav_svn.so into server
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
- 32-bit applications do not display some files in Windows 10
- 'bun' is not recognized as an internal or external command
- mkssecreenshotmgr taking a screenshot
- Next js installation in windows 7 os
- Can't resize a partition using Mini Tool?
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Electron Printing not working on Windows (Works on Mac)
Related Questions in WORD-2016
- Why does Microsoft Word 2016 (16.0.5426.1000)MSO (16.0.5422.100) 32-bit hang when executing these 2 macros?
- VBA Word - Word Crashes after deleting the last CommandButton and reopening the same document afterwards
- Question about text duplication when using combine documents in MS Word
- VBA Word: Making a range from cells in a table "Named Argument Not Found"
- VBA Word: Create a dropdown ContentControl within a specific cell of a table and populate the dropdown
- Unable to identify HTML tag unordered list paragraph and replace with custom style bullets
- How to use VBA inlineshape to disable overlay of pictures
- Copy & Paste issue in PowerPoint and Word
- Setting Metadata in Word and Retrieving in Excel
- Word Javascript API insert table throws InvalidArgument exception
- MS Office 2016 Build a ribbon using office-js
- Ensure Office-js addin available in ribbon, sharepoint Word 2016
- VBA Sub optional parameters with default values
- Inner Content control properties disappeared in word 2016
- How to fix Figure Caption automatic Numbers when placing Section Breaks?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can work around Microsoft Word's limitations by inserting a custom sequence of characters to mark the instances of
;that you want to format, and then deleting the custom sequence of characters. In this example I will use the character sequencezzzzzas this likely doesn't appear anywhere else in your document.The Process
First do a find-and-replace:
Find what:
([0-9]{1,});([0-9]{1,})Replace with:
\1zzzzz;\2Now you can select all instances of
zzzzz;and apply the desired format.Lastly, do another find-and-replace:
Find what:
zzzzzReplace with: nothing