Mecrazycoder Posted November 17, 2010 Share Posted November 17, 2010 Please anyone tel me regex for retrieving edyditye.default from the line "17-11-2010 15:03 <DIR> edyditye.default". Thanks in advance [size="4"][font="Arial Narrow"][font="Garamond"]Attitude is a little thing that makes a big difference[/font][/font][/size][indent][/indent] Link to comment Share on other sites More sharing options...
Varian Posted November 17, 2010 Share Posted November 17, 2010 Here is one way$Text = "17-11-2010 15:03 <DIR> edyditye.default" $Text = StringRegExpReplace($Text, "(?i).*<DIR> ", "") Link to comment Share on other sites More sharing options...
MrMitchell Posted November 17, 2010 Share Posted November 17, 2010 Please anyone tel me regex for retrieving edyditye.default from the line "17-11-2010 15:03 <DIR> edyditye.default". Thanks in advanceCan you be more specific? If you already know you need "edyditye.default" from the line, why do you need a RegEx? For instance, are you maybe trying to find the "edyditye.default" then find its corresponding date and time? Know what I mean? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now