Re: [WebDNA] filter out the exclaimation point

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113759
interpreted = N
texte = 1354 --Apple-Mail=_EFBAAEED-2EAB-4E6C-A7E6-232C48E13D33 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Grep has always been very badly documented due to the grep engine being = used, however, this may be a good start to a better understanding - = WARNING: Not all of this works. http://www.anybrowser.org/bbedit/grep.html = Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@idfk.com.au > On 1 Dec 2017, at 11:04, Steve @ Tailored Web Solutions = wrote: >=20 > Thanks for the help. >=20 > There is nothing in the documentation about using the \ as an escape = or a [url] tag. > How was I supposed to know? >=20 >=20 > I had: > [text]myVar=3DHello, Bob! You Rock![/text] > [grep search=3D!replace=3Dq&ignorecase=3DT][mayvar][/grep] > Result: Hello, Bob! You Rock! >=20 > Thanks again, > sfb >=20 >=20 >=20 >=20 > Stephen Braun > Tailored Web Solutions > steve@tailoredwebsolutions.net > www.tailoredwebsolutions.com > 315.343.1744 >=20 > On Thu, Nov 30, 2017 at 6:58 PM, Brian Fries > wrote: > Grep should work fine for this purpose: >=20 > [text]myVar=3DHello, Bob! You Rock![/text] > [grep search=3D[url]![/url]&replace=3D][myVar][/grep] >=20 > Results: > Hello, Bob You Rock >=20 >=20 > In what way is it not working for you? >=20 > - Brian >=20 >> On Nov 30, 2017, at 3:54 PM, Stuart Tremain > wrote: >>=20 >> You could use [CONVERTCHARS]Grep this out ![/CONVERTCHARS] you will = need to include ! in StandardConversions.db >>=20 >> Or [CONVERTCHARS db=3D^CustomConversions.db]Grep this out = ![/CONVERTCHARS] and then create CustomConversions.db >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> Kind regards >>=20 >> Stuart Tremain >> Pharoah Lane Software >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>> On 1 Dec 2017, at 10:40, Stephen Braun > wrote: >>>=20 >>> Hi all, >>>=20 >>> I need to filter out the exclamation point character out of a = variable. >>> I was using grep, but it dosen't work. >>>=20 >>> any suggestions? >>>=20 >>> Thanks a bunch, >>> sfb >>>=20 >>>=20 >>>=20 >>>=20 >>> Stephen F Braun >>> sbraun1@twcny.rr.com >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_EFBAAEED-2EAB-4E6C-A7E6-232C48E13D33 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Grep = has always been very badly documented due to the grep engine being used, = however, this may be a good start to a better understanding - WARNING: = Not all of this works.




Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 1 Dec 2017, at 11:04, Steve @ Tailored Web Solutions = <steve@tailoredwebsolutions.net> wrote:

Thanks for the help.

There is nothing in the documentation about using the \ as an = escape  or a [url] tag.
How was I supposed to = know?


 I had:
[text]myVar=3DHello, Bob! You = Rock![/text]
[grep = search=3D!replace=3Dq&ignorecase=3DT][mayvar][/grep]
Result: Hello,= Bob! You Rock!

Thanks = again,
sfb




Stephen = Braun
Tailored Web Solutions
steve@tailoredwebsolutions.net
www.tailoredwebsolutions.com
315.343.1744

On Thu, Nov 30, 2017 at 6:58 = PM, Brian Fries <iphonzie@gmail.com> wrote:
Grep should work fine for this = purpose:

[text]myVar=3DHello, Bob! You Rock![/text]
[grep search=3D[url]![/url]&replace=3D][myVar][/grep]

Results:
Hello, Bob You Rock


In what way is it not working for you?

- Brian

On Nov = 30, 2017, at 3:54 PM, Stuart Tremain <webdna@idfk.com.au> wrote:

You= could use [CONVERTCHARS]Grep this out ![/CONVERTCHARS] you will = need to include ! in StandardConversions.db

Or [CONVERTCHARS = db=3D^CustomConversions.db]Grep this out ![/CONVERTCHARS] and then = create CustomConversions.db








Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 1 Dec 2017, at 10:40, Stephen Braun <sbraun1@twcny.rr.com> wrote:

Hi all,

I need to filter out the exclamation = point character out of a variable.
I was using = grep, but it dosen't work.

any suggestions?

Thanks a bunch,
sfb




Stephen F Braun
sbraun1@twcny.rr.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_EFBAAEED-2EAB-4E6C-A7E6-232C48E13D33-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] filter out the exclaimation point (Brian Harrington 2017)
  2. Re: [WebDNA] filter out the exclaimation point ("Steve @ Tailored Web Solutions" 2017)
  3. Re: [WebDNA] filter out the exclaimation point (Brian Harrington 2017)
  4. Re: [WebDNA] filter out the exclaimation point (Kenneth Grome 2017)
  5. Re: [WebDNA] filter out the exclaimation point (Brian Harrington 2017)
  6. [WebDNA] filter out the exclaimation point (christophe.billiottet@webdna.us 2017)
  7. Re: [WebDNA] filter out the exclaimation point (Stuart Tremain 2017)
  8. Re: [WebDNA] filter out the exclaimation point (Brian Harrington 2017)
  9. Re: [WebDNA] filter out the exclaimation point (Brian Harrington 2017)
  10. Re: [WebDNA] filter out the exclaimation point (Stuart Tremain 2017)
  11. Re: [WebDNA] filter out the exclaimation point (Brian Harrington 2017)
  12. Re: [WebDNA] filter out the exclaimation point (Kenneth Grome 2017)
  13. Re: [WebDNA] filter out the exclaimation point (Brian Harrington 2017)
  14. Re: [WebDNA] filter out the exclaimation point (Brian Fries 2017)
  15. Re: [WebDNA] filter out the exclaimation point (Stuart Tremain 2017)
  16. Re: [WebDNA] filter out the exclaimation point ("Steve @ Tailored Web Solutions" 2017)
  17. Re: [WebDNA] filter out the exclaimation point (Brian Fries 2017)
  18. Re: [WebDNA] filter out the exclaimation point (Stuart Tremain 2017)
  19. Re: [WebDNA] filter out the exclaimation point (Stuart Tremain 2017)
  20. [WebDNA] filter out the exclaimation point (Stephen Braun 2017)
1354 --Apple-Mail=_EFBAAEED-2EAB-4E6C-A7E6-232C48E13D33 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Grep has always been very badly documented due to the grep engine being = used, however, this may be a good start to a better understanding - = WARNING: Not all of this works. http://www.anybrowser.org/bbedit/grep.html = Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@idfk.com.au > On 1 Dec 2017, at 11:04, Steve @ Tailored Web Solutions = wrote: >=20 > Thanks for the help. >=20 > There is nothing in the documentation about using the \ as an escape = or a [url] tag. > How was I supposed to know? >=20 >=20 > I had: > [text]myVar=3DHello, Bob! You Rock![/text] > [grep search=3D!replace=3Dq&ignorecase=3DT][mayvar][/grep] > Result: Hello, Bob! You Rock! >=20 > Thanks again, > sfb >=20 >=20 >=20 >=20 > Stephen Braun > Tailored Web Solutions > steve@tailoredwebsolutions.net > www.tailoredwebsolutions.com > 315.343.1744 >=20 > On Thu, Nov 30, 2017 at 6:58 PM, Brian Fries > wrote: > Grep should work fine for this purpose: >=20 > [text]myVar=3DHello, Bob! You Rock![/text] > [grep search=3D[url]![/url]&replace=3D][myVar][/grep] >=20 > Results: > Hello, Bob You Rock >=20 >=20 > In what way is it not working for you? >=20 > - Brian >=20 >> On Nov 30, 2017, at 3:54 PM, Stuart Tremain > wrote: >>=20 >> You could use [convertchars]Grep this out ![/CONVERTCHARS] you will = need to include ! in StandardConversions.db >>=20 >> Or [CONVERTCHARS db=3D^CustomConversions.db]Grep this out = ![/CONVERTCHARS] and then create CustomConversions.db >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> Kind regards >>=20 >> Stuart Tremain >> Pharoah Lane Software >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>> On 1 Dec 2017, at 10:40, Stephen Braun > wrote: >>>=20 >>> Hi all, >>>=20 >>> I need to filter out the exclamation point character out of a = variable. >>> I was using grep, but it dosen't work. >>>=20 >>> any suggestions? >>>=20 >>> Thanks a bunch, >>> sfb >>>=20 >>>=20 >>>=20 >>>=20 >>> Stephen F Braun >>> sbraun1@twcny.rr.com >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_EFBAAEED-2EAB-4E6C-A7E6-232C48E13D33 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Grep = has always been very badly documented due to the grep engine being used, = however, this may be a good start to a better understanding - WARNING: = Not all of this works.




Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 1 Dec 2017, at 11:04, Steve @ Tailored Web Solutions = <steve@tailoredwebsolutions.net> wrote:

Thanks for the help.

There is nothing in the documentation about using the \ as an = escape  or a [url] tag.
How was I supposed to = know?


 I had:
[text]myVar=3DHello, Bob! You = Rock![/text]
[grep = search=3D!replace=3Dq&ignorecase=3DT][mayvar][/grep]
Result: Hello,= Bob! You Rock!

Thanks = again,
sfb




Stephen = Braun
Tailored Web Solutions
steve@tailoredwebsolutions.net
www.tailoredwebsolutions.com
315.343.1744

On Thu, Nov 30, 2017 at 6:58 = PM, Brian Fries <iphonzie@gmail.com> wrote:
Grep should work fine for this = purpose:

[text]myVar=3DHello, Bob! You Rock![/text]
[grep search=3D[url]![/url]&replace=3D][myVar][/grep]

Results:
Hello, Bob You Rock


In what way is it not working for you?

- Brian

On Nov = 30, 2017, at 3:54 PM, Stuart Tremain <webdna@idfk.com.au> wrote:

You= could use [convertchars]Grep this out ![/CONVERTCHARS] you will = need to include ! in StandardConversions.db

Or [CONVERTCHARS = db=3D^CustomConversions.db]Grep this out ![/CONVERTCHARS] and then = create CustomConversions.db








Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 1 Dec 2017, at 10:40, Stephen Braun <sbraun1@twcny.rr.com> wrote:

Hi all,

I need to filter out the exclamation = point character out of a variable.
I was using = grep, but it dosen't work.

any suggestions?

Thanks a bunch,
sfb




Stephen F Braun
sbraun1@twcny.rr.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_EFBAAEED-2EAB-4E6C-A7E6-232C48E13D33-- . Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

PIXO (1997) Threaded Discussion (1998) [OT] Currency feed (2005) Updating Prices in Online Database (1999) OT fullfillment centers / service (2000) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) I got caught! (2003) AddLineitems - 100 Item Limit? (2002) webcat2b12 CGI -- Date comparisons (1997) Multiple Pulldowns (1997) Protect vs Authenicate (1997) truncating email part II (1997) Re:listfiles-looking for slick solution (1997) WebCat name recognition (was MacFinder -- a new WebDNAweb site) (1998) Protecting webdelivery (1997) Variable Prices (1998) shell problem (2003) selectively replacing records within a [founditems] (2000) Help! WebCat2 bug (1997)