Will Regexp Work With Text more then one word

H i there,

I have documents that i want to index and get some dynamic phrases back.
At first i tired indexing each word and link it to doc id Node, then i tried getting thous words using regex and it worked.

Now i want is to search phrases using regex on line data, but some how it is not working when there more then one word.

Need to confirm that can we use regex in querying paragraphs or lines.