We have some simple legacy table codes in a database:
Eg:
[TABLE="class: MsoNormalTable, width: 100%"]
Where the pararms inbetween the two " quotes can be random.
We need someone to make a query/script to change
[TABLE="something in here"]
to simply
[TABLE]
Thankyou
Hello Sir,
I'm interested in this job. I'm available to do this task right now.
Looking forward to hear from You.
Thanks,
NOTE:- PLEASE DON'T AWARD ME BEFORE DISCUSSION
Just do this:
sed 's/\(\[TABLE.*\".*\"\]\)/\[TABLE\]/' /some/infile >> /some/outfile
p.s. it's just regular expression. You can use it in any lang e.g. perl/php