June 28th, 2011, 06:10 AM
I need ur help with Regular Expression syntax..
I need to trap the text inside the third inverted commas.
This is my desired output:
('EN', 'select_country', 'Select country'),
('EN', 'select_state', 'Select state'),
('EN', 'text_welcome', ''),
('EN', 'sitemap_clear_cache_info', 'If products, categories and etc... '),
If products, categories and etc...
explode() would be better for this task, since your patterns aren't variable.
HEY! YOU! Read the New User Guide and Forum Rules
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin
"The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002
Think we're being rude? Maybe you asked a bad question
or you're a Help Vampire.
Trying to argue intelligently? Please read this.