Code: Select all
This isn't a string "this is a string" This also isn't a string "More string" This isn't a string
Code: Select all
[color=blue][u]This isn't a string [/u][/color]"this is a string"[color=orange][u] This also isn't a string [/u][/color]"More string"[color=blue][u] This isn't a string[/u][/color]
Code: Select all
/"[^"]*"Code: Select all
This isn't a string [color=blue][u]"this is a string"[/u][/color] This also isn't a string [color=orange][u]"More string"[/u][/color] This isn't a string
This is where I've been testing my regexes: http://regexpal.com/
Also this regex selects everything in around a quote:
Code: Select all
[^"]+Code: Select all
[color=blue][u]This isn't a string [/u][/color]"[color=orange][u]this is a string[/u][/color]"[color=blue][u] This also isn't a string [/u][/color]"[color=orange][u]More string[/u][/color]"[color=blue][u] This isn't a string[/u][/color]I hope I made myself as clear as I could, and have helped you understand my problem.
Thanks.