![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 210
Karma: 4282
Join Date: Oct 2008
Location: Florida
Device: Sony 505, Kindle 3, iPad 3
|
help with regex expression
I need help with regex expression, please. I need an expression to find a paragraph break followed by a lower case letter (range a-z) that will work on Word 2007.
I have tried every variation of ^P[a-z] that I can think of. Thanks in advance. |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 210
Karma: 4282
Join Date: Oct 2008
Location: Florida
Device: Sony 505, Kindle 3, iPad 3
|
Bump... I know some of you guys (and gals) are pros at this...
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 19
Karma: 62
Join Date: Feb 2010
Device: PRS-505, PRS-600
|
In the Word 2007 search dialog, click on "More >>", and turn on the "Use Wildcards" option. For your search pattern, use "^13[a-z]" (no quotes, naturally). That should find the lines you're looking for. The ^13 is control code for carriage-return.
|
![]() |
![]() |
![]() |
#4 |
Austrian Bookworm
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 141
Karma: 2138662
Join Date: Oct 2007
Location: Austria
Device: Pocketbook Inkpad 4
|
and if you want to replace it just wrap the searchterm into brackets, like:
^13([a-z]) then you can put \1 into the replace-field to get rid of the carriage return. |
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 210
Karma: 4282
Join Date: Oct 2008
Location: Florida
Device: Sony 505, Kindle 3, iPad 3
|
Thanks very much to both of you.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regular Expression Help | Azhad | Calibre | 86 | 09-27-2011 02:37 PM |
Regular Expression Help | smartmart | Calibre | 5 | 10-17-2010 05:19 AM |
Need Help Creating a Regular Expression | Worm | Calibre | 9 | 08-18-2010 01:20 PM |
Help with the regular expression | Dysonco | Calibre | 9 | 03-22-2010 10:45 PM |
Need help with regex expression | daesdaemar | Workshop | 18 | 02-07-2009 03:48 PM |