Regex Help

2002-10-22 Thread Chris Alvarado
Hello all, A bit unfamiliar with anything somewhat tricky using regular expressions. So any help with this would be very much appreciated. I have a set of text that I would like to replace with another set. I have a string of text example: ---Test--- Abc 123 Easy ---Test--- I need to not onl

regex help

2002-09-20 Thread Brook
How do you write a regular expression which checks a string for any characters/words other than a specified few and returns true if there are ANY other characters in the string. Brook __ Structure your ColdFusion code with Fu

RegEx Help!

2003-03-14 Thread Oliver Cookson
That works great but it also removes other links which start with some text. I need it to remove links that start with ]*>", "", "ALL") Cheers ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

regex help

2000-09-13 Thread Dan Haley
My copy of Mastering Regular Expressions is on its way, but for now can anyone help with the following? Given a string such as "sometext[othertext[finaltext] - maybemoretext[]]", I want to return both "sometext", and the contents of the outer "[ ]". Any suggestions on how to do nested regexes li

Regex Help

2003-06-05 Thread Michael Tangorre
Good Morning. A day or so ao I got some help with a regular expression and when I wrote a sample input string to match against it worked fine, howvever I failed to realize I have to HTMLCodeFormat the results from the http post in order to get a string to use. The Regex does not seem to work wi

regex help

2003-06-16 Thread Michael T. Tangorre
I am trying to determine if an integer begins with 332. The number varies in length from 4 to 9 digits in length. If 332 begins the number I would like to return the number minus the 332. I am still trying to learn regex so an explanation with any ideas would be very helpful. Here is what I am

RegEx Help

2002-07-10 Thread Dave Carabetta
I was wondering if I could get some help with some server-side numeric validation I'm doing. I've read Michael's RegEx tutorial at housoffusion.com but can't seem to get my tests working. I was trying to build RegEx's base on the following rules: 1. All numeric, whole numbers 2. All numeric, p

RegEx help...

2002-05-03 Thread Bryan Love
Does anyone know a regular expression that can be used in a rereplace(...) to remove HTML comments from a string? I can't find one that takes into account nested comments... +---+ Bryan Love Macromedia Certified Professional Internet Application D

regex help

2003-12-11 Thread Deanna Schneider
Hi All, I'm trying to write a regex that does the following: Looks for any instance of the string \par followed by anything but a space and replace it with \par and a space and the character that followed it. So, if I have \parThe I want \par The Here's what I'm trying, and it doesn't work: re

Regex Help

2004-01-05 Thread Ryan Edgar
I've written a simple Regex to remove all the whitespace from my templates: The problem I'm having is if there is _javascript_ on a page and there are inline comments, the _javascript_ won't work. alert('Hello'); // 1st line comment alert('Is anyone there?'); // 2nd line comment becomes: al

Regex Help

2004-01-20 Thread Trevor Holm-Laursen
Hey All, I'm Looking for  Regex to validate that an email has an @ symbol and that there is no invalid character's Thanks, Trevor Holm-Laursen eBusiness Developer, FCS Direct:  (902)463-5953 FCS (Fundy Computer Services Ltd.) Tel 877-993-8636 Fax 902-484-5887 Email:  [EMAIL PROTECTED] Web

Regex Help?

2004-01-28 Thread Shawn Grover
I have routine that reads in an RTF file, and then needs to find bookmarks and insert a value for the bookmark.  I'm usings CF's "replace" function, and it works, but takes way too long in some cases.  So I thought that if I use regular expressions (with the REReplace function), I might speed thing

REGEX help

2002-06-03 Thread Ian Lurie
Someday I'll figure this out: I need to replace all characters from to the beginning of the string, inclusive. How do I do it? I tried: ","")> But got nowhere... Ian Portent Interactive Helping clients build customer relationships on the web since 1995 Consulting, design, development, measu

REgex help

2002-07-05 Thread Douglas Brown
How would I write a expression to replace $2,345.00 with 2345 Thanks Douglas Brown Email: [EMAIL PROTECTED] __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FA

RegEx Help

2001-12-13 Thread Bernd VanSkiver
Got a Regular Expression problem that I can't figure out how to solve. Below are two possible strings that could be send to my replace function. The order of the atributes could be in any order and the domain name and file name will also be different in each case. http://www.domain.com/aboutuson

RegEx help

2002-01-11 Thread Bernd VanSkiver
I am trying to do a search in ColdFusion Studio 5.0 to find all the pages in a project that don't contain a specific string, does anyone know of a way I can do this with regular expressions? Bernd VanSkiver [EMAIL PROTECTED] ColdFusion Developer ___

Regex Help

2002-01-18 Thread Troy Simpson
I want to find all items in a list that begin with an "I" and followed by digits only. Is there a global options in REFindNoCase function so that I can run it once and then loop throught the pos and len arrays? #ArrayLen( x.pos )# -- This should return 4, right? Why Not? Thanks, Troy -- Tro

Regex help

2004-03-22 Thread Ray Bujarski
I am parsing a document that is a simple unix text document.  I want to grab one line at a time so I use refind("^.*$", text, 1, true).  However this doesn't grab a single line at a time, it grabs the entire blob of text?!  Am I doing something wrong?   Thanks, Ray [Todays Threads] [This Messa

Regex help

2004-04-02 Thread Burns, John D
I've dabbled in regex, but am not very good at it yet :-)  Anyone willing to help with this would be extremely helpful. I have a string (actually coming from cgi.http_referer) and I append a variable to the end to pass the status of an operation back to the original page.  I do this for errors a

Regex help

2004-07-02 Thread Michael T. Tangorre
Does anyone have a regex handy to check a potential link. For instance: I need to make sure the link specified is in the following format http://www.whatever OR http://something Im not sure what the best check would be, I guess this is the least common denominator for strictly http links. Someon

Regex help

2003-09-11 Thread Teel, C. Doug
Regex help please. I've been busting my brain on this one. Here's what I'm trying to do, I could have string like: "...a cat hat prate at bird..." And I want to match all the "at" strings except the "at" string in the "cat". I tried a bu

Regex help

2003-11-04 Thread Ewok
hola listo! I need some regex help : ) i need to find all cf tags in some text and replace it with something else so anything that starts with "" and anything that starts with "" this should be an easy one and im sure it is... but I left my brain on vacation i THOUGHT it

RegEx help

2004-10-21 Thread Burns, John D
I'm trying to parse through some information in a text document where there is information like this: Text text text text text text text FirstName: Bob Age: 30 text text text text text text text text LastName: Brown text text text text text but this information is also within a bunch of other t

RegEx help

2005-02-20 Thread Cedric Villat
I'm trying to create a regex that does the following, with little luck so far. I want to remove all periods ( . ) that do not appear between 2 numbers. For instance, I would want to keep this period: 5.5 But not these: www.domain.com I want the periods to be replaces with a space in the seco

Regex help

2005-04-12 Thread Jim McAtee
(CF5 on IIS, Win2k Server) I have a CF template set up as the IIS 404 error handler on a web site. When IIS detects a 404 error it calls the CF page and passes the original request within the CGI variable cgi.query_string in the following form: 404;http://www.mydomain.com/missingpage.htm or if

RegEx - help

2005-04-14 Thread Robertson-Ravo, Neil (RX)
Anyone got a RegEx to strip out certain HTML tags (and content between them). I have a working StripHTML UDF now but I require one which can say remove this in its entirety: pong Any RegEx gurus out there switched on today? TIA This e-mail is from Reed Exhibitions (Oriel H

Regex Help.

2005-01-10 Thread DURETTE, STEVEN J \(AIT\)
Hi All, Need some help with a regex. What I'm trying to do is validate and input in javascript. The users are allowed to input a number. It can be in the following formats: 9 9.9 9.99 .99 .9 (9 used inplace of any digit.) I tried using \b[0-9.]+ and I've tried \b[\d]*([.]?[\d]{0,2})? an

regex help

2005-01-15 Thread Ewok
This is a tough one... It's an old bbml parser I wrote a while back and im trying to modify it a little. I want to search through the string and replace all instances of [b] with UNLESS it falls between [pre] and [/pre] I just can't seem to get it right. Replace [b] with except when it starts

regex help

2003-07-30 Thread Michael T. Tangorre
Can someone assist me in writing a regex to return a string that has only spaces, numbers and letters reminaing? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/

Regex help

2003-08-15 Thread Thanh Nguyen
Can someone assist me in writing a regex to remove all common words such as inc., corp., llc., ltd. from a company name field. Thanks Thanh Nguyen ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://

Regex help

2003-08-16 Thread Mike Mertsock
Try this out: Assuming for example that your company name field is form.company_name: The regular expression uses this type of syntax: (word1|word2|word3|word4). This says to replace anything that matches word1 OR word2 OR word3 OR word4. In this case, of course, we are replacing the matche

RegEx help>

2003-08-19 Thread Bosky, Dave
I was looking for a RegEx to strip all non-alphanumeric characters. Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agen

RE: Regex Help

2002-10-22 Thread Ben Doom
Perhaps something like this: newstring = "Join the CF-RegEx list for Happy Fun RegEx Help in a Bottle."; content = rereplace(content, '---Test---.*---Test---', newstring); This assumes that the test string appears only once in the text. If it appears multiple times

Re: Regex Help

2002-10-22 Thread Gyrus
- Original Message - From: "Chris Alvarado" <[EMAIL PROTECTED]> > ---Test--- > > Abc 123 Easy > > ---Test--- > > I need to not only replace the "Abc 123 Easy" text, but also replace > both the beginning "---Test---" and the ending "---Test--" but nothing > prior to the beginning and nothing

Re: regex help

2002-09-20 Thread Alex
m/[^(this|that|\s)]/ig Anything other than --> this that spaces On Fri, 20 Sep 2002, Brook wrote: > How do you write a regular expression which checks a string for any > characters/words other than a specified few and returns true if there are > ANY other characters in the string. > > Brook >

Re: regex help

2002-09-20 Thread Brook
Interesting. RegEx is an art I really need to learn more thouroughly. Thank :) At 01:47 PM 20/09/02 -0400, you wrote: >m/[^(this|that|\s)]/ig > >Anything other than --> this that spaces > > >On Fri, 20 Sep 2002, Brook wrote: > > > How do you write a regular expression which checks a string for a

Re: regex help

2002-09-20 Thread S . Isaac Dealey
That's PERL right? ... CF is going to be slightly different... I think is equivalent... If not... Brook: you might find the [EMAIL PROTECTED] list helpful incidentally... > m/[^(this|that|\s)]/ig > Anything other than --> this that spaces > On Fri, 20 Sep 2002, Brook wrote: >> How do y

RE: regex help

2002-09-20 Thread Ben Doom
- : From: Brook [mailto:[EMAIL PROTECTED]] : Sent: Friday, September 20, 2002 1:39 PM : To: CF-Talk : Subject: regex help : : : How do you write a regular expression which checks a string for any : characters/words other than a specified few and returns true if there are : ANY other chara

RE: regex help

2002-09-20 Thread Ben Doom
orms a class. What're inside are treated as individual characters, not words/groups/etc. --Ben Doom Programmer & General Lackey Moonbow Software : -Original Message- : From: Alex [mailto:[EMAIL PROTECTED]] : Sent: Friday, September 20, 2002 1:47 PM : To: CF-Talk : S

RE: regex help

2002-09-20 Thread S . Isaac Dealey
grouping structure forms a class. What're inside are > treated as individual characters, not words/groups/etc. > --Ben Doom > Programmer & General Lackey > Moonbow Software > : -Original Message- > : From: Alex [mailto:[EMAIL PROTECTED]] > :

RE: regex help

2002-09-20 Thread Alex
de are > > treated as individual characters, not words/groups/etc. > > > > --Ben Doom > > Programmer & General Lackey > > Moonbow Software > > > : -Original Message- > > : From: Alex [mailto:[EMAIL PROTECTED]] > > : Sent: Fr

RE: regex help

2002-09-20 Thread Ben Doom
: I thought there was something squirrelly about that expression... I'm : probably still learning regex myself... It's one of those things : that really : seems to take a while to grok. I've been doing regex for about 4 years now and I /still/ see new tricks and stuff. Kinda like the game Othell

Re: regex help

2002-09-20 Thread Dick Applebaum
On Friday, September 20, 2002, at 07:12 PM, Ben Doom wrote: > Personally, I like them. I've never been one to worry too much about > efficiency when something gets the job done well. Regex is powerful > as all > hell and both subtle and easy to use. > > There are those who claim that an effic

RE: regex help

2002-09-22 Thread Brook
hing like: > > > >Where you would replace the word illegal with the chars you want to >disallow. > >HTH. > > --Ben Doom > Programmer & General Lackey > Moonbow Software > >: -----Original Message- >: From: Brook [mailto:[EMAIL PROTECTED]]

Regex help, again

2002-09-22 Thread Ian Lurie
I'm trying to pull all (any text here). I've got: but can't seem to get the wildcard to work so that I can grab the entire element. Any ideas? Ian __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ:

RE: regex help

2002-09-23 Thread Ben Doom
: : This looks kinda funny to me. You are allowing "filterfilter9" but not "filter19" -- is this what you meant? Assuming the legal words are 'and or not filterx" where x is a number, I think you want to use: Bad string good string In any case, when I changed the if/endif with the to an

SOT: RegEx Help!

2003-03-14 Thread Oliver Cookson
Any ninja's out there? ;) Im having trouble with a regular expression i wonder if anyone could help? Im looking for this string (see bottom) and want to remove EVERYTHING except the word "a string here". This string could be any length or any combo of chars\integers. Also the JS arg (14) is d

RE: RegEx Help!

2003-03-14 Thread Andre Mohamed
Oliver, Try something like this: ]*>", "", "ALL")> Thanks, André -Original Message- From: Oliver Cookson [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 11:13 To: CF-Talk Subject: SOT: RegEx Help! Any ninja's out there? ;) Im having trouble w

RE: RegEx Help!

2003-03-14 Thread Hugo Ahlenius
If you need urgent help on javascript, I would recommend the #javascript IRC group on efnet, I have had some very good responses there, and people don't seem to mind that you just drop in and ask a question. Hugo ~| Archives:

RE: RegEx Help!

2003-03-14 Thread Ben Doom
eral Lackey Moonbow Software, Inc : -Original Message- : From: Oliver Cookson [mailto:[EMAIL PROTECTED] : Sent: Friday, March 14, 2003 10:47 AM : To: CF-Talk : Subject: RegEx Help! : : : That works great but it also removes other links which start with : some text. : : I need it to re

RE: regex help

2000-09-13 Thread Steve Bernard
say more on that, mainly 'cause it's easier for me to visualize. Steve -Original Message- From: Dan Haley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 4:13 PM To: '[EMAIL PROTECTED]' Subject: regex help My copy of Mastering Regular Expressions is on

RE: Regex Help

2003-06-05 Thread Adrian Lynch
o: CF-Talk Subject: Regex Help Good Morning. A day or so ao I got some help with a regular expression and when I wrote a sample input string to match against it worked fine, howvever I failed to realize I have to HTMLCodeFormat the results from the http post in order to get a string to use. The

Re: Regex Help

2003-06-05 Thread Matthew Walker
--(.*)---%>.*$","\1") Regards, Matthew Walker Electric Sheep Web http://www.electricsheep.co.nz/ - Original Message - From: "Michael Tangorre" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, June 06, 2003 12:02 AM Subject: R

Re: Regex Help

2003-06-05 Thread Michael Tangorre
]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, June 05, 2003 8:11 AM Subject: RE: Regex Help > I'm not sure if this will help, but try nesting your functions the other way > so the RegEx gets applied before the HTMLCodeFormat, or if that doesn't > work

RE: Regex Help

2003-06-05 Thread Adrian Lynch
Assuming the RegEx works, at what point have you been using HTMLCodeFormat()? -Original Message- From: Michael Tangorre [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 13:13 To: CF-Talk Subject: Re: Regex Help sorry that the code got all scrunched together.. let me try posting the code

regex help needed

2003-06-03 Thread Michael Tangorre
Can someone assist me in writing the following regex... I have a string, varies in length and I need to pull out of the string all the characters between: <%--- and ---%> An example of what this string might look like is: "dllCall1<%---session|errorTrap|DetailNumeric---%>EndDLLCall" I need to

Re: regex help

2003-06-16 Thread Michael T. Tangorre
in1 should be testNum, I typed it in wrong... - Original Message - From: "Michael T. Tangorre" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 1:44 PM Subject: regex help > I am trying to determine if an integer beg

RE: regex help

2003-06-16 Thread Marlon Moyer
^332 ---> look for a string with 332 at the beginning ([0-9]*) Look for all remaining digits after that. Marlon -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 12:44 PM To: CF-Talk Subject: regex help I am trying to determine

RE: regex help

2003-06-16 Thread Marlon Moyer
ubject: Re: regex help in1 should be testNum, I typed it in wrong... - Original Message - From: "Michael T. Tangorre" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 1:44 PM Subject: regex help > I am trying to determine

Re: regex help

2003-06-16 Thread Michael T. Tangorre
Thank you for the help, explanation and link. I will check that out for sure. Mike - Original Message - From: "Marlon Moyer" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 1:55 PM Subject: RE: regex help > Mich

RE: regex help

2003-06-16 Thread Greg McDaniel
Too bad it does not install on W2K. :`( -Original Message- From: Marlon Moyer [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 12:55 PM To: CF-Talk Subject: RE: regex help Michael, I also use this program to help test regex's. It's quicker than using cf most of the t

RE: regex help

2003-06-16 Thread Marlon Moyer
I've had it running on win2k before. You have to run it in the win95 compatibility mode. Marlon -Original Message- From: Greg McDaniel [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 1:10 PM To: CF-Talk Subject: RE: regex help Too bad it does not install o

Re: regex help

2003-06-16 Thread Michael T. Tangorre
I just noticed that as well. :-( - Original Message - From: "Greg McDaniel" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 2:10 PM Subject: RE: regex help > Too bad it does not install on W2K. > :`( > &g

RE: regex help

2003-06-16 Thread Ben Doom
al Message- : From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] : Sent: Monday, June 16, 2003 1:44 PM : To: CF-Talk : Subject: regex help : : : I am trying to determine if an integer begins with 332. : : The number varies in length from 4 to 9 digits in length. If 332 : begins the number I would li

quick regex help

2003-06-25 Thread Ryan Roskilly
Here is a string I need to change. I need to replace "&Oby=OrderID&Stype=Asc" where "OrderID" could be anything so I need a wildcard in there. And same with with Stype which could be "Asc" or "Desc" so I also need a wildcard in there. So something like this TIA Ryan ~~~

Re: RegEx Help

2002-07-10 Thread Michael Dinowitz
s and only contains numbers or a period. Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com - Original Message - From: "Dave Carabetta" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 11:35 AM Subject:

RE: RegEx Help

2002-07-10 Thread Ben Doom
: '^(+-)? *[0-9.]+$' This accepts multiple decimal points. I try to stick with one per number. :-) I would use something more like: '^[[:space:]]*(+-)?[[:space:]]*[0-9]+(\.[0-9]+)?[[:space:]]*$' I'm not sure about the [[:space:]]'s -- you might want to just allow spaces and tabs rather than vt

RE: regex help

2003-12-11 Thread Pascal Peters
rereplace(mystring, "(\ \par)([^[:space:]])", "\1 \2", "all") -Original Message- From: Deanna Schneider [mailto:[EMAIL PROTECTED] Sent: donderdag 11 december 2003 15:25 To: CF-Talk Subject: regex help Hi All, I'm trying to write a regex that does the

Re: regex help

2003-12-11 Thread Jerry Johnson
Trying to parse RTF files, eh? I think the \ character needs to be escaped. rereplace(mystring, "\\par([[::alnum::]]+)", "\par \1", "all") Not sure, though. Jerry Johnson >>> [EMAIL PROTECTED] 12/11/03 09:25AM >>> Hi All, I'm trying to write a regex that does the following: Looks for any insta

RE: regex help

2003-12-11 Thread Pascal Peters
due to Outlook, this doesn't look right. It should be : "(\\par)([^[:space:]])" -Original Message- From: Pascal Peters Sent: donderdag 11 december 2003 15:31 To: CF-Talk Subject: RE: regex help rereplace(mystring, "(\ \par)([^[:space:]])", "\1 \2"

Re: regex help

2003-12-11 Thread Deanna Schneider
is still followed by a space so it gets read as a \par and still shows the next word. - Original Message - From: "Pascal Peters" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, December 11, 2003 8:31 AM Subject: RE: regex help >

Re: regex help

2003-12-11 Thread Deanna Schneider
" <[EMAIL PROTECTED]> Sent: Thursday, December 11, 2003 8:41 AM Subject: RE: regex help > due to Outlook, this doesn't look right. It should be : > "(\\par)([^[:space:]])" > -Original Message- > From: Pascal Peters > Sent: donderdag 11 december 2003 15:

Re: regex help

2003-12-11 Thread Ben Doom
- Original Message - > From: "Pascal Peters" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, December 11, 2003 8:41 AM > Subject: RE: regex help > >  > due to Outlook, this doesn't look right. It should be : &g

RE: regex help

2003-12-11 Thread Pascal Peters
On MX only: rereplace(mystring, "(\\par)(?!\s)", "\1 ", "all") On CF5, run it twice. -Original Message- From: Deanna Schneider [mailto:[EMAIL PROTECTED] Sent: donderdag 11 december 2003 15:58 To: CF-Talk Subject: Re: regex help Hm...this works sort of, b

Re: Regex Help

2004-01-05 Thread peter . tilbrook
  06/01/2004 15:18     Subject:  Regex Help   Please respond to   

Re: Regex Help

2004-01-06 Thread Ben Doom
With regular expressions, it tends to much, much harder to say "do this when a condition is false" than "do this when a condition is true". One option that would at least fix the problem with the scripts (though not the textareas or the PRE blocks) would be to replace [[:space:]] with a class o

RE: Regex Help

2004-01-06 Thread Ryan Edgar
. The client has strict bandwidth utilisation rules, so anything I can do to drop the page size is important. Thanks for your help. Ryan -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Wednesday, 7 January 2004 2:24 AM To: CF-Talk Subject: Re: Regex Help With re

Re: Regex Help

2004-01-06 Thread Ben Doom
size is important. > > Thanks for your help. > > Ryan > > -Original Message- > From: Ben Doom [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 7 January 2004 2:24 AM > To: CF-Talk > Subject: Re: Regex Help > > With regular expressions, it tends to much

Re: Regex Help

2004-01-06 Thread Jochem van Dieten
Ben Doom wrote: > Might I suggest wrapping chunks of code that produce no output (ie > application.cfm, onrequestend.cfm, CFQUERY's, etc) in CFSILENT tags? In addition, just before the tag (or the tag), include a cfcontent with the reset attribute enabled. That will reset the output buffer a

RE: Regex Help

2004-01-20 Thread Bryan F. Hogan
^(\w+([\.-]?\w+)[EMAIL PROTECTED]([\.-]?\w+)*(\.\w{2,3})+)?$ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Regex Help

2004-01-20 Thread Won Lee
At 11:10 AM 1/20/2004 -0400, you wrote: >Hey All, > >I'm Looking for  Regex to validate that an email has an @ symbol and >that there is no invalid character's > >Thanks, > >Trevor Holm-Laursen Depending on what version of CF, I would recommend you go to cflib.org. The site is down right now thoug

Re: Regex Help

2004-01-20 Thread Josh
check the exchange or cflib when it is back up. there are several tags/udfs that do this. HTH, Josh --- Exciteworks -- expert hosting for less! http://exciteworks.com reseller plans available Trevor Holm-Laursen wrote: > Hey All, > > I'm Looking for  Regex to validate that an email has an @

Re: Regex Help

2004-01-20 Thread Ubqtous
Trevor, On 1/20/2004 at 10:10, you wrote: THL> I'm Looking for  Regex to validate that an email has an @ symbol and THL> that there is no invalid character's This has worked well for me: function iswellformedemail(email){ if(refindnocase("^['_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL PROTECTED](\.

Re: Regex Help?

2004-01-28 Thread Ben Doom
Actually, you're getting pretty close. Assuming the "b0" bit is static "\{\\b0 \{\\\*\\bkmkstart bookmark_name\}" Untested, YMMV. However, this doesn't use any of the magic of regex.  In other words, replace() will be faster on this than rereplace().  If "bookmark_name" or "b0" was variab

RE: Regex Help?

2004-01-28 Thread Shawn Grover
Solved.  The regex I'm using now is \{\\b0 \{\\\*\\bkmkstart bookmark_name\} Guess I was close. Thanks though. Shawn -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 3:33 PM To: CF-Talk Subject: Regex Help? I have routine

RE: REGEX help

2002-06-03 Thread Matthew Walker
y, 4 June 2002 10:25 a.m. > To: CF-Talk > Subject: REGEX help > > > Someday I'll figure this out: > > I need to replace all characters from to the beginning of the > string, inclusive. How do I do it? > > I tried: > > ","")> > &g

RE: REGEX help

2002-06-03 Thread Ian Lurie
Ah. I tried that before as *. - switching the two characters did the trick. Thanks! Any good sites/books out there about RegEx? -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 3:44 PM To: CF-Talk Subject: RE: REGEX help You can'

RE: Regex help

2002-07-05 Thread David Siew
Hi Rich, Many thanks!! Worked like a charm! Cheers David -Original Message- From: Rich Wild [mailto:[EMAIL PROTECTED]] Sent: 05 July 2002 16:50 To: CF-Talk Subject: RE: Regex help try this (watch out for e-mail wrapping): This is some test text. I just want the http

RE: REgex help

2002-07-05 Thread Ben Johnson
> How would I write a expression to replace $2,345.00 with 2345 Here's one way to do it: That _should_ work. :) Ben Johnson __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetp

Re: REgex help

2002-07-05 Thread S . Isaac Dealey
> How would I write a expression to replace $2,345.00 with > 2345 REReplace(listfirst(mystring,"."),"[^[:digit:]]","","ALL") will eliminate decimal places and strip all non-numeric characters from a string... Isaac www.turnkey.to 954-776-0046 __

RE: REgex help

2002-07-05 Thread Ken Beard
there's a great regex tutorial on house of fusion. ken -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 2:35 PM To: CF-Talk Subject: Re: REgex help > How would I write a expression to replace $2,345.00 with > 2345 REReplac

SOT: Regex Help

2001-09-12 Thread Tony Schreiber
I get these text files that I process with CFHTTP (that part works very well for now), but occassionally, the files are messed up, in that they have some quote marks within the text qualified quote marks. Ug. Like this: "column 1","column 2 is ok","column has some "nickname" in it","ug" Which C

RE: Regex Help

2001-09-12 Thread Rich Wild
Try this: (although I haven't tested it properly) #this# > -Original Message- > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > Sent: 12 September 2001 15:27 > To: CF-Talk > Subject: SOT: Regex Help > > > I get these text files that I process wi

RE: Regex Help

2001-09-12 Thread Raymond Camden
"My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 12, 2001 10:27 AM > To: CF-Talk > Subject: SOT: Regex Help > > > I get these text files that I

Re: RegEx Help

2001-12-13 Thread Jochem van Dieten
Bernd VanSkiver wrote: > Got a Regular Expression problem that I can't figure out how to solve. > Below are two possible strings that could be send to my replace function. > The order of the atributes could be in any order and the domain name and > file name will also be different in each case. >

Re: RegEx Help

2001-12-13 Thread Don Vawter
ouple of complications: what about https:// What happens if they reverse src and alt or add extra spaces. - Original Message - From: "Bernd VanSkiver" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, December 13, 2001 3:21 PM Subject: R

RE: RegEx Help

2001-12-13 Thread Bryan Love
December 13, 2001 2:21 PM To: CF-Talk Subject: RegEx Help Got a Regular Expression problem that I can't figure out how to solve. Below are two possible strings that could be send to my replace function. The order of the atributes could be in any order and the domain name and file name will

More RegEx Help

2001-07-27 Thread John Barleycorn
I seem to be having a problem searching for a space using RegEx. This is what i'm using: bad chars found but it doesn't find any of the chars i'm looking for if i include "[ ]". If i remove that part, it finds what i'm looking for. Does anyone know why this doesn't work? Thanks for the

Re: Regex Help

2002-01-18 Thread Jochem van Dieten
Troy Simpson wrote: > I want to find all items in a list that begin with an "I" and followed > by digits only. > Is there a global options in REFindNoCase function so that I can run it > once and then loop throught the pos and len arrays? > > > > #ArrayLen( x.pos )# -- This should return 4, >

RE: Regex help

2004-03-22 Thread Barney Boisvert
Probably easier to use listToArray(text, chr(10)) and then you can iterate over the array (each element containing one line). Cheers, barneyb > -Original Message- > From: Ray Bujarski [mailto:[EMAIL PROTECTED] > Sent: Monday, March 22, 2004 10:56 AM > To: CF-Talk > Subj

  1   2   3   4   >