Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2021, 12:38 PM
ranjan ranjan is offline Dot seperator Windows 10 Dot seperator Office 2019
Advanced Beginner
Dot seperator
 
Join Date: May 2021
Posts: 77
ranjan is on a distinguished road
Default Dot seperator

Hi,

I need to Seperate a text from number by single or double space.

It should be seperate only when number having a immediate text with a . (Dot only) between the number and text.

It should not seperate on a numbers only (EX: 1.362.31)

Example:

Input : 1.aasdfasdfa


Output : 1.aasdfasdfa (Space is there after 1. )

Input: 1.3671.351
Output: Input: 1.3671.351 (No changes)

Input: 2.sdfasdfssd
Output: 2.sdfasdfssd (Space is there after 2. )

Is this automated by a macro or using wildcard find and replace.

Your help is highly appreciated....
Attached Files
File Type: docx test.docx (58.3 KB, 7 views)
Reply With Quote
  #2  
Old 07-19-2021, 03:42 PM
Guessed's Avatar
Guessed Guessed is offline Dot seperator Windows 10 Dot seperator Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,975
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Find and Replace
Find: .([a-z])
Replace with: . \1
Wildcards On

Note there is a space after the period in the replace with value.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 08-25-2021, 01:43 PM
ranjan ranjan is offline Dot seperator Windows 10 Dot seperator Office 2019
Advanced Beginner
Dot seperator
 
Join Date: May 2021
Posts: 77
ranjan is on a distinguished road
Default

Hi,

It works well only with english (a-z), (A-Z) am working with different languages, is there any other source to get a double space after . otherthan to the numbers.

Condition is: . after other than numbers will get 2 spaces irrespective of language.

. after numbers (0-9) shouldnt be changed only changed other than numbers

EX:

Input:

1.Środki pieniężne i ich ekwiwalenty
2.持高侍伴资产
3.一年内到期的年流动资产
4.Вземания от свързани предприятия
5.Вземания от клиенти и доставчици

4.336.959.210.50

Output:

1. Środki pieniężne i ich ekwiwalenty
2. 持高侍伴资产
3. 一年内到期的年流动资产
4. Вземания от свързани предприятия
5. Вземания от клиенти и доставчици

4.336.959.210.50

Your Help is Highly appreciated and thanks in advance, please do the needful...
Reply With Quote
  #4  
Old 08-25-2021, 05:01 PM
Guessed's Avatar
Guessed Guessed is offline Dot seperator Windows 10 Dot seperator Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,975
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

OK then try
Find: .([!0-9 ])
Replace with: . \1
wildcards on
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dot seperator Row seperator control character in Text To Table AndreQ Word Tables 2 04-12-2019 07:23 AM
Dot seperator Style Seperator Issues LJamison Word 3 08-22-2012 05:38 AM
Dot seperator Space above footnote seperator... (pictures) TTHJames Word 1 02-17-2010 07:59 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft