In the following example string:
$cd = "..folderfile.xml"
to match everything after the last slash I use:
[^\]+$
or to match everything from a sequence of characters and ignore the final quote:
(file.[^"]*)
How would I combine these to match everything from the last slash to the end of the line ignoring the final quote?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…