Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exracting Date from string...
#8
i am a little bit rusty, when it comes to quickly writing code with regex and findrx.
please guide me into the right direction. Confusedhock:

i have links with different hosts and need to wrap bbcode around found links from defined hosts.

like:
Code:
Copy      Help
http://aaaaaaaa.com/files/389656480/BTh1.rar
http://aaaaaaaa.com/files/389656484/BTh2.rar
http://www.bbbbbbbbbbbbbb.com/1910306847/BTh1.rar
http://www.bbbbbbbbbbbbbb.com/1910306858/BTh2.rar
http://ccccccccccccc.com/files/jv9pb90bh
http://ccccccccccccc.com/files/jv934rsxb


result should be:
Code:
Copy      Help
[box title=aaaaaaaa class=tborder]
http://aaaaaaaa.com/files/389656480/BTh1.rar
http://aaaaaaaa.com/files/389656484/BTh2.rar
[/box]
[box title=bbbbbbbbbbbbbb class=tborder]
http://www.bbbbbbbbbbbbbb.com/1910306847/BTh1.rar
http://www.bbbbbbbbbbbbbb.com/1910306858/BTh2.rar
[/box]
[box title=ccccccccccccc class=tborder]
http://ccccccccccccc.com/files/jv9pb90bh
http://ccccccccccccc.com/files/jv934rsxb
[/box]

thanks.
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)