regex - Regular expression, get the rest of the text aswell -


i have text file, regular expression looks in file , gets things want. write new information new file, not written new file! file regex reads looks this:

"this text, contains of 53 or words file. number. 80 better number. can write more words enough. very "

what written new text file is:

"this text, contains of 53 or words file. number. 80 better number. can write more words"

i want written. ideas?

without regex using, it's impossible say.

i hazard guess though, need stick .*$ on end of capture group, in order grab rest of text on line.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -