And some times with more tags in same string
Which I need to convert in to thi: rofl rofl rofl rofl ====== Debian ====== rofl rofl rofl rofl
I have the following so far:
puts = "Enter path to input file"
inputFile = gets.chomp
File.open(inputeFile).each_line{
|s| checkString(S)
}
def checkString(argument)
if(argument =~ /.*<.*>.*<.*>.*/)
replaceString(argument)
else
return argument
end
end
def replaceString(argument)
end
Do people have any ide ?

New Topic/Question
Reply



MultiQuote



|