This is not strictly speaking a Joomla question- but I bet someone out there will know the answer.
Why does a GREP search not find this: <div.+?</div>
I want to use GREP to strip out 15 or so instances of these tags and what's between them: <div class="result-description"> and </div> But GREP only gives me an annoying beep and wont find this. I can do it all by hand of course, but it's driving me crazy that this isn't working.
FYI: I'm using Textwrangler to clean the code out of some source code so I can use the copy in a newsletter, and I'm doing it this way to retain the a tags.
With Textwrangler using the PCRE flavor of regex, I tested this at
http://www.regextester.com/ and it seems to work. Both <div.+?</div>
and <div.+</div> matched <div class="result-description">bob</div> of <div
class="result-description">bob</div><span>.
Could this be an issue with Textwrangler versus being an issue with your
expression?
On Mon, Jul 2, 2012 at 9:59 AM, Mardulia <and...@andreapluhar.com> wrote:
> This is not strictly speaking a Joomla question- but I bet someone out
> there will know the answer.
> Why does a GREP search not find this: <div.+?</div>
> I want to use GREP to strip out 15 or so instances of these tags and
> what's between them: <div class="result-description"> and </div> But GREP
> only gives me an annoying beep and wont find this. I can do it all by hand
> of course, but it's driving me crazy that this isn't working.
> FYI: I'm using Textwrangler to clean the code out of some source code so
> I can use the copy in a newsletter, and I'm doing it this way to retain the
> a tags.
> Any advice?
> Thanks A.
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! User Group New England" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/joomlaug/-/bM-Xe-hSlYIJ.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to
> joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomlaug?hl=en.
> With Textwrangler using the PCRE flavor of regex, I tested this at http://www.regextester.com/ and it seems to work. Both <div.+?</div> and <div.+</div> matched <div class="result-description">bob</div> of <div class="result-description">bob</div><span>.
> Could this be an issue with Textwrangler versus being an issue with your expression?
> Best,
> Matt Thomas
> Founder betweenbrain™
> Lead Developer Construct Template Development Framework
> Phone: 203.632.9322
> Twitter: @betweenbrain
> Github: https://github.com/betweenbrain
> On Mon, Jul 2, 2012 at 9:59 AM, Mardulia <and...@andreapluhar.com> wrote:
> This is not strictly speaking a Joomla question- but I bet someone out there will know the answer.
> Why does a GREP search not find this: <div.+?</div>
> I want to use GREP to strip out 15 or so instances of these tags and what's between them: <div class="result-description"> and </div> But GREP only gives me an annoying beep and wont find this. I can do it all by hand of course, but it's driving me crazy that this isn't working.
> FYI: I'm using Textwrangler to clean the code out of some source code so I can use the copy in a newsletter, and I'm doing it this way to retain the a tags.
> Any advice?
> Thanks A.
> -- > You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/joomlaug/-/bM-Xe-hSlYIJ.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
> With Textwrangler using the PCRE flavor of regex, I tested this at
> http://www.regextester.com/ and it seems to work. Both <div.+?</div>
> and <div.+</div> matched <div class="result-description">bob</div> of <div
> class="result-description">bob</div><span>.
> Could this be an issue with Textwrangler versus being an issue with your
> expression?
> On Mon, Jul 2, 2012 at 9:59 AM, Mardulia <and...@andreapluhar.com> wrote:
>> This is not strictly speaking a Joomla question- but I bet someone out
>> there will know the answer.
>> Why does a GREP search not find this: <div.+?</div>
>> I want to use GREP to strip out 15 or so instances of these tags and
>> what's between them: <div class="result-description"> and </div> But GREP
>> only gives me an annoying beep and wont find this. I can do it all by hand
>> of course, but it's driving me crazy that this isn't working.
>> FYI: I'm using Textwrangler to clean the code out of some source code so
>> I can use the copy in a newsletter, and I'm doing it this way to retain the
>> a tags.
>> Any advice?
>> Thanks A.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Joomla! User Group New England" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/joomlaug/-/bM-Xe-hSlYIJ.
>> To post to this group, send email to joomlaug@googlegroups.com.
>> To unsubscribe from this group, send email to
>> joomlaug+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/joomlaug?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to
> joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomlaug?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to
> joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomlaug?hl=en.
> Matt Thomas
> Founder betweenbrain™
> Lead Developer Construct Template Development Framework
> Phone: 203.632.9322
> Twitter: @betweenbrain
> Github: https://github.com/betweenbrain
> On Mon, Jul 2, 2012 at 12:10 PM, Andrea Pluhar <and...@andreapluhar.com> wrote:
> Thanks for the link to this site! And I think you're right, it's TextWrangler. They have a support line- so I'll go bug them! ;-)
> Thanks again!
> Andrea Pluhar
> 160 Briar Lane
> Wellfleet MA 02667
> 508 944 3049
>> With Textwrangler using the PCRE flavor of regex, I tested this at http://www.regextester.com/ and it seems to work. Both <div.+?</div> and <div.+</div> matched <div class="result-description">bob</div> of <div class="result-description">bob</div><span>.
>> Could this be an issue with Textwrangler versus being an issue with your expression?
>> Best,
>> Matt Thomas
>> Founder betweenbrain™
>> Lead Developer Construct Template Development Framework
>> Phone: 203.632.9322
>> Twitter: @betweenbrain
>> Github: https://github.com/betweenbrain
>> On Mon, Jul 2, 2012 at 9:59 AM, Mardulia <and...@andreapluhar.com> wrote:
>> This is not strictly speaking a Joomla question- but I bet someone out there will know the answer.
>> Why does a GREP search not find this: <div.+?</div>
>> I want to use GREP to strip out 15 or so instances of these tags and what's between them: <div class="result-description"> and </div> But GREP only gives me an annoying beep and wont find this. I can do it all by hand of course, but it's driving me crazy that this isn't working.
>> FYI: I'm using Textwrangler to clean the code out of some source code so I can use the copy in a newsletter, and I'm doing it this way to retain the a tags.
>> Any advice?
>> Thanks A.
>> -- >> You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
>> To view this discussion on the web visit https://groups.google.com/d/msg/joomlaug/-/bM-Xe-hSlYIJ.
>> To post to this group, send email to joomlaug@googlegroups.com.
>> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
>> To post to this group, send email to joomlaug@googlegroups.com.
>> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
>> On Jul 2, 2012, at 11:05 AM, Matt Thomas wrote:
>> Hi Andrea,
>> With Textwrangler using the PCRE flavor of regex, I tested this at
>> http://www.regextester.com/ and it seems to work. Both <div.+?</div>
>> and <div.+</div> matched <div class="result-description">bob</div> of <div
>> class="result-description">bob</div><span>.
>> Could this be an issue with Textwrangler versus being an issue with your
>> expression?
>> On Mon, Jul 2, 2012 at 9:59 AM, Mardulia <and...@andreapluhar.com> wrote:
>>> This is not strictly speaking a Joomla question- but I bet someone out
>>> there will know the answer.
>>> Why does a GREP search not find this: <div.+?</div>
>>> I want to use GREP to strip out 15 or so instances of these tags and
>>> what's between them: <div class="result-description"> and </div> But GREP
>>> only gives me an annoying beep and wont find this. I can do it all by hand
>>> of course, but it's driving me crazy that this isn't working.
>>> FYI: I'm using Textwrangler to clean the code out of some source code so
>>> I can use the copy in a newsletter, and I'm doing it this way to retain the
>>> a tags.
>>> Any advice?
>>> Thanks A.
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Joomla! User Group New England" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/joomlaug/-/bM-Xe-hSlYIJ.
>>> To post to this group, send email to joomlaug@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> joomlaug+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/joomlaug?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Joomla! User Group New England" group.
>> To post to this group, send email to joomlaug@googlegroups.com.
>> To unsubscribe from this group, send email to
>> joomlaug+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/joomlaug?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Joomla! User Group New England" group.
>> To post to this group, send email to joomlaug@googlegroups.com.
>> To unsubscribe from this group, send email to
>> joomlaug+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/joomlaug?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to
> joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomlaug?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to
> joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomlaug?hl=en.
>> Matt Thomas
>> Founder betweenbrain™
>> Lead Developer Construct Template Development Framework
>> Phone: 203.632.9322
>> Twitter: @betweenbrain
>> Github: https://github.com/betweenbrain
>> On Mon, Jul 2, 2012 at 12:10 PM, Andrea Pluhar <and...@andreapluhar.com> wrote:
>> Thanks for the link to this site! And I think you're right, it's TextWrangler. They have a support line- so I'll go bug them! ;-)
>> Thanks again!
>> Andrea Pluhar
>> 160 Briar Lane
>> Wellfleet MA 02667
>> 508 944 3049
>> On Jul 2, 2012, at 11:05 AM, Matt Thomas wrote:
>>> Hi Andrea,
>>> With Textwrangler using the PCRE flavor of regex, I tested this at http://www.regextester.com/ and it seems to work. Both <div.+?</div> and <div.+</div> matched <div class="result-description">bob</div> of <div class="result-description">bob</div><span>.
>>> Could this be an issue with Textwrangler versus being an issue with your expression?
>>> Best,
>>> Matt Thomas
>>> Founder betweenbrain™
>>> Lead Developer Construct Template Development Framework
>>> Phone: 203.632.9322
>>> Twitter: @betweenbrain
>>> Github: https://github.com/betweenbrain
>>> On Mon, Jul 2, 2012 at 9:59 AM, Mardulia <and...@andreapluhar.com> wrote:
>>> This is not strictly speaking a Joomla question- but I bet someone out there will know the answer.
>>> Why does a GREP search not find this: <div.+?</div>
>>> I want to use GREP to strip out 15 or so instances of these tags and what's between them: <div class="result-description"> and </div> But GREP only gives me an annoying beep and wont find this. I can do it all by hand of course, but it's driving me crazy that this isn't working.
>>> FYI: I'm using Textwrangler to clean the code out of some source code so I can use the copy in a newsletter, and I'm doing it this way to retain the a tags.
>>> Any advice?
>>> Thanks A.
>>> -- >>> You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
>>> To view this discussion on the web visit https://groups.google.com/d/msg/joomlaug/-/bM-Xe-hSlYIJ.
>>> To post to this group, send email to joomlaug@googlegroups.com.
>>> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
>>> -- >>> You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
>>> To post to this group, send email to joomlaug@googlegroups.com.
>>> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
>> To post to this group, send email to joomlaug@googlegroups.com.
>> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
>> To post to this group, send email to joomlaug@googlegroups.com.
>> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomlaug?hl=en.
>>> On Jul 2, 2012, at 11:05 AM, Matt Thomas wrote:
>>> Hi Andrea,
>>> With Textwrangler using the PCRE flavor of regex, I tested this at
>>> http://www.regextester.com/ and it seems to work. Both <div.+?</div>
>>> and <div.+</div> matched <div class="result-description">bob</div> of <div
>>> class="result-description">bob</div><span>.
>>> Could this be an issue with Textwrangler versus being an issue with your
>>> expression?
>>> On Mon, Jul 2, 2012 at 9:59 AM, Mardulia <and...@andreapluhar.com>wrote:
>>>> This is not strictly speaking a Joomla question- but I bet someone out
>>>> there will know the answer.
>>>> Why does a GREP search not find this: <div.+?</div>
>>>> I want to use GREP to strip out 15 or so instances of these tags and
>>>> what's between them: <div class="result-description"> and </div> But GREP
>>>> only gives me an annoying beep and wont find this. I can do it all by hand
>>>> of course, but it's driving me crazy that this isn't working.
>>>> FYI: I'm using Textwrangler to clean the code out of some source code
>>>> so I can use the copy in a newsletter, and I'm doing it this way to retain
>>>> the a tags.
>>>> Any advice?
>>>> Thanks A.
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Joomla! User Group New England" group.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msg/joomlaug/-/bM-Xe-hSlYIJ.
>>>> To post to this group, send email to joomlaug@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> joomlaug+unsubscribe@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/joomlaug?hl=en.
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Joomla! User Group New England" group.
>>> To post to this group, send email to joomlaug@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> joomlaug+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/joomlaug?hl=en.
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Joomla! User Group New England" group.
>>> To post to this group, send email to joomlaug@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> joomlaug+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/joomlaug?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Joomla! User Group New England" group.
>> To post to this group, send email to joomlaug@googlegroups.com.
>> To unsubscribe from this group, send email to
>> joomlaug+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/joomlaug?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Joomla! User Group New England" group.
>> To post to this group, send email to joomlaug@googlegroups.com.
>> To unsubscribe from this group, send email to
>> joomlaug+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/joomlaug?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to
> joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomlaug?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! User Group New England" group.
> To post to this group, send email to joomlaug@googlegroups.com.
> To unsubscribe from this group, send email to
> joomlaug+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomlaug?hl=en.