Regex: Filter out text before last occurrence
Posted
by StreamT
on Stack Overflow
See other posts from Stack Overflow
or by StreamT
Published on 2010-05-12T17:01:55Z
Indexed on
2010/05/12
17:04 UTC
Read the original article
Hit count: 443
regex
TEXT: R:\Everybody\OlegB\DiskCleaner\1\NewsFeed\Regional\Bray People_2010-04-14_v3.zip
REGEX: (?<titleid>.*)_(?<issuedate>(19|20)[0-9]{2}[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01]))_v(?<layoutver>[0-9]*)
I need apply REGEX to the following part of TEXT:
Bray People_2010-04-14_v3.zip
How can I filter out all text before last occurrence of slash and apply expression to the reminded part.
© Stack Overflow or respective owner