Find Quoted text over a line break
Posted: Sat Jan 29, 2011 12:18 am
Hi,
I'm a real noob when it comes to regex's. I've been researching this for 3 days now and have hit a wall.
I have a regex to find all of the following line:
named "name 1"
named "name 2"
etc etc.
however in the file I get sometimes the names will appear like so:
named "name 1"
named "name 2"
named
"name 3"
named
[tab] "name 4"
the regex I have created is which will find name 1 and name 2 but never 3 or 4.
Can anyone help me/tell me what I'm doing wrong?
~ Rob
I'm a real noob when it comes to regex's. I've been researching this for 3 days now and have hit a wall.
I have a regex to find all of the following line:
named "name 1"
named "name 2"
etc etc.
however in the file I get sometimes the names will appear like so:
named "name 1"
named "name 2"
named
"name 3"
named
[tab] "name 4"
the regex I have created is
Code: Select all
'/named([\s]|[\r\n])"([^"]+)"/i'Can anyone help me/tell me what I'm doing wrong?
~ Rob