I have the following line:
<?php echo $this->__("mytext");?>somesometext")moretext
and I need a regular expression to grab 'mytext'. The best I could come up with is:
/\$this->__\([\'"](.*)[\'"]\)/
but in this case it returns:
mytext");?>somesometext
Can anyone get this to work?