View Single Post
Old 05-30-2015, 01:47 PM   #3
hidden.platypus
Connoisseur
hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.hidden.platypus can program the VCR without an owner's manual.
 
hidden.platypus's Avatar
 
Posts: 89
Karma: 190508
Join Date: May 2014
Device: Android
Thanks for responding.

I was just about to do a
Eureka! I got it kind of post but I really appreciate you responding.

Taught me some things I wasn't seeing properly for some reason.

Quote:
Originally Posted by DiapDealer View Post
Your slash is backwards in your replace expression.

Should be \1 and not /1
So in my frustration I wouldn't have noticed that. Thank you for that. I'll burn it into my memory which slash is proper.

Quote:
Originally Posted by DiapDealer View Post
You just forgot to capture the span contents...
Code:
<span class="calibre5">([^<>]+)</span>
I don't understand what that means. Where do I learn that?

Here's what I ended up doing:

Find:
Code:
<span class="calibre5">(?<mygroup>([^<>]+))</span>
Replace:
Code:
\g<mygroup>

Now I have to sit and think about:

Quote:
Originally Posted by DiapDealer View Post
**Note that your expression will ignore any nested span situations (or any situations with <i> or <b> or the like included in the span). In other words it won't match anything in:
Code:
<span class="calibre5">The law is <span>oops</span> inevitable.

Why would you do that to someone?
Why?

JK

Thank you much.

What's your tool btw? I'm going to click your profile and find out but I felt it would probably be polite to ask you first.
hidden.platypus is offline   Reply With Quote