View Single Post
 
Old 06-29-2019, 06:33 PM
arunchandar9 arunchandar9 is offline Windows 7 32bit Office 2013
Banned
 
Join Date: Jun 2019
Posts: 8
arunchandar9 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Not only are your 'PL_' and trailing strings like '3617A026' separated by a paragraph break but there's also a string of spaces (i.e. ' ') before the paragraph break. To fix that, do an ordinary Find/Replace, with:
Find = ^w^p
Replace = ^p
before the wildcard Find/Replace.
Good Morning,

I hac mentioned below code to find it and still able to see paragraph break in it (actually it has reduced mentioned spaces) Do I need to mention again please?
Enclosed file after running this code for your reference

.Text = "^w^p"
.Replacement.Text = "^p"
.Text = "([0-9]{1,})[!^13]@| ([A-Z]{2}_[A-Z0-9^13]{8,9}>)*^13"
Attached Files
File Type: docx Word Macro.docx (17.1 KB, 10 views)
Reply With Quote