Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-19-2004, 08:02 AM   #1
mysandstorm
Registered User
 
Join Date: Sep 2003
Location: west of Oakland
Posts: 23
:mad fucking Regular expresions question

Ok I am working in macromedia and I am using find and replace...
I need to find everything that starts with <BR> and ends with </A></FONT>
something like:

<BR>*</A></FONT>

so it should find matches like:
<BR>test word</A></FONT>
<BR>longer test word</A></FONT>
<BR>very long test word</A></FONT>

Can somebody show me the correct search querry?
Thanks
__________________
Best Conversion:
www.extremepaychecks.com
mysandstorm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2004, 08:06 AM   #2
mysandstorm
Registered User
 
Join Date: Sep 2003
Location: west of Oakland
Posts: 23
Ok I am working in macromedia and I am using find and replace...
I need to find everything that starts with WORD1
and ends with WORD2
something like:


word1*word2

so it should find matches like:

WORD1 test word WORD2

WORD1 longer test word WORD2

WORD1 very long test word WORD2

Can somebody show me the correct search querry?
Thanks
__________________
Best Conversion:
www.extremepaychecks.com
mysandstorm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2004, 08:13 AM   #3
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
something like this might work:

find: word1(.*)word2
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2004, 08:14 AM   #4
mysandstorm
Registered User
 
Join Date: Sep 2003
Location: west of Oakland
Posts: 23
hey guys the firs pos was a mistake but check 2nd and please help me I am hitting my hed with this for last 2 hours...
__________________
Best Conversion:
www.extremepaychecks.com
mysandstorm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2004, 08:14 AM   #5
gleb
Confirmed User
 
Join Date: Nov 2002
Location: NY
Posts: 311
maybe

word1.*?word2
gleb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2004, 08:15 AM   #6
mysandstorm
Registered User
 
Join Date: Sep 2003
Location: west of Oakland
Posts: 23
thanks gleb that was the boolseye!!!!
__________________
Best Conversion:
www.extremepaychecks.com
mysandstorm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2004, 08:16 AM   #7
mysandstorm
Registered User
 
Join Date: Sep 2003
Location: west of Oakland
Posts: 23
wow psili that was a boolseye also!!!
Thanks guys...
__________________
Best Conversion:
www.extremepaychecks.com
mysandstorm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2004, 08:18 AM   #8
mysandstorm
Registered User
 
Join Date: Sep 2003
Location: west of Oakland
Posts: 23
not boolseye but bullseye ;)
__________________
Best Conversion:
www.extremepaychecks.com
mysandstorm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2004, 08:30 AM   #9
Stramm
Confirmed User
 
Join Date: Jan 2003
Location: NL
Posts: 342
word1[A-Za-z0-9[:space:][:punct:]]*word2

would look for the first occurance of word 1 and the last occurance of word2.. not really what you need I guess

word1[A-Za-z0-9[:space:][:punct:]]{1,30}word2

would look for word1 and word2 and up to 30 chars between them

however, if the 30 chars between contain another occurance of word1, word2 they won't get detected
Stramm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-19-2004, 09:09 AM   #10
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
I dont know about macromedia..

But recently, I had to do something with patterns and expressions in perl.

http://iis1.cps.unizar.es/Oreilly/pe...rn/ch07_03.htm

I know it is not macromedia but prehaps it is formated similar.

If this is of no use to you, then sorry
__________________
7
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.