Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2017, 06:48 AM
qubie qubie is offline Wildcards - Sequence of Numbers at the Beginning of Each Paragraph Windows 7 64bit Wildcards - Sequence of Numbers at the Beginning of Each Paragraph Office 2007
Novice
Wildcards - Sequence of Numbers at the Beginning of Each Paragraph
 
Join Date: Aug 2016
Posts: 24
qubie is on a distinguished road
Default Wildcards - Sequence of Numbers at the Beginning of Each Paragraph

Greetings,

I am trying to isolate a repetitive sequence of numbers that appears at the beginning of each paragraph in numerous records.

Similar sequences appear within the text of each paragraph, but I have no interest in those.

This --

[0-9]{1,}-[0-9]{1,}-[0-9]{1,}.

-- identifies the sequence at the beginning of each paragraph, but the pattern sometimes appears within the text as well (i.e., the operative sequence, followed by an immediate period).



I have tried --

^13[0-9]{1,}-[0-9]{1,}-[0-9]{1,}.

-- but Word does not "like" this pattern. One would think that it should return results, but it does not.

What if anything can be used in place of "^13" to limit this wildcard search so it only hits upon the number sequence at the beginning of a text paragraph?

Thanks for your kind attention.

q.
Reply With Quote
  #2  
Old 11-30-2017, 02:03 PM
macropod's Avatar
macropod macropod is offline Wildcards - Sequence of Numbers at the Beginning of Each Paragraph Windows 7 64bit Wildcards - Sequence of Numbers at the Beginning of Each Paragraph Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

A Find action cannot identify automatic paragraph numbering in a document. Your '^13[0-9]{1,}-[0-9]{1,}-[0-9]{1,}' wildcard expression will otherwise find paragraphs beginning with numbers like 1-2-3.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wildcards - Sequence of Numbers at the Beginning of Each Paragraph word macro To insert text at the beginning and at end of paragraph ArieH Word VBA 20 09-10-2017 04:23 PM
Need Help Deleting Numbers in Hour Format and Numbers in Sequence rsrasc Word VBA 1 10-12-2016 02:49 PM
Wildcards - Sequence of Numbers at the Beginning of Each Paragraph Macro to Insert text into the beginning on specific paragraphs unless the paragraph is blank caboy Word VBA 2 04-01-2015 07:00 AM
Wildcards - Sequence of Numbers at the Beginning of Each Paragraph Sorting paragraph numbers CommDude Excel 1 01-02-2011 04:38 PM
Looping macros to add text to beginning and end of a paragraph pachmarhi Word VBA 0 02-16-2009 06:57 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:02 PM.


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