Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 04-30-2017, 03:47 AM
raghugada raghugada is offline replace with text contains a group number which is out of range Error Message Windows XP replace with text contains a group number which is out of range Error Message Office 2007
Novice
replace with text contains a group number which is out of range Error Message
 
Join Date: Apr 2017
Posts: 21
raghugada is on a distinguished road
Default replace with text contains a group number which is out of range Error Message

Hi,

I am facing problems while using wildcards in search
in the replace with text i have a word which contains backslash


its throwing error saying
The replace with text contains a group number which is out of range
the replace with text is "ssfert\ysfs"
  #2  
Old 04-30-2017, 04:26 AM
macropod's Avatar
macropod macropod is offline replace with text contains a group number which is out of range Error Message Windows 7 64bit replace with text contains a group number which is out of range Error Message Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try:
"ssfert^92ysfs"
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
  #3  
Old 04-30-2017, 04:28 AM
gmayor's Avatar
gmayor gmayor is offline replace with text contains a group number which is out of range Error Message Windows 10 replace with text contains a group number which is out of range Error Message Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The problem is the backslash which has a particular role in a wildcard replace - use
ssfert^92ysfs instead.

P.S. It seems Paul and I posted the same reply as the same time.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
  #4  
Old 05-02-2017, 02:22 AM
raghugada raghugada is offline replace with text contains a group number which is out of range Error Message Windows XP replace with text contains a group number which is out of range Error Message Office 2007
Novice
replace with text contains a group number which is out of range Error Message
 
Join Date: Apr 2017
Posts: 21
raghugada is on a distinguished road
Default Is / equivalent to ^92 ?

Hi,

Is / equivalent to ^92 ?

Because in the replace i am i am replacing it with backslash
  #5  
Old 05-02-2017, 03:02 AM
macropod's Avatar
macropod macropod is offline replace with text contains a group number which is out of range Error Message Windows 7 64bit replace with text contains a group number which is out of range Error Message Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Did you try it?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
  #6  
Old 05-29-2017, 03:40 AM
raghugada raghugada is offline replace with text contains a group number which is out of range Error Message Windows XP replace with text contains a group number which is out of range Error Message Office 2007
Novice
replace with text contains a group number which is out of range Error Message
 
Join Date: Apr 2017
Posts: 21
raghugada is on a distinguished road
Default Replacing backslash with ^92 worked fine

This worked absolutely fine.

But have one more error on find pattern match

This is the word <Hw$N\>> with opening and ending word boundry its throwing error for >
  #7  
Old 05-30-2017, 02:09 PM
macropod's Avatar
macropod macropod is offline replace with text contains a group number which is out of range Error Message Windows 7 64bit replace with text contains a group number which is out of range Error Message Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by raghugada View Post
This worked absolutely fine.

But have one more error on find pattern match

This is the word <Hw$N\>> with opening and ending word boundry its throwing error for >
This is a duplicate of https://www.msofficeforums.com/word-...wildcards.html
Kindly don't post the same question in multiple threads.

Thread closed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Closed Thread



Similar Threads
Thread Thread Starter Forum Replies Last Post
replace with text contains a group number which is out of range Error Message Reserved error(-1517); there is no message for this error ktest Office 1 02-12-2016 08:08 PM
Group records - multiple IF stmts - Text After Group baum12 Mail Merge 1 05-25-2015 12:57 AM
replace with text contains a group number which is out of range Error Message Automation error Unknown error" message once they open the Excel file hlina Excel 1 10-08-2013 09:14 PM
replace with text contains a group number which is out of range Error Message Find and Replace using Excel range dmarie123 Word VBA 15 04-02-2013 07:54 AM
Find and Replace within range anil3b2 Word VBA 3 12-01-2010 02:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:31 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