Jump to content

[SOLVED] how to get all TEXT between the $ and newline character ?


2levelsabove

Recommended Posts

From regular-expressions.info:

 

$ Matches at the end of the string the regex pattern is applied to. Matches a position rather than a character. Most regex flavors have an option to make the dollar match before line breaks (i.e. at the end of a line in a file) as well. Also matches before the very last line break if the string ends with a line break.

 

/m modifier Caret and dollar match after and before newlines.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.