Hi guys!
I have text file with lines:
Good text - something
100 $ unnecessary text
Good text - something
Good text - something
Good text - something
080 $ unnecessary text
I want remove all line starting with:
3 digits + space + $ sign + any text.
I try:
StringRegExpReplace($sTextToReplace, '([0-9]{3})[:space:]\x{24}', "")
StringRegExpReplace($sTextToReplace, '(?-i[0-9]{3}[:space:]\x{24}(?s)', "")
Work great with:
StringRegExpReplace($sTextToReplace,"\d{3}\s\$.+", "")
Question Solved.