I'm a cold fusion programmer, so what am I doing here? No one over at the cf forum has answered my important regex question.. As matter of fact, I learned what I know of regex from php sites and just adapted to CF...
Here's what and how I want to replace (I don't need the replace functions, I just need to know what regex code to use):
Replace:
That's easy, done it already but the problem is:
If the post is like...
it comes out:
Any ideas?
Oh if you guys would like to the cf replace function so you can optimumly help:
Tony Did I help?
Vote!
Here's what and how I want to replace (I don't need the replace functions, I just need to know what regex code to use):
Replace:
Code:
[b](*1)[/b][code] with [code]<b>\1</b>
That's easy, done it already but the problem is:
If the post is like...
Code:
[b]test[/b] [b]it[/b]
it comes out:
Code:
test[/b] [b]it
Any ideas?
Oh if you guys would like to the cf replace function so you can optimumly help:
Code:
#REReplaceNoCase(string,"RegEx_Code_Here","ReplaceTextHere_CanUse\1\2etc","ALL")#
Tony Did I help?
Vote!