Hi All,
I have this regex pattern to find text in quotation marks -'/named([\s]|[\r\n])"([^"]+)"/i'
the strings I am looking for always have 'named ' before the "name" part. This works for most of the file I search through. However, sometimes the file I get has a line break between named and "name" and sometimes it has a line break and a tab between them.
i.e
named "name 1" -- Works
named
"name 2" -- Doesn't work
named
[tab]"name 3" -- Doesn't work
Can anyone tell me what I am doing wrong?



Reply With Quote
I've spent the better of 3 days trying to get my head around this

Bookmarks